CbmRoot
CbmPointSetArrayDraw Class Reference

#include <CbmPointSetArrayDraw.h>

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

Public Member Functions

 CbmPointSetArrayDraw ()
 
 CbmPointSetArrayDraw (const char *name, Int_t colorMode, Int_t markerMode, Int_t iVerbose=1, Bool_t render=kTRUE)
 
virtual ~CbmPointSetArrayDraw ()
 
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 ()
 

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
 
TClonesArray * fPointList
 
FairEventManager * fEventManager
 
CbmPointSetArrayfl
 
Color_t fColor
 
Style_t fStyle
 
Double_t fTimeOffset
 
Double_t fTimeMax
 
Int_t fColorMode
 
Int_t fMarkerMode
 
Bool_t fRender
 

Private Member Functions

 CbmPointSetArrayDraw (const CbmPointSetArrayDraw &)
 
CbmPointSetArrayDrawoperator= (const CbmPointSetArrayDraw &)
 
 ClassDef (CbmPointSetArrayDraw, 1)
 

Detailed Description

Definition at line 29 of file CbmPointSetArrayDraw.h.

Constructor & Destructor Documentation

◆ CbmPointSetArrayDraw() [1/3]

CbmPointSetArrayDraw::CbmPointSetArrayDraw ( )

Default constructor

Definition at line 27 of file CbmPointSetArrayDraw.cxx.

◆ CbmPointSetArrayDraw() [2/3]

CbmPointSetArrayDraw::CbmPointSetArrayDraw ( 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 44 of file CbmPointSetArrayDraw.cxx.

◆ ~CbmPointSetArrayDraw()

CbmPointSetArrayDraw::~CbmPointSetArrayDraw ( )
virtual

Destructor

Definition at line 192 of file CbmPointSetArrayDraw.cxx.

◆ CbmPointSetArrayDraw() [3/3]

CbmPointSetArrayDraw::CbmPointSetArrayDraw ( const CbmPointSetArrayDraw )
private

Member Function Documentation

◆ ClassDef()

CbmPointSetArrayDraw::ClassDef ( CbmPointSetArrayDraw  ,
 
)
private

◆ DetermineTimeOffset()

void CbmPointSetArrayDraw::DetermineTimeOffset ( )
protected

Definition at line 170 of file CbmPointSetArrayDraw.cxx.

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

Referenced by Exec().

◆ Exec()

◆ Finish()

void CbmPointSetArrayDraw::Finish ( )
protectedvirtual

Action after each event

Definition at line 197 of file CbmPointSetArrayDraw.cxx.

◆ GetClusterSize()

Int_t CbmPointSetArrayDraw::GetClusterSize ( TObject *  obj)
protected

Definition at line 140 of file CbmPointSetArrayDraw.cxx.

References CbmTofHit::GetFlag().

Referenced by Exec(), and GetTot().

◆ GetColorMode()

Int_t CbmPointSetArrayDraw::GetColorMode ( ) const
inline

Definition at line 58 of file CbmPointSetArrayDraw.h.

References fColorMode.

◆ GetMarkerMode()

Int_t CbmPointSetArrayDraw::GetMarkerMode ( ) const
inline

Definition at line 59 of file CbmPointSetArrayDraw.h.

References fMarkerMode.

◆ GetPointId()

Int_t CbmPointSetArrayDraw::GetPointId ( TObject *  obj)
protected

Definition at line 164 of file CbmPointSetArrayDraw.cxx.

References CbmHit::GetRefId().

Referenced by Exec().

◆ GetTime()

Double_t CbmPointSetArrayDraw::GetTime ( TObject *  obj)
protected

Definition at line 132 of file CbmPointSetArrayDraw.cxx.

References fTimeOffset, and CbmHit::GetTime().

Referenced by Exec().

◆ GetTot()

Double_t CbmPointSetArrayDraw::GetTot ( TObject *  obj)
protected

Definition at line 155 of file CbmPointSetArrayDraw.cxx.

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

Referenced by Exec().

◆ GetVector()

TVector3 CbmPointSetArrayDraw::GetVector ( TObject *  obj)
protected

Definition at line 124 of file CbmPointSetArrayDraw.cxx.

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

Referenced by Exec().

◆ Init()

InitStatus CbmPointSetArrayDraw::Init ( )
protectedvirtual

Initialise taks

Definition at line 62 of file CbmPointSetArrayDraw.cxx.

References fEventManager, fl, and fPointList.

◆ operator=()

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

◆ Reset()

void CbmPointSetArrayDraw::Reset ( )

Reset task

Definition at line 199 of file CbmPointSetArrayDraw.cxx.

References fEventManager, and fl.

Referenced by Exec().

◆ SetColorMode()

void CbmPointSetArrayDraw::SetColorMode ( Int_t  colorMode)
inline

Definition at line 54 of file CbmPointSetArrayDraw.h.

References fColorMode.

◆ SetMarkerMode()

void CbmPointSetArrayDraw::SetMarkerMode ( Int_t  markerMode)
inline

Definition at line 55 of file CbmPointSetArrayDraw.h.

References fMarkerMode.

◆ SetParContainers()

void CbmPointSetArrayDraw::SetParContainers ( )
protectedvirtual

Definition at line 194 of file CbmPointSetArrayDraw.cxx.

◆ SetRender()

void CbmPointSetArrayDraw::SetRender ( Bool_t  render)
inline

Definition at line 56 of file CbmPointSetArrayDraw.h.

References fRender.

◆ SetVerbose()

void CbmPointSetArrayDraw::SetVerbose ( Int_t  iVerbose)
inline

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

Definition at line 53 of file CbmPointSetArrayDraw.h.

References fVerbose.

Member Data Documentation

◆ fColor

Color_t CbmPointSetArrayDraw::fColor
protected

Definition at line 86 of file CbmPointSetArrayDraw.h.

◆ fColorMode

Int_t CbmPointSetArrayDraw::fColorMode
protected

Definition at line 90 of file CbmPointSetArrayDraw.h.

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

◆ fEventManager

FairEventManager* CbmPointSetArrayDraw::fEventManager
protected

Definition at line 83 of file CbmPointSetArrayDraw.h.

Referenced by Init(), and Reset().

◆ fl

CbmPointSetArray* CbmPointSetArrayDraw::fl
protected

Definition at line 85 of file CbmPointSetArrayDraw.h.

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

◆ fMarkerMode

Int_t CbmPointSetArrayDraw::fMarkerMode
protected

Definition at line 91 of file CbmPointSetArrayDraw.h.

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

◆ fPointList

TClonesArray* CbmPointSetArrayDraw::fPointList
protected

Definition at line 82 of file CbmPointSetArrayDraw.h.

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

◆ fRender

Bool_t CbmPointSetArrayDraw::fRender
protected

Definition at line 92 of file CbmPointSetArrayDraw.h.

Referenced by Exec(), and SetRender().

◆ fStyle

Style_t CbmPointSetArrayDraw::fStyle
protected

Definition at line 87 of file CbmPointSetArrayDraw.h.

◆ fTimeMax

Double_t CbmPointSetArrayDraw::fTimeMax
protected

Definition at line 89 of file CbmPointSetArrayDraw.h.

Referenced by DetermineTimeOffset().

◆ fTimeOffset

Double_t CbmPointSetArrayDraw::fTimeOffset
protected

Definition at line 88 of file CbmPointSetArrayDraw.h.

Referenced by DetermineTimeOffset(), and GetTime().

◆ fVerbose

Int_t CbmPointSetArrayDraw::fVerbose
protected

Definition at line 81 of file CbmPointSetArrayDraw.h.

Referenced by SetVerbose().


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