HPidTofRec
class description - source file - inheritance tree (.pdf)
public:
HPidTofRec()
HPidTofRec(Text_t* name, Text_t* title, const char* select, const char* track)
~HPidTofRec()
static TClass* Class()
virtual Int_t execute()
virtual Bool_t finalize()
virtual Bool_t init()
virtual TClass* IsA() const
virtual Bool_t reinit()
void setOutputDir(const char* fdir)
void setOutputFile(const char* ffile)
void setQualityRichParams(Float_t RingPatMat, Float_t RingPadNr, Float_t Centroid, Float_t RingverageCharge)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
Bool_t bRichMode flag for RICH mode (lepton ID)
Bool_t bMinusMode flag for MINUS mode (pi- ID)
Bool_t bFillNTuple flag to fill debug ntuples
Bool_t bTrackAlg[10] Switch ON Tracking algorythms
Bool_t bChiCutInner Chi2> -1 cut for inner MDC segment
Bool_t bChiCutOuter Chi2> -1 cut for outer MDC segment
Bool_t bSkip Skip event if start is not reconstructed
Bool_t bIsCommon Common mode ON (time reconstructed from only one algorythm)
Bool_t bIsFirst Is first event
Bool_t bIsSimulation Simulation flag (only for debug purpose)
Bool_t bPidParam get rich params from pid param containers
HCategory* pTrackCand HPidTrackCand category
HIterator* iterTrackCand iterator on HPidTrackCand
HPidAlgStandCutsPar* richParam new source of RICH quality parameters
Int_t pidalg algorithm number
Float_t fRichQparams[4] Rich quality parameters (RingPatMat, RingPadNr, Centroid, RingAmplitude)
Short_t nMdcSeg[6] Number of MDC modules for each sectors;
Short_t nCommonFlag flag for common reconstruction
TNtuple* hit Ntuple for debug
TNtuple* richcorr Ntuple for rich correlation
TString sDir Ntuple output directory
TString sFile Ntuple output file
HPidTofRec
In case of experiments where there exists no start hit and the TOF of the
particles has to be recalculated. This class will reconstruct it,
and the new value (plus the new beta and new mass2), will be written inside HPidTrackData
To mark those objects as changed one can ask to HPidTrackData::getTofRecFlag(algorythm).
The result should be 1 or 2 depending on the method which has been used, -1 if the
reconstructor failed (such as in cases when there are only positive charged tracks and no
leptons), 0 (default value) if the reconstructor did not run.
Anyhow the original tof can be retrieved direct HPidHitData::getTof().
To setup the constructor call HPidTofRec(Text_t *name,Text_t *title, const char *select, const char *track),
where "select" contains the key words for configuration (just "," separated list)
nospline : switch off spline
nohires : switch off high resolution kickplane
nolowres : switch off low resolution kickplane
nork : switch off Runge Kutta tracking
noreft : switch off Reference Trajectories tracking
norich : switch off rich mode
ntuple : switch on create,fill and write ntuple for debugging
chiin : switch on the chi2>-1 cut for inner MDC segments
chiout : switch on the chi2>-1 cut for outer MDC segments
common : use spline as reconstructor for all the trackings
skip : skip event in DST if start is not reconstructed
sim : switch on simulation mode
nopidparam : do not get rich parameters from HPidAlgStandCutsPar
if common mode is switched on, "track" is the chosen tracking algorythm for global tof reconstruction:
spline : spline
lowres : low resolution kickplane
hires : high resolution kickplane
rk : Runge Kutta tracking
reft : Reference Trajectories tracking
defaults (empty string) are:
spline ON
low resolution kickplane ON
high resolution kickplane ON
RungeKutta ON
Reference Trajectories ON
fRichMode ON
ntuple OFF
chi cut (inner MDC) mode OFF
chi cut (outer MDC) mode OFF
skip event OFF
common OFF
simulation OFF
pidparam ON
Usage:
HPidTofRec *pidtofrec = new HPidTofRec("tofreconstructor","tofreconstructor",option,track);
pidtofrec->setQualityRichParams(200.,4.,2.8,5);
HTaskSet * pidtofrectask = new HTaskSet("","");
pidtofrectask->connect(pidtofrec);
masterTaskSet->add(pidtofrec);
***************************************************************************
HPidTofRec()
Default constructor
HPidTofRec(Text_t *name,Text_t *title, const char *select, const char *track) :
HReconstructor(name,title)
Constructor
~HPidTofRec(void)
Destructor.
Bool_t init(void)
Bool_t reinit(void)
Check if parameter context corresponds to the
appropriate momentum algorithm index
If not -> return kFALSE (analysis can not be done in such case)
and print error message
Int_t execute(void)
Execute function
Bool_t finalize(void)
Inline Functions
void setQualityRichParams(Float_t RingPatMat, Float_t RingPadNr, Float_t Centroid, Float_t RingverageCharge)
void setOutputDir(const char* fdir)
void setOutputFile(const char* ffile)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
Author: Stefano Spataro (spataro@lns.infn.it)
Last update: Fri Jan 26 12:23:12 2007
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.