![]() |
Project
|
#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 | |
Definition at line 31 of file AlignPointControl.h.
AlignPointControl::AlignPointControl | ( | ) |
constructor
Definition at line 27 of file AlignPointControl.cxx.
|
virtual |
destructor
Definition at line 60 of file AlignPointControl.cxx.
|
protected |
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.
void AlignPointControl::init | ( | ) |
init output file and tree
Definition at line 80 of file AlignPointControl.cxx.
|
inline |
check if init went well
Definition at line 74 of file AlignPointControl.h.
|
protected |
Definition at line 161 of file AlignPointControl.cxx.
Set the number of entries to be used by TTree::AutoSave()
Definition at line 71 of file AlignPointControl.cxx.
|
inline |
choose filename
Definition at line 68 of file AlignPointControl.h.
void AlignPointControl::terminate | ( | ) |
write tree and close output file
Definition at line 126 of file AlignPointControl.cxx.
|
protected |
the output file
Definition at line 86 of file AlignPointControl.h.
|
protected |
the ROOT TTree container
Definition at line 85 of file AlignPointControl.h.
|
protected |
boolean to monitor the success of the initialization
Definition at line 87 of file AlignPointControl.h.
|
protected |
max entries in the buffer after which TTree::AutoSave() is automatically used
Definition at line 88 of file AlignPointControl.h.
|
protected |
name of the output file that will store the TTree
Definition at line 89 of file AlignPointControl.h.
|
protected |
information to be written to the output TTree
Definition at line 91 of file AlignPointControl.h.
|
protected |
title of the TTree
Definition at line 90 of file AlignPointControl.h.