_HADES_CLASS_DESCRIPTION HTofRec In case of experiments where there exists no start hit and the TOF of the particles has to be recalculated, the tof variable(getTof()) of all classes derived from HBaseTrack and HKickTrack will be overwritten by a this class which recalculates the tof. To mark those objects as changed one can ask with getFlag(). The result should be 1 or 2 depending on the method which has been used and 0 if it has not been changed. Anyhow the original tof can be retrieved direct from the HTofHit referenced by tofindex (getTofHitInd()). The flag itself is decoded in the tofindex, but will be hidden from the user by the getTofHitInd() function. To setup the constructor call HTofRec(Text_t *name,Text_t *title, const Char_t *select, const Char_t *track), where select contains the key words for configuration (just "," separated list) nospline : switch of spline nohires : switch of high resolution kickplane nolowres : switch of low resolution kickplane nolowresB : switch of low resolution kickplaneB nork : switch of Runge Kutta tracking norich : switch of rich mode debug : switch on debug 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 simulation : swith on simulation mode if common mode is switched one, "track" is the chosen tracking algorythm for globat tof reconstruction: spline : spline lowres : low resolution kickplaneB hires : high resolution kickplane rk : Runge Kutta tracking defaults (empty string) are: spline on low resolution kickplane ON low resolution kickplaneB ON high resolution kickplane ON RungeKutta ON fRichMode ON field correction 1.0 debug mode OFF ntuple OFF chi2 inner cut OFF chi2 outer cut OFF simulation mode OFF skip event OFF common OFF Usage: TofRec *tofrec = new HTofRec("tofreconstructor","tofreconstructor",option,track); tofrec->setRichParams(0.674189,2.04904,0.,1.82966,5.); tofrec->setQualityRichParams(200.,4.,2.8,5); HTaskSet * tofrectask = new HTaskSet("",""); tofrectask->connect(tofrec); masterTaskSet->add(tofrec);
HTofRec() | |
HTofRec(const Text_t* name, const Text_t* title, const Char_t* select = "", const Char_t* track = "") | |
virtual | ~HTofRec() |
void | TObject::AbstractMethod(const char* method) const |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | HReconstructor::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
virtual void | TNamed::Clear(Option_t* option = "") |
virtual TObject* | TNamed::Clone(const char* newname = "") const |
virtual Int_t | TNamed::Compare(const TObject* obj) const |
virtual Bool_t | HReconstructor::connectTask(HTask* task, Int_t n = 0) |
virtual void | TNamed::Copy(TObject& named) const |
virtual void | TObject::Delete(Option_t* option = "")MENU |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() constMENU |
virtual TObject* | TObject::DrawClone(Option_t* option = "") constMENU |
virtual void | TObject::Dump() constMENU |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual Int_t | execute() |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::Fatal(const char* method, const char* msgfmt) const |
virtual void | TNamed::FillBuffer(char*& buffer) |
virtual Bool_t | finalize() |
virtual TObject* | TObject::FindObject(const char* name) const |
virtual TObject* | TObject::FindObject(const TObject* obj) const |
virtual HTask* | HReconstructor::getComposite() |
virtual void | HReconstructor::getConnections() |
virtual Option_t* | TObject::GetDrawOption() const |
static Long_t | TObject::GetDtorOnly() |
virtual const char* | TObject::GetIconName() const |
virtual const char* | TNamed::GetName() const |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual HTask* | HTask::getOwner() |
TObjArray | HReconstructor::getTable() |
virtual HTask* | HReconstructor::getTask(const Char_t* name) |
virtual const char* | TNamed::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TNamed::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual Bool_t | init() |
virtual void | TObject::Inspect() constMENU |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | HReconstructor::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TNamed::IsSortable() const |
virtual void | HReconstructor::isTimed(Bool_t flag = kTRUE) |
Bool_t | TObject::IsZombie() const |
virtual void | TNamed::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual HTask* | HReconstructor::next(Int_t& errCode) |
virtual Bool_t | TObject::Notify() |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::operator delete[](void* ptr, void* vp) |
void* | TObject::operator new(size_t sz) |
void* | TObject::operator new(size_t sz, void* vp) |
void* | TObject::operator new[](size_t sz) |
void* | TObject::operator new[](size_t sz, void* vp) |
HTask& | HTask::operator=(const HTask&) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
virtual void | TNamed::Print(Option_t* option = "") const |
virtual void | HReconstructor::printTimer() |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
virtual Bool_t | HTask::reinit() |
void | TObject::ResetBit(UInt_t f) |
virtual void | HReconstructor::resetTimer() |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU |
virtual void | TObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "") |
void | HReconstructor::setActive(Bool_t state)MENU |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual Bool_t | HTask::setConnections() |
void | setDebug(Bool_t d) |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | setFillNTuple(Bool_t fill) |
void | setKickHiSec(Int_t* kick123_sec) |
void | setKickLowSec(Int_t* kick_sec) |
void | HTask::setManual() |
void | setMinusMode(Bool_t m) |
virtual void | TNamed::SetName(const char* name)MENU |
virtual void | TNamed::SetNameTitle(const char* name, const char* title) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | setOutputDir(const Char_t* fdir) |
void | setOutputFile(const Char_t* ffile) |
virtual void | HTask::setOwner(HTask* atask) |
void | setPlusMode(Bool_t p) |
void | setQualityRichParams(Float_t RingPatMat, Float_t RingPadNr, Float_t Centroid, Float_t RingAmplitude) |
void | setRichMode(Bool_t r) |
void | setRichParams(Float_t theta0, Float_t dtheta, Float_t phi0, Float_t dphi, Float_t lambda2) |
void | setRKSec(Int_t* rk_sec) |
void | setSplineField(Float_t* spline_sec) |
void | setSplineSec(Int_t* spline_sec) |
virtual void | TNamed::SetTitle(const char* title = "")MENU |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual Int_t | TNamed::Sizeof() const |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
Bool_t | isRichCorr(HMdcSeg* mdc) |
void | TObject::MakeZombie() |
void | track_recalc(Float_t* start, Int_t* rec_ind, Int_t* flag) |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Double_t | C | light speed |
TNtuple* | after | |
Bool_t | bChiCutInner | Chi2> -1 cut for inner MDC segment |
Bool_t | bChiCutOuter | Chi2> -1 cut for outer MDC segment |
Bool_t | bIsFirst | Is first event |
TNtuple* | before | |
Int_t | common_flag | flag for common reconstruction |
Bool_t | HReconstructor::fActive | Active flag |
Bool_t | fDebugMode | flag for debug mode |
TList* | HReconstructor::fHistograms | List of histograms generated by this reconstructor. |
Bool_t | HTask::fIsTimed | timer flag |
HCategory* | fKickHiCat | Kick hires category |
Bool_t | fKickHires | KickHires mode on |
HCategory* | fKickLowBCat | kick LowresB category |
HCategory* | fKickLowCat | Kick lowres category |
Bool_t | fKickLowres | KickLowres mode on (not used) |
Bool_t | fKickLowresB | KickLowresB mode on |
HCategory* | fMdcSegCat | HMdcSeg category |
HCategory* | fMdcTrkCandCat | HMdcTrkCand category |
HCategory* | fMetaMatchCat | MetaMatch category |
Bool_t | fMinusMode | flag for MINUS mode (pi- ID) |
TString | TNamed::fName | object identifier |
TObjArray | HReconstructor::fOutputs | |
Bool_t | fPlusMode | flag for PLUS mode (not used) |
Bool_t | fRK | RungeKutta mode on |
HCategory* | fRKCat | RungeKutta category |
HCategory* | fRichCat | Rich category |
Bool_t | fRichMode | flag for RICH mode (lepton ID) |
Bool_t | fSkip | Skip event if start is not reconstructed |
Bool_t | fSpline | Spline mode on |
HCategory* | fSplineCat | Spline category |
TStopwatch | HReconstructor::fTimer | Task timer |
TString | TNamed::fTitle | object title |
HCategory* | fTofCat | Tof category |
HCategory* | fTofinoCat | Tofino category |
Bool_t | fillNTuple | flag to fill debuf ntuples |
Bool_t | isCommon | Common mode ON (time reconstructed from spline) |
Bool_t | HTask::isConnected | |
Bool_t | HTask::isInitialised | |
Bool_t | isSimulation | Simulation mode ON |
HIterator* | iterMetaMatch | iterator on HMetaMatch |
HIterator* | iterRich | iterator on HRichHit |
Int_t | kick123_sec_on[6] | Hires kicktrack sectors used for tof reconstruction |
Int_t | kick_sec_on[6] | Lowres kicktrack sectors used for tof reconstruction |
Bool_t | HTask::manual | |
Int_t | mdc_sec[6] | Numbers of MDC modules for each sectors; |
HTask* | HTask::owner | |
Float_t | rich_params[5] | Rich correlation parameters (theta0, dtheta, phi0, dphi, lambda2) |
Float_t | rich_qparams[4] | Rich quality parameters (RingPatMat, RingPadNr, Centroid, RingAmplitude) |
TNtuple* | richcorr | Ntuple for rich correlation |
Int_t | rk_sec_on[6] | Runge Kutta kicktrack sectors used for tof reconstruction |
TString | sDir | Ntuple output directory |
TString | sFile | Ntuple output file |
Float_t | spline_sec_field[6] | Spline sectors used for tof reconstruction |
Int_t | spline_sec_on[6] | Spline sectors used for tof reconstruction |
Constructor
Tof recalculator 0 - spline 1 - kickplane lowresB 2 - kickplane hires 3 - RungeKutta
Rich algular correlation parameters {theta0, dtheta, phi0, dphi, maximum chi2}
Rich quality parameters: {RingPatMat,RingPadNr,Centroid,RingAmplitude}
Flag used to switch on/off some sectors for tof reconstruction, Default {1,1,1,1,1,1}.
Correction multiplier to spline momentum Default {1,1,1,1,1,1}.
Flag used to switch on/off some sectors for tof reconstruction, Default {1,1,1,1,1,1}.
Flag used to switch on/off some sectors for tof reconstruction, Default {1,1,1,1,1,1}.
Flag used to switch on/off some sectors for tof reconstruction, Default {1,1,1,1,1,1}.