CbmRoot
|
#include <CbmTsPointSetArrayDraw.h>
Public Member Functions | |
CbmTsPointSetArrayDraw () | |
CbmTsPointSetArrayDraw (const char *name, Int_t colorMode, Int_t markerMode, Int_t iVerbose=1, Bool_t render=kTRUE) | |
virtual | ~CbmTsPointSetArrayDraw () |
void | SetVerbose (Int_t iVerbose) |
void | SetColorMode (Int_t colorMode) |
void | SetMarkerMode (Int_t markerMode) |
void | SetRender (Bool_t render) |
Int_t | GetColorMode () const |
Int_t | GetMarkerMode () const |
virtual void | Exec (Option_t *option) |
void | Reset () |
void | GotoEvent (uint32_t uEventIdx) |
Protected Member Functions | |
TVector3 | GetVector (TObject *obj) |
Double_t | GetTime (TObject *obj) |
Int_t | GetClusterSize (TObject *obj) |
Double_t | GetTot (TObject *obj) |
Int_t | GetPointId (TObject *obj) |
void | DetermineTimeOffset () |
virtual void | SetParContainers () |
virtual InitStatus | Init () |
virtual void | Finish () |
Protected Attributes | |
Int_t | fVerbose = 0 |
TClonesArray * | fCbmEvents = nullptr |
TString | fTofHitArrayName = "TofUHit" |
TClonesArray * | fTsPointList = nullptr |
TClonesArray * | fPointList = nullptr |
CbmTimesliceManager * | fTsManager = nullptr |
CbmPointSetArray * | fl = nullptr |
Color_t | fColor = kRed |
Style_t | fStyle = 4 |
Double_t | fTimeOffset = 0 |
Double_t | fTimeMax = 0 |
Int_t | fColorMode = 1 |
Int_t | fMarkerMode = 1 |
Bool_t | fRender = kTRUE |
Private Member Functions | |
CbmTsPointSetArrayDraw (const CbmTsPointSetArrayDraw &) | |
CbmTsPointSetArrayDraw & | operator= (const CbmTsPointSetArrayDraw &) |
ClassDef (CbmTsPointSetArrayDraw, 1) | |
Definition at line 27 of file CbmTsPointSetArrayDraw.h.
|
inline |
Default constructor
Definition at line 31 of file CbmTsPointSetArrayDraw.h.
CbmTsPointSetArrayDraw::CbmTsPointSetArrayDraw | ( | const char * | name, |
Int_t | colorMode, | ||
Int_t | markerMode, | ||
Int_t | iVerbose = 1, | ||
Bool_t | render = kTRUE ) |
Standard constructor
name | Name of task |
colorMode | coloring of points |
markerMode | how to mark points |
iVerbose | Verbosity level |
Definition at line 32 of file CbmTsPointSetArrayDraw.cxx.
|
virtual |
Destructor
Definition at line 204 of file CbmTsPointSetArrayDraw.cxx.
|
private |
|
private |
|
protected |
Definition at line 182 of file CbmTsPointSetArrayDraw.cxx.
References fPointList, fTimeMax, fTimeOffset, and CbmHit::GetTime().
Referenced by GotoEvent().
|
virtual |
Executed task
When loading a new TS, load the first event if possible
Definition at line 63 of file CbmTsPointSetArrayDraw.cxx.
References fCbmEvents, and GotoEvent().
|
protectedvirtual |
Action after each event
Definition at line 209 of file CbmTsPointSetArrayDraw.cxx.
|
protected |
Definition at line 153 of file CbmTsPointSetArrayDraw.cxx.
References CbmTofHit::GetFlag().
Referenced by GetTot(), and GotoEvent().
|
inline |
Definition at line 52 of file CbmTsPointSetArrayDraw.h.
References fColorMode.
|
inline |
Definition at line 53 of file CbmTsPointSetArrayDraw.h.
References fMarkerMode.
|
protected |
Definition at line 175 of file CbmTsPointSetArrayDraw.cxx.
References CbmHit::GetRefId().
Referenced by GotoEvent().
|
protected |
Definition at line 145 of file CbmTsPointSetArrayDraw.cxx.
References fTimeOffset, and CbmHit::GetTime().
Referenced by GotoEvent().
|
protected |
Definition at line 165 of file CbmTsPointSetArrayDraw.cxx.
References CbmTofHit::GetCh(), and GetClusterSize().
Referenced by GotoEvent().
|
protected |
Definition at line 136 of file CbmTsPointSetArrayDraw.cxx.
References CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().
Referenced by GotoEvent().
void CbmTsPointSetArrayDraw::GotoEvent | ( | uint32_t | uEventIdx | ) |
Definition at line 71 of file CbmTsPointSetArrayDraw.cxx.
References CbmEvent::Clear(), DetermineTimeOffset(), fCbmEvents, fColorMode, CbmPointSetArray::FillValues(), fl, fMarkerMode, fPointList, fRender, fTofHitArrayName, fTsPointList, GetClusterSize(), GetPointId(), GetTime(), GetTot(), GetVector(), CbmPointSetArray::InitValues(), CbmTimesliceManager::Instance(), kTofUHit, Reset(), CbmPointSetArray::SetColorMode(), and CbmPointSetArray::SetMarkerMode().
Referenced by Exec().
|
protectedvirtual |
Initialise taks
Definition at line 43 of file CbmTsPointSetArrayDraw.cxx.
References fCbmEvents, fl, fPointList, fTofHitArrayName, fTsManager, fTsPointList, and CbmTimesliceManager::Instance().
|
private |
void CbmTsPointSetArrayDraw::Reset | ( | ) |
Reset task
Definition at line 211 of file CbmTsPointSetArrayDraw.cxx.
References fl, and fTsManager.
Referenced by GotoEvent().
|
inline |
Definition at line 48 of file CbmTsPointSetArrayDraw.h.
References fColorMode.
|
inline |
Definition at line 49 of file CbmTsPointSetArrayDraw.h.
References fMarkerMode.
|
protectedvirtual |
Definition at line 206 of file CbmTsPointSetArrayDraw.cxx.
|
inline |
Definition at line 50 of file CbmTsPointSetArrayDraw.h.
References fRender.
|
inline |
Set verbosity level. For this task and all of the subtasks.
Definition at line 47 of file CbmTsPointSetArrayDraw.h.
References fVerbose.
|
protected |
Definition at line 77 of file CbmTsPointSetArrayDraw.h.
Referenced by Exec(), GotoEvent(), and Init().
|
protected |
Definition at line 84 of file CbmTsPointSetArrayDraw.h.
|
protected |
Definition at line 88 of file CbmTsPointSetArrayDraw.h.
Referenced by GetColorMode(), GotoEvent(), and SetColorMode().
|
protected |
Definition at line 82 of file CbmTsPointSetArrayDraw.h.
Referenced by GotoEvent(), Init(), and Reset().
|
protected |
Definition at line 89 of file CbmTsPointSetArrayDraw.h.
Referenced by GetMarkerMode(), GotoEvent(), and SetMarkerMode().
|
protected |
Definition at line 80 of file CbmTsPointSetArrayDraw.h.
Referenced by DetermineTimeOffset(), GotoEvent(), and Init().
|
protected |
Definition at line 90 of file CbmTsPointSetArrayDraw.h.
Referenced by GotoEvent(), and SetRender().
|
protected |
Definition at line 85 of file CbmTsPointSetArrayDraw.h.
|
protected |
Definition at line 87 of file CbmTsPointSetArrayDraw.h.
Referenced by DetermineTimeOffset().
|
protected |
Definition at line 86 of file CbmTsPointSetArrayDraw.h.
Referenced by DetermineTimeOffset(), and GetTime().
|
protected |
Definition at line 78 of file CbmTsPointSetArrayDraw.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 81 of file CbmTsPointSetArrayDraw.h.
|
protected |
Definition at line 79 of file CbmTsPointSetArrayDraw.h.
Referenced by GotoEvent(), and Init().
|
protected |
Definition at line 76 of file CbmTsPointSetArrayDraw.h.
Referenced by SetVerbose().