CbmRoot
|
Interface class to add Cbm Hits drawing (derived from PixelHit) to CbmTimesliceManager. Cannot be used alone! More...
#include <CbmTimesliceRecoTracks.h>
Public Member Functions | |
CbmTimesliceRecoTracks () | |
CbmTimesliceRecoTracks (const char *name, Int_t iVerbose=1) | |
virtual | ~CbmTimesliceRecoTracks ()=default |
CbmTimesliceRecoTracks (const CbmTimesliceRecoTracks &)=delete | |
CbmTimesliceRecoTracks & | operator= (const CbmTimesliceRecoTracks &)=delete |
void | SetVerbose (Int_t iVerbose) |
void | SwitchPdgColorTrack (bool pdg_color) |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *option) |
virtual void | SetParContainers () |
virtual void | Finish () |
void | GotoEvent (uint32_t uEventIdx) |
Load tracks from selected event in timeslice. RESERVED FOR GUI CALLS! | |
void | Reset () |
TEveTrackList * | GetTrGroup (TParticle *P) |
Protected Member Functions | |
void | HandlePixelHit (TEveTrack *eveTrack, Int_t &n, const CbmPixelHit *hit, TEveVector *pMom) |
void | HandleTrack (TEveTrack *eveTrack, Int_t &n, const CbmTrack *recoTrack) |
void | HandleStsTrack (TEveTrack *eveTrack, Int_t &n, const CbmStsTrack *stsTrack) |
Protected Attributes | |
TClonesArray * | fCbmEvents = nullptr |
TClonesArray * | fGlobalTracks = nullptr |
TClonesArray * | fMvdHits = nullptr |
TClonesArray * | fStsHits = nullptr |
TClonesArray * | fStsTracks = nullptr |
TClonesArray * | fRichRings = nullptr |
TClonesArray * | fRichHits = nullptr |
TClonesArray * | fMuchPixelHits = nullptr |
TClonesArray * | fMuchTracks = nullptr |
TClonesArray * | fTrdHits = nullptr |
TClonesArray * | fTrdTracks = nullptr |
TClonesArray * | fTofHits = nullptr |
TClonesArray * | fTofTracks = nullptr |
TEveTrackPropagator * | fTrPr = nullptr |
CbmTimesliceManager * | fEventManager = nullptr |
TObjArray * | fEveTrList = new TObjArray(16) |
uint32_t | fEventIdx = 0 |
TEveTrackList * | fTrList = nullptr |
bool | fbPdgColorTrack = false |
Private Member Functions | |
ClassDef (CbmTimesliceRecoTracks, 1) | |
Interface class to add Cbm Hits drawing (derived from PixelHit) to CbmTimesliceManager. Cannot be used alone!
Interface class to add Cbm Reco tracks drawing to CbmTimesliceManager. Cannot be used alone!
Definition at line 36 of file CbmTimesliceRecoTracks.h.
|
inline |
Default constructor
Definition at line 39 of file CbmTimesliceRecoTracks.h.
|
inline |
Standard constructor
name | Name of task |
iVerbose | Verbosity level |
Definition at line 45 of file CbmTimesliceRecoTracks.h.
|
virtualdefault |
Destructor
|
delete |
|
private |
|
virtual |
When loading a new TS, load the first event if possible
Definition at line 143 of file CbmTimesliceRecoTracks.cxx.
References fCbmEvents, and GotoEvent().
|
inlinevirtual |
Definition at line 65 of file CbmTimesliceRecoTracks.h.
TEveTrackList * CbmTimesliceRecoTracks::GetTrGroup | ( | TParticle * | P | ) |
Definition at line 276 of file CbmTimesliceRecoTracks.cxx.
References CbmTimesliceManager::Color(), fEventManager, fEveTrList, fTrList, and fTrPr.
Referenced by GotoEvent().
void CbmTimesliceRecoTracks::GotoEvent | ( | uint32_t | uEventIdx | ) |
Load tracks from selected event in timeslice. RESERVED FOR GUI CALLS!
Draw Markers of all hits participating in the track
Definition at line 150 of file CbmTimesliceRecoTracks.cxx.
References CbmTimesliceManager::Color(), fbPdgColorTrack, fCbmEvents, fEventIdx, fEventManager, fGlobalTracks, fMuchTracks, fRichHits, fRichRings, fStsTracks, fTofHits, fTofTracks, fTrdTracks, fTrList, fTrPr, CbmRichRing::GetCenterX(), CbmRichRing::GetCenterY(), CbmRichRing::GetHit(), CbmGlobalTrack::GetMuchTrackIndex(), CbmEvent::GetNofData(), CbmTrack::GetPidHypo(), CbmGlobalTrack::GetRichRingIndex(), CbmGlobalTrack::GetStsTrackIndex(), CbmGlobalTrack::GetTofHitIndex(), CbmGlobalTrack::GetTofTrackIndex(), CbmGlobalTrack::GetTrdTrackIndex(), GetTrGroup(), HandlePixelHit(), HandleStsTrack(), HandleTrack(), CbmTimesliceManager::Instance(), kGlobalTrack, and Reset().
Referenced by Exec().
|
protected |
Definition at line 75 of file CbmTimesliceRecoTracks.cxx.
References CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHit::GetZ(), and pos.
Referenced by GotoEvent(), HandleStsTrack(), and HandleTrack().
|
protected |
Definition at line 114 of file CbmTimesliceRecoTracks.cxx.
References fMvdHits, fStsHits, CbmStsTrack::GetMvdHitIndex(), CbmStsTrack::GetNofMvdHits(), CbmStsTrack::GetNofStsHits(), CbmTrack::GetParamFirst(), CbmStsTrack::GetStsHitIndex(), and HandlePixelHit().
Referenced by GotoEvent().
|
protected |
Definition at line 89 of file CbmTimesliceRecoTracks.cxx.
References fMuchPixelHits, fRichHits, fTofHits, fTrdHits, CbmTrack::GetHitIndex(), CbmTrack::GetHitType(), CbmTrack::GetNofHits(), HandlePixelHit(), kMUCHPIXELHIT, kRICHHIT, kTOFHIT, and kTRDHIT.
Referenced by GotoEvent().
|
virtual |
Definition at line 36 of file CbmTimesliceRecoTracks.cxx.
References fCbmEvents, fEventManager, fGlobalTracks, fMuchPixelHits, fMuchTracks, fMvdHits, fRichHits, fRichRings, fStsHits, fStsTracks, fTofHits, fTofTracks, fTrdHits, fTrdTracks, and CbmTimesliceManager::Instance().
|
delete |
void CbmTimesliceRecoTracks::Reset | ( | ) |
Definition at line 266 of file CbmTimesliceRecoTracks.cxx.
References fEventManager, and fEveTrList.
Referenced by GotoEvent().
|
inlinevirtual |
Definition at line 64 of file CbmTimesliceRecoTracks.h.
|
inline |
Set verbosity level. For this task and all of the subtasks.
Definition at line 54 of file CbmTimesliceRecoTracks.h.
|
inline |
switch track color: to be called by GUI element
PDG | color if true, red if false (see TimesliceRecoTracks) |
Definition at line 60 of file CbmTimesliceRecoTracks.h.
References fbPdgColorTrack.
|
protected |
Definition at line 97 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and SwitchPdgColorTrack().
|
protected |
Definition at line 79 of file CbmTimesliceRecoTracks.h.
Referenced by Exec(), GotoEvent(), and Init().
|
protected |
Definition at line 95 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent().
|
protected |
Definition at line 93 of file CbmTimesliceRecoTracks.h.
Referenced by GetTrGroup(), GotoEvent(), Init(), and Reset().
|
protected |
Definition at line 94 of file CbmTimesliceRecoTracks.h.
Referenced by GetTrGroup(), and Reset().
|
protected |
Definition at line 80 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 86 of file CbmTimesliceRecoTracks.h.
Referenced by HandleTrack(), and Init().
|
protected |
Definition at line 87 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 81 of file CbmTimesliceRecoTracks.h.
Referenced by HandleStsTrack(), and Init().
|
protected |
Definition at line 85 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), HandleTrack(), and Init().
|
protected |
Definition at line 84 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 82 of file CbmTimesliceRecoTracks.h.
Referenced by HandleStsTrack(), and Init().
|
protected |
Definition at line 83 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 90 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), HandleTrack(), and Init().
|
protected |
Definition at line 91 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 88 of file CbmTimesliceRecoTracks.h.
Referenced by HandleTrack(), and Init().
|
protected |
Definition at line 89 of file CbmTimesliceRecoTracks.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 96 of file CbmTimesliceRecoTracks.h.
Referenced by GetTrGroup(), and GotoEvent().
|
protected |
Definition at line 92 of file CbmTimesliceRecoTracks.h.
Referenced by GetTrGroup(), and GotoEvent().