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

#include <CbmTsPointSetArrayDraw.h>

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

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
 
CbmTimesliceManagerfTsManager = nullptr
 
CbmPointSetArrayfl = 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 &)
 
CbmTsPointSetArrayDrawoperator= (const CbmTsPointSetArrayDraw &)
 
 ClassDef (CbmTsPointSetArrayDraw, 1)
 

Detailed Description

Definition at line 27 of file CbmTsPointSetArrayDraw.h.

Constructor & Destructor Documentation

◆ CbmTsPointSetArrayDraw() [1/3]

CbmTsPointSetArrayDraw::CbmTsPointSetArrayDraw ( )
inline

Default constructor

Definition at line 31 of file CbmTsPointSetArrayDraw.h.

◆ CbmTsPointSetArrayDraw() [2/3]

CbmTsPointSetArrayDraw::CbmTsPointSetArrayDraw ( const char * name,
Int_t colorMode,
Int_t markerMode,
Int_t iVerbose = 1,
Bool_t render = kTRUE )

Standard constructor

Parameters
nameName of task
colorModecoloring of points
markerModehow to mark points
iVerboseVerbosity level

Definition at line 32 of file CbmTsPointSetArrayDraw.cxx.

◆ ~CbmTsPointSetArrayDraw()

CbmTsPointSetArrayDraw::~CbmTsPointSetArrayDraw ( )
virtual

Destructor

Definition at line 204 of file CbmTsPointSetArrayDraw.cxx.

◆ CbmTsPointSetArrayDraw() [3/3]

CbmTsPointSetArrayDraw::CbmTsPointSetArrayDraw ( const CbmTsPointSetArrayDraw & )
private

Member Function Documentation

◆ ClassDef()

CbmTsPointSetArrayDraw::ClassDef ( CbmTsPointSetArrayDraw ,
1  )
private

◆ DetermineTimeOffset()

void CbmTsPointSetArrayDraw::DetermineTimeOffset ( )
protected

Definition at line 182 of file CbmTsPointSetArrayDraw.cxx.

References fPointList, fTimeMax, fTimeOffset, and CbmHit::GetTime().

Referenced by GotoEvent().

◆ Exec()

void CbmTsPointSetArrayDraw::Exec ( Option_t * option)
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().

◆ Finish()

void CbmTsPointSetArrayDraw::Finish ( )
protectedvirtual

Action after each event

Definition at line 209 of file CbmTsPointSetArrayDraw.cxx.

◆ GetClusterSize()

Int_t CbmTsPointSetArrayDraw::GetClusterSize ( TObject * obj)
protected

Definition at line 153 of file CbmTsPointSetArrayDraw.cxx.

References CbmTofHit::GetFlag().

Referenced by GetTot(), and GotoEvent().

◆ GetColorMode()

Int_t CbmTsPointSetArrayDraw::GetColorMode ( ) const
inline

Definition at line 52 of file CbmTsPointSetArrayDraw.h.

References fColorMode.

◆ GetMarkerMode()

Int_t CbmTsPointSetArrayDraw::GetMarkerMode ( ) const
inline

Definition at line 53 of file CbmTsPointSetArrayDraw.h.

References fMarkerMode.

◆ GetPointId()

Int_t CbmTsPointSetArrayDraw::GetPointId ( TObject * obj)
protected

Definition at line 175 of file CbmTsPointSetArrayDraw.cxx.

References CbmHit::GetRefId().

Referenced by GotoEvent().

◆ GetTime()

Double_t CbmTsPointSetArrayDraw::GetTime ( TObject * obj)
protected

Definition at line 145 of file CbmTsPointSetArrayDraw.cxx.

References fTimeOffset, and CbmHit::GetTime().

Referenced by GotoEvent().

◆ GetTot()

Double_t CbmTsPointSetArrayDraw::GetTot ( TObject * obj)
protected

Definition at line 165 of file CbmTsPointSetArrayDraw.cxx.

References CbmTofHit::GetCh(), and GetClusterSize().

Referenced by GotoEvent().

◆ GetVector()

TVector3 CbmTsPointSetArrayDraw::GetVector ( TObject * obj)
protected

Definition at line 136 of file CbmTsPointSetArrayDraw.cxx.

References CbmPixelHit::GetX(), CbmPixelHit::GetY(), and CbmHit::GetZ().

Referenced by GotoEvent().

◆ GotoEvent()

◆ Init()

InitStatus CbmTsPointSetArrayDraw::Init ( )
protectedvirtual

◆ operator=()

CbmTsPointSetArrayDraw & CbmTsPointSetArrayDraw::operator= ( const CbmTsPointSetArrayDraw & )
private

◆ Reset()

void CbmTsPointSetArrayDraw::Reset ( )

Reset task

Definition at line 211 of file CbmTsPointSetArrayDraw.cxx.

References fl, and fTsManager.

Referenced by GotoEvent().

◆ SetColorMode()

void CbmTsPointSetArrayDraw::SetColorMode ( Int_t colorMode)
inline

Definition at line 48 of file CbmTsPointSetArrayDraw.h.

References fColorMode.

◆ SetMarkerMode()

void CbmTsPointSetArrayDraw::SetMarkerMode ( Int_t markerMode)
inline

Definition at line 49 of file CbmTsPointSetArrayDraw.h.

References fMarkerMode.

◆ SetParContainers()

void CbmTsPointSetArrayDraw::SetParContainers ( )
protectedvirtual

Definition at line 206 of file CbmTsPointSetArrayDraw.cxx.

◆ SetRender()

void CbmTsPointSetArrayDraw::SetRender ( Bool_t render)
inline

Definition at line 50 of file CbmTsPointSetArrayDraw.h.

References fRender.

◆ SetVerbose()

void CbmTsPointSetArrayDraw::SetVerbose ( Int_t iVerbose)
inline

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

Definition at line 47 of file CbmTsPointSetArrayDraw.h.

References fVerbose.

Member Data Documentation

◆ fCbmEvents

TClonesArray* CbmTsPointSetArrayDraw::fCbmEvents = nullptr
protected

Definition at line 77 of file CbmTsPointSetArrayDraw.h.

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

◆ fColor

Color_t CbmTsPointSetArrayDraw::fColor = kRed
protected

Definition at line 84 of file CbmTsPointSetArrayDraw.h.

◆ fColorMode

Int_t CbmTsPointSetArrayDraw::fColorMode = 1
protected

Definition at line 88 of file CbmTsPointSetArrayDraw.h.

Referenced by GetColorMode(), GotoEvent(), and SetColorMode().

◆ fl

CbmPointSetArray* CbmTsPointSetArrayDraw::fl = nullptr
protected

Definition at line 82 of file CbmTsPointSetArrayDraw.h.

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

◆ fMarkerMode

Int_t CbmTsPointSetArrayDraw::fMarkerMode = 1
protected

Definition at line 89 of file CbmTsPointSetArrayDraw.h.

Referenced by GetMarkerMode(), GotoEvent(), and SetMarkerMode().

◆ fPointList

TClonesArray* CbmTsPointSetArrayDraw::fPointList = nullptr
protected

Definition at line 80 of file CbmTsPointSetArrayDraw.h.

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

◆ fRender

Bool_t CbmTsPointSetArrayDraw::fRender = kTRUE
protected

Definition at line 90 of file CbmTsPointSetArrayDraw.h.

Referenced by GotoEvent(), and SetRender().

◆ fStyle

Style_t CbmTsPointSetArrayDraw::fStyle = 4
protected

Definition at line 85 of file CbmTsPointSetArrayDraw.h.

◆ fTimeMax

Double_t CbmTsPointSetArrayDraw::fTimeMax = 0
protected

Definition at line 87 of file CbmTsPointSetArrayDraw.h.

Referenced by DetermineTimeOffset().

◆ fTimeOffset

Double_t CbmTsPointSetArrayDraw::fTimeOffset = 0
protected

Definition at line 86 of file CbmTsPointSetArrayDraw.h.

Referenced by DetermineTimeOffset(), and GetTime().

◆ fTofHitArrayName

TString CbmTsPointSetArrayDraw::fTofHitArrayName = "TofUHit"
protected

Definition at line 78 of file CbmTsPointSetArrayDraw.h.

Referenced by GotoEvent(), and Init().

◆ fTsManager

CbmTimesliceManager* CbmTsPointSetArrayDraw::fTsManager = nullptr
protected

Definition at line 81 of file CbmTsPointSetArrayDraw.h.

Referenced by Init(), and Reset().

◆ fTsPointList

TClonesArray* CbmTsPointSetArrayDraw::fTsPointList = nullptr
protected

Definition at line 79 of file CbmTsPointSetArrayDraw.h.

Referenced by GotoEvent(), and Init().

◆ fVerbose

Int_t CbmTsPointSetArrayDraw::fVerbose = 0
protected

Definition at line 76 of file CbmTsPointSetArrayDraw.h.

Referenced by SetVerbose().


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