CbmRoot
Loading...
Searching...
No Matches
CbmTimesliceRecoTracks Class Reference

Interface class to add Cbm Hits drawing (derived from PixelHit) to CbmTimesliceManager. Cannot be used alone! More...

#include <CbmTimesliceRecoTracks.h>

Inheritance diagram for CbmTimesliceRecoTracks:
[legend]
Collaboration diagram for CbmTimesliceRecoTracks:
[legend]

Public Member Functions

 CbmTimesliceRecoTracks ()
 
 CbmTimesliceRecoTracks (const char *name, Int_t iVerbose=1)
 
virtual ~CbmTimesliceRecoTracks ()=default
 
 CbmTimesliceRecoTracks (const CbmTimesliceRecoTracks &)=delete
 
CbmTimesliceRecoTracksoperator= (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
 
CbmTimesliceManagerfEventManager = nullptr
 
TObjArray * fEveTrList = new TObjArray(16)
 
uint32_t fEventIdx = 0
 
TEveTrackList * fTrList = nullptr
 
bool fbPdgColorTrack = false
 

Private Member Functions

 ClassDef (CbmTimesliceRecoTracks, 1)
 

Detailed Description

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!

Author
Pierre-Alain Loizeau p.-a..nosp@m.loiz.nosp@m.eau@g.nosp@m.si.d.nosp@m.e

Definition at line 36 of file CbmTimesliceRecoTracks.h.

Constructor & Destructor Documentation

◆ CbmTimesliceRecoTracks() [1/3]

CbmTimesliceRecoTracks::CbmTimesliceRecoTracks ( )
inline

Default constructor

Definition at line 39 of file CbmTimesliceRecoTracks.h.

◆ CbmTimesliceRecoTracks() [2/3]

CbmTimesliceRecoTracks::CbmTimesliceRecoTracks ( const char * name,
Int_t iVerbose = 1 )
inline

Standard constructor

Parameters
nameName of task
iVerboseVerbosity level

Definition at line 45 of file CbmTimesliceRecoTracks.h.

◆ ~CbmTimesliceRecoTracks()

virtual CbmTimesliceRecoTracks::~CbmTimesliceRecoTracks ( )
virtualdefault

Destructor

◆ CbmTimesliceRecoTracks() [3/3]

CbmTimesliceRecoTracks::CbmTimesliceRecoTracks ( const CbmTimesliceRecoTracks & )
delete

Member Function Documentation

◆ ClassDef()

CbmTimesliceRecoTracks::ClassDef ( CbmTimesliceRecoTracks ,
1  )
private

◆ Exec()

void CbmTimesliceRecoTracks::Exec ( Option_t * option)
virtual

When loading a new TS, load the first event if possible

Definition at line 143 of file CbmTimesliceRecoTracks.cxx.

References fCbmEvents, and GotoEvent().

◆ Finish()

virtual void CbmTimesliceRecoTracks::Finish ( )
inlinevirtual

Definition at line 65 of file CbmTimesliceRecoTracks.h.

◆ GetTrGroup()

TEveTrackList * CbmTimesliceRecoTracks::GetTrGroup ( TParticle * P)

Definition at line 276 of file CbmTimesliceRecoTracks.cxx.

References CbmTimesliceManager::Color(), fEventManager, fEveTrList, fTrList, and fTrPr.

Referenced by GotoEvent().

◆ GotoEvent()

◆ HandlePixelHit()

void CbmTimesliceRecoTracks::HandlePixelHit ( TEveTrack * eveTrack,
Int_t & n,
const CbmPixelHit * hit,
TEveVector * pMom = 0 )
protected

◆ HandleStsTrack()

void CbmTimesliceRecoTracks::HandleStsTrack ( TEveTrack * eveTrack,
Int_t & n,
const CbmStsTrack * stsTrack )
protected

◆ HandleTrack()

void CbmTimesliceRecoTracks::HandleTrack ( TEveTrack * eveTrack,
Int_t & n,
const CbmTrack * recoTrack )
protected

◆ Init()

◆ operator=()

CbmTimesliceRecoTracks & CbmTimesliceRecoTracks::operator= ( const CbmTimesliceRecoTracks & )
delete

◆ Reset()

void CbmTimesliceRecoTracks::Reset ( )

Definition at line 266 of file CbmTimesliceRecoTracks.cxx.

References fEventManager, and fEveTrList.

Referenced by GotoEvent().

◆ SetParContainers()

virtual void CbmTimesliceRecoTracks::SetParContainers ( )
inlinevirtual

Definition at line 64 of file CbmTimesliceRecoTracks.h.

◆ SetVerbose()

void CbmTimesliceRecoTracks::SetVerbose ( Int_t iVerbose)
inline

Set verbosity level. For this task and all of the subtasks.

Definition at line 54 of file CbmTimesliceRecoTracks.h.

◆ SwitchPdgColorTrack()

void CbmTimesliceRecoTracks::SwitchPdgColorTrack ( bool pdg_color)
inline

switch track color: to be called by GUI element

Parameters
PDGcolor if true, red if false (see TimesliceRecoTracks)

Definition at line 60 of file CbmTimesliceRecoTracks.h.

References fbPdgColorTrack.

Member Data Documentation

◆ fbPdgColorTrack

bool CbmTimesliceRecoTracks::fbPdgColorTrack = false
protected

Definition at line 97 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and SwitchPdgColorTrack().

◆ fCbmEvents

TClonesArray* CbmTimesliceRecoTracks::fCbmEvents = nullptr
protected

Definition at line 79 of file CbmTimesliceRecoTracks.h.

Referenced by Exec(), GotoEvent(), and Init().

◆ fEventIdx

uint32_t CbmTimesliceRecoTracks::fEventIdx = 0
protected

Definition at line 95 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent().

◆ fEventManager

CbmTimesliceManager* CbmTimesliceRecoTracks::fEventManager = nullptr
protected

Definition at line 93 of file CbmTimesliceRecoTracks.h.

Referenced by GetTrGroup(), GotoEvent(), Init(), and Reset().

◆ fEveTrList

TObjArray* CbmTimesliceRecoTracks::fEveTrList = new TObjArray(16)
protected

Definition at line 94 of file CbmTimesliceRecoTracks.h.

Referenced by GetTrGroup(), and Reset().

◆ fGlobalTracks

TClonesArray* CbmTimesliceRecoTracks::fGlobalTracks = nullptr
protected

Definition at line 80 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and Init().

◆ fMuchPixelHits

TClonesArray* CbmTimesliceRecoTracks::fMuchPixelHits = nullptr
protected

Definition at line 86 of file CbmTimesliceRecoTracks.h.

Referenced by HandleTrack(), and Init().

◆ fMuchTracks

TClonesArray* CbmTimesliceRecoTracks::fMuchTracks = nullptr
protected

Definition at line 87 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and Init().

◆ fMvdHits

TClonesArray* CbmTimesliceRecoTracks::fMvdHits = nullptr
protected

Definition at line 81 of file CbmTimesliceRecoTracks.h.

Referenced by HandleStsTrack(), and Init().

◆ fRichHits

TClonesArray* CbmTimesliceRecoTracks::fRichHits = nullptr
protected

Definition at line 85 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), HandleTrack(), and Init().

◆ fRichRings

TClonesArray* CbmTimesliceRecoTracks::fRichRings = nullptr
protected

Definition at line 84 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and Init().

◆ fStsHits

TClonesArray* CbmTimesliceRecoTracks::fStsHits = nullptr
protected

Definition at line 82 of file CbmTimesliceRecoTracks.h.

Referenced by HandleStsTrack(), and Init().

◆ fStsTracks

TClonesArray* CbmTimesliceRecoTracks::fStsTracks = nullptr
protected

Definition at line 83 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and Init().

◆ fTofHits

TClonesArray* CbmTimesliceRecoTracks::fTofHits = nullptr
protected

Definition at line 90 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), HandleTrack(), and Init().

◆ fTofTracks

TClonesArray* CbmTimesliceRecoTracks::fTofTracks = nullptr
protected

Definition at line 91 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and Init().

◆ fTrdHits

TClonesArray* CbmTimesliceRecoTracks::fTrdHits = nullptr
protected

Definition at line 88 of file CbmTimesliceRecoTracks.h.

Referenced by HandleTrack(), and Init().

◆ fTrdTracks

TClonesArray* CbmTimesliceRecoTracks::fTrdTracks = nullptr
protected

Definition at line 89 of file CbmTimesliceRecoTracks.h.

Referenced by GotoEvent(), and Init().

◆ fTrList

TEveTrackList* CbmTimesliceRecoTracks::fTrList = nullptr
protected

Definition at line 96 of file CbmTimesliceRecoTracks.h.

Referenced by GetTrGroup(), and GotoEvent().

◆ fTrPr

TEveTrackPropagator* CbmTimesliceRecoTracks::fTrPr = nullptr
protected

Definition at line 92 of file CbmTimesliceRecoTracks.h.

Referenced by GetTrGroup(), and GotoEvent().


The documentation for this class was generated from the following files: