Project
Loading...
Searching...
No Matches
o2::mft::AlignPointControl Class Reference

#include <AlignPointControl.h>

Classes

struct  AlignPointInfo
 

Public Member Functions

 AlignPointControl ()
 constructor
 
virtual ~AlignPointControl ()
 destructor
 
void setCyclicAutoSave (const long nEntries)
 Set the number of entries to be used by TTree::AutoSave()
 
void setOutFileName (TString fname)
 choose filename
 
void init ()
 init output file and tree
 
bool isInitOk () const
 check if init went well
 
void fill (o2::mft::AlignPointHelper *aPoint, const int iTrack=0, const bool doPrint=false)
 fill the tree from an align point
 
void terminate ()
 write tree and close output file
 

Protected Member Functions

bool setControlPoint (o2::mft::AlignPointHelper *aPoint)
 
 ClassDef (AlignPointControl, 0)
 

Protected Attributes

TTree * mControlTree
 the ROOT TTree container
 
TFile * mControlFile
 the output file
 
bool mIsSuccessfulInit
 boolean to monitor the success of the initialization
 
long mNEntriesAutoSave
 max entries in the buffer after which TTree::AutoSave() is automatically used
 
TString mOutFileName
 name of the output file that will store the TTree
 
TString mTreeTitle
 title of the TTree
 
AlignPointInfo mPointInfo
 information to be written to the output TTree
 

Detailed Description

Definition at line 31 of file AlignPointControl.h.

Constructor & Destructor Documentation

◆ AlignPointControl()

AlignPointControl::AlignPointControl ( )

constructor

Definition at line 27 of file AlignPointControl.cxx.

◆ ~AlignPointControl()

AlignPointControl::~AlignPointControl ( )
virtual

destructor

Definition at line 60 of file AlignPointControl.cxx.

Member Function Documentation

◆ ClassDef()

o2::mft::AlignPointControl::ClassDef ( AlignPointControl  ,
 
)
protected

◆ fill()

void AlignPointControl::fill ( o2::mft::AlignPointHelper aPoint,
const int  iTrack = 0,
const bool  doPrint = false 
)

fill the tree from an align point

Definition at line 137 of file AlignPointControl.cxx.

◆ init()

void AlignPointControl::init ( )

init output file and tree

Definition at line 80 of file AlignPointControl.cxx.

◆ isInitOk()

bool o2::mft::AlignPointControl::isInitOk ( ) const
inline

check if init went well

Definition at line 74 of file AlignPointControl.h.

◆ setControlPoint()

bool AlignPointControl::setControlPoint ( o2::mft::AlignPointHelper aPoint)
protected

Definition at line 161 of file AlignPointControl.cxx.

◆ setCyclicAutoSave()

void AlignPointControl::setCyclicAutoSave ( const long  nEntries)

Set the number of entries to be used by TTree::AutoSave()

Definition at line 71 of file AlignPointControl.cxx.

◆ setOutFileName()

void o2::mft::AlignPointControl::setOutFileName ( TString  fname)
inline

choose filename

Definition at line 68 of file AlignPointControl.h.

◆ terminate()

void AlignPointControl::terminate ( )

write tree and close output file

Definition at line 126 of file AlignPointControl.cxx.

Member Data Documentation

◆ mControlFile

TFile* o2::mft::AlignPointControl::mControlFile
protected

the output file

Definition at line 86 of file AlignPointControl.h.

◆ mControlTree

TTree* o2::mft::AlignPointControl::mControlTree
protected

the ROOT TTree container

Definition at line 85 of file AlignPointControl.h.

◆ mIsSuccessfulInit

bool o2::mft::AlignPointControl::mIsSuccessfulInit
protected

boolean to monitor the success of the initialization

Definition at line 87 of file AlignPointControl.h.

◆ mNEntriesAutoSave

long o2::mft::AlignPointControl::mNEntriesAutoSave
protected

max entries in the buffer after which TTree::AutoSave() is automatically used

Definition at line 88 of file AlignPointControl.h.

◆ mOutFileName

TString o2::mft::AlignPointControl::mOutFileName
protected

name of the output file that will store the TTree

Definition at line 89 of file AlignPointControl.h.

◆ mPointInfo

AlignPointInfo o2::mft::AlignPointControl::mPointInfo
protected

information to be written to the output TTree

Definition at line 91 of file AlignPointControl.h.

◆ mTreeTitle

TString o2::mft::AlignPointControl::mTreeTitle
protected

title of the TTree

Definition at line 90 of file AlignPointControl.h.


The documentation for this class was generated from the following files: