_HADES_CLASS_DESCRIPTION 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. If the start time reconstruction was done starting from a TOFINO track with multiplicity>1 then the Flag will be 10 for lepton ID, 20 for pi- ID- Anyhow the original tof can be retrieved direct HPidHitData::getTof(). To setup the constructor call HPidTofRec(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 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 startrk : catStartHit will be filled from RK startspline: catStartHit will be filled from SPLINE 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 startrk ON startspline OFF 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() | |
HPidTofRec(const Text_t* name, const Text_t* title, const Char_t* select = "", const Char_t* track = "") | |
virtual | ~HPidTofRec() |
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 | 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() |
virtual void | TObject::SetDrawOption(Option_t* option = "")MENU |
static void | TObject::SetDtorOnly(void* obj) |
void | HTask::setManual() |
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 | setQualityRichParams(Float_t RingPatMat, Float_t RingPadNr, Float_t Centroid, Float_t RingverageCharge) |
void | setReset(Bool_t reset = kTRUE) |
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 | isRealTrack(HPidTrackCand*) |
void | TObject::MakeZombie() |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
Bool_t | bChiCutInner | Chi2> -1 cut for inner MDC segment |
Bool_t | bChiCutOuter | Chi2> -1 cut for outer MDC segment |
Bool_t | bFillNTuple | flag to fill debug ntuples |
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 | bMinusMode | flag for MINUS mode (pi- ID) |
Bool_t | bPidParam | get rich params from pid param containers |
Bool_t | bReset | ! flag to reset HPidTrackCand before running (needed to rerun the task on the data) |
Bool_t | bRichMode | flag for RICH mode (lepton ID) |
Bool_t | bSetStartHit | flag to set HStartHit with reconstructed TOF (default kFALSE) |
Bool_t | bSkip | Skip event if start is not reconstructed |
Bool_t | bTrackAlg[10] | Switch ON Tracking algorythms |
Bool_t | HReconstructor::fActive | Active flag |
TList* | HReconstructor::fHistograms | List of histograms generated by this reconstructor. |
Bool_t | HTask::fIsTimed | timer flag |
TString | TNamed::fName | object identifier |
TObjArray | HReconstructor::fOutputs | |
Float_t | fRichQparams[4] | Rich quality parameters (RingPatMat, RingPadNr, Centroid, RingAmplitude) |
TStopwatch | HReconstructor::fTimer | Task timer |
TString | TNamed::fTitle | object title |
TNtuple* | hit | Ntuple for debug |
Bool_t | HTask::isConnected | |
Bool_t | isEmbedding | = kTRUE if we are running embedding |
Bool_t | HTask::isInitialised | |
HIterator* | iterTrackCand | iterator on HPidTrackCand |
Bool_t | HTask::manual | |
Short_t | nCommonFlag | flag for common reconstruction |
Short_t | nMdcSeg[6] | Number of MDC modules for each sectors; |
Short_t | nStartAlg | flag for filling HStartHit |
HTask* | HTask::owner | |
HCategory* | pShowerHitTofCat | pointer to showerhittof category |
HLinearCategory* | pStartHitCat | pointer to start hit category |
HMatrixCategory* | pTofinoCalCat | pointer to tofinocal category |
HCategory* | pTrackCand | HPidTrackCand category |
Int_t | pidalg | algorithm number |
HPidAlgStandCutsPar* | richParam | new source of RICH quality parameters |
TNtuple* | richcorr | Ntuple for rich correlation |
TString | sDir | Ntuple output directory |
TString | sFile | Ntuple output file |
Constructor
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
checks by the TOF measurement of the HPidTrackCand object is related to a real track or embedded track. Return kTRUE if the track is real.
Rich quality parameters: {RingPatMat,RingPadNr,Centroid,RingAverageCharge}