BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
FairMCModuleDraw Class Reference

#include <FairMCModuleDraw.h>

Inheritance diagram for FairMCModuleDraw:
Collaboration diagram for FairMCModuleDraw:

Public Member Functions

 FairMCModuleDraw ()
 Default constructor.
 FairMCModuleDraw (const char *name, Color_t color, Style_t mstyle, Int_t iVerbose=0)
 Standard constructor.
virtual ~FairMCModuleDraw ()
 Destructor.
void SetVerbose (Int_t iVerbose)
 Set verbosity level.
virtual void Exec (Option_t *option)
 Executed task.
void Reset ()

Protected Member Functions

virtual TVector3 GetVector (TObject *obj)
virtual TObject * GetValue (TObject *obj, Int_t i)
virtual void SetParContainers ()
virtual InitStatus Init ()
virtual void Finish ()
 Action after each event.

Protected Attributes

Int_t fVerbose
MpdEventManager * fEventManager
TClonesArray * fPointList
TClonesArray * fMCTracks
Color_t fColor
Style_t fStyle

Private Member Functions

 FairMCModuleDraw (const FairMCModuleDraw &)=delete
FairMCModuleDraw & operator= (const FairMCModuleDraw &)=delete

Detailed Description

Definition at line 14 of file FairMCModuleDraw.h.

Constructor & Destructor Documentation

◆ FairMCModuleDraw() [1/3]

FairMCModuleDraw::FairMCModuleDraw ( )

Definition at line 18 of file FairMCModuleDraw.cxx.

References fColor, fEventManager, fMCTracks, fPointList, fStyle, and fVerbose.

Referenced by FairMCModuleDraw(), and operator=().

Here is the caller graph for this function:

◆ FairMCModuleDraw() [2/3]

FairMCModuleDraw::FairMCModuleDraw ( const char * name,
Color_t color,
Style_t mstyle,
Int_t iVerbose = 0 )
Parameters
nameName of task
iVerboseVerbosity level

Definition at line 29 of file FairMCModuleDraw.cxx.

References fColor, fEventManager, fMCTracks, fPointList, fStyle, and fVerbose.

◆ ~FairMCModuleDraw()

FairMCModuleDraw::~FairMCModuleDraw ( )
virtual

Definition at line 104 of file FairMCModuleDraw.cxx.

References fEventManager.

◆ FairMCModuleDraw() [3/3]

FairMCModuleDraw::FairMCModuleDraw ( const FairMCModuleDraw & )
privatedelete

References FairMCModuleDraw().

Here is the call graph for this function:

Member Function Documentation

◆ Exec()

void FairMCModuleDraw::Exec ( Option_t * option)
virtual

Definition at line 68 of file FairMCModuleDraw.cxx.

References fEventManager, fMCTracks, fPointList, BmnZdcPoint::GetCopyMother(), CbmMCTrack::GetStartZ(), i, and Reset().

Here is the call graph for this function:

◆ Finish()

void FairMCModuleDraw::Finish ( )
protectedvirtual

Definition at line 113 of file FairMCModuleDraw.cxx.

◆ GetValue()

TObject * FairMCModuleDraw::GetValue ( TObject * obj,
Int_t i )
protectedvirtual

Definition at line 98 of file FairMCModuleDraw.cxx.

References i.

◆ GetVector()

TVector3 FairMCModuleDraw::GetVector ( TObject * obj)
protectedvirtual

Definition at line 92 of file FairMCModuleDraw.cxx.

◆ Init()

InitStatus FairMCModuleDraw::Init ( )
protectedvirtual

Definition at line 40 of file FairMCModuleDraw.cxx.

References fEventManager, fMCTracks, fPointList, fVerbose, and MpdEventManager::Instance().

Here is the call graph for this function:

◆ operator=()

FairMCModuleDraw & FairMCModuleDraw::operator= ( const FairMCModuleDraw & )
privatedelete

References FairMCModuleDraw().

Here is the call graph for this function:

◆ Reset()

void FairMCModuleDraw::Reset ( )

Definition at line 116 of file FairMCModuleDraw.cxx.

References fEventManager, and i.

Referenced by Exec().

Here is the caller graph for this function:

◆ SetParContainers()

void FairMCModuleDraw::SetParContainers ( )
protectedvirtual

Definition at line 110 of file FairMCModuleDraw.cxx.

◆ SetVerbose()

void FairMCModuleDraw::SetVerbose ( Int_t iVerbose)
inline

For this task and all of the subtasks.

Definition at line 30 of file FairMCModuleDraw.h.

References fVerbose.

Member Data Documentation

◆ fColor

Color_t FairMCModuleDraw::fColor
protected

Definition at line 49 of file FairMCModuleDraw.h.

Referenced by FairMCModuleDraw(), and FairMCModuleDraw().

◆ fEventManager

MpdEventManager* FairMCModuleDraw::fEventManager
protected

◆ fMCTracks

TClonesArray* FairMCModuleDraw::fMCTracks
protected

Definition at line 47 of file FairMCModuleDraw.h.

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

◆ fPointList

TClonesArray* FairMCModuleDraw::fPointList
protected

Definition at line 46 of file FairMCModuleDraw.h.

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

◆ fStyle

Style_t FairMCModuleDraw::fStyle
protected

Definition at line 50 of file FairMCModuleDraw.h.

Referenced by FairMCModuleDraw(), and FairMCModuleDraw().

◆ fVerbose

Int_t FairMCModuleDraw::fVerbose
protected

Definition at line 44 of file FairMCModuleDraw.h.

Referenced by FairMCModuleDraw(), FairMCModuleDraw(), Init(), and SetVerbose().


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