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

#include <CbmTofCreateDigiPar.h>

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

Public Member Functions

 CbmTofCreateDigiPar ()
 
 CbmTofCreateDigiPar (const char *name, const char *title="CBM Task")
 
virtual ~CbmTofCreateDigiPar ()
 
virtual InitStatus ReInit ()
 
virtual InitStatus Init ()
 
virtual void SetParContainers ()
 
virtual void Exec (Option_t *option)
 
virtual void FinishEvent ()
 
virtual void FinishTask ()
 

Private Member Functions

void FillCellInfoFromGeoHandler (TString FullPath)
 
void FillDigiPar ()
 
void FillCellMapRootGeometry ()
 
void FillCellMapAsciiGeometry ()
 
 CbmTofCreateDigiPar (const CbmTofCreateDigiPar &)
 
CbmTofCreateDigiParoperator= (const CbmTofCreateDigiPar &)
 

Private Attributes

Int_t fSMType
 
Int_t fSModule
 
Int_t fCounter
 
Int_t fGap
 
Int_t fCell
 
Int_t fRegion
 
Double_t fSizex
 
Double_t fSizey
 
Double_t fX
 
Double_t fY
 
Double_t fZ
 
Int_t fDetID
 
Int_t fCellID
 
std::map< Int_t, std::vector< CbmTofCell * > > fCellMap
 
std::map< Int_t, std::vector< CbmTofCell * > >::iterator fCellMapIt
 
CbmTofDigiParfDigiPar
 
CbmTofGeoHandlerfGeoHandler
 pointer to digi parameters
 

Detailed Description

Definition at line 27 of file CbmTofCreateDigiPar.h.

Constructor & Destructor Documentation

◆ CbmTofCreateDigiPar() [1/3]

CbmTofCreateDigiPar::CbmTofCreateDigiPar ( )

Default constructor

Definition at line 27 of file CbmTofCreateDigiPar.cxx.

◆ CbmTofCreateDigiPar() [2/3]

CbmTofCreateDigiPar::CbmTofCreateDigiPar ( const char * name,
const char * title = "CBM Task" )

Standard constructor

Definition at line 51 of file CbmTofCreateDigiPar.cxx.

◆ ~CbmTofCreateDigiPar()

CbmTofCreateDigiPar::~CbmTofCreateDigiPar ( )
virtual

Destructor

Definition at line 75 of file CbmTofCreateDigiPar.cxx.

◆ CbmTofCreateDigiPar() [3/3]

CbmTofCreateDigiPar::CbmTofCreateDigiPar ( const CbmTofCreateDigiPar & )
private

Member Function Documentation

◆ Exec()

void CbmTofCreateDigiPar::Exec ( Option_t * option)
virtual

Executed task

Definition at line 172 of file CbmTofCreateDigiPar.cxx.

◆ FillCellInfoFromGeoHandler()

◆ FillCellMapAsciiGeometry()

void CbmTofCreateDigiPar::FillCellMapAsciiGeometry ( )
private

Definition at line 175 of file CbmTofCreateDigiPar.cxx.

References fCellID, fCellMap, fCellMapIt, FillCellInfoFromGeoHandler(), FillDigiPar(), fSizex, fSizey, fX, fY, and fZ.

Referenced by Init().

◆ FillCellMapRootGeometry()

void CbmTofCreateDigiPar::FillCellMapRootGeometry ( )
private

Definition at line 287 of file CbmTofCreateDigiPar.cxx.

References counter, fCellID, fCellMap, fCellMapIt, FillCellInfoFromGeoHandler(), FillDigiPar(), fSizex, fSizey, fX, fY, and fZ.

Referenced by Init().

◆ FillDigiPar()

◆ FinishEvent()

virtual void CbmTofCreateDigiPar::FinishEvent ( )
inlinevirtual

Finish (called after each event)

Definition at line 48 of file CbmTofCreateDigiPar.h.

◆ FinishTask()

void CbmTofCreateDigiPar::FinishTask ( )
virtual

Finish task (called after all event)

Definition at line 158 of file CbmTofCreateDigiPar.cxx.

References fDigiPar.

◆ Init()

◆ operator=()

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

◆ ReInit()

InitStatus CbmTofCreateDigiPar::ReInit ( )
virtual

Initialisation

Definition at line 96 of file CbmTofCreateDigiPar.cxx.

References fDigiPar.

◆ SetParContainers()

void CbmTofCreateDigiPar::SetParContainers ( )
virtual

Definition at line 79 of file CbmTofCreateDigiPar.cxx.

References fDigiPar.

Referenced by FillDigiPar().

Member Data Documentation

◆ fCell

Int_t CbmTofCreateDigiPar::fCell
private

Definition at line 66 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler(), and FillDigiPar().

◆ fCellID

Int_t CbmTofCreateDigiPar::fCellID
private

◆ fCellMap

std::map<Int_t, std::vector<CbmTofCell*> > CbmTofCreateDigiPar::fCellMap
private

Map of Unique Tof Cell Id to corresponding TofCell

Definition at line 79 of file CbmTofCreateDigiPar.h.

Referenced by FillCellMapAsciiGeometry(), FillCellMapRootGeometry(), and FillDigiPar().

◆ fCellMapIt

std::map<Int_t,std::vector<CbmTofCell*>>::iterator CbmTofCreateDigiPar::fCellMapIt
private

◆ fCounter

Int_t CbmTofCreateDigiPar::fCounter
private

Definition at line 64 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler(), and FillDigiPar().

◆ fDetID

Int_t CbmTofCreateDigiPar::fDetID
private

Definition at line 75 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler().

◆ fDigiPar

CbmTofDigiPar* CbmTofCreateDigiPar::fDigiPar
private

Definition at line 82 of file CbmTofCreateDigiPar.h.

Referenced by FillDigiPar(), FinishTask(), Init(), ReInit(), and SetParContainers().

◆ fGap

Int_t CbmTofCreateDigiPar::fGap
private

Definition at line 65 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler().

◆ fGeoHandler

CbmTofGeoHandler* CbmTofCreateDigiPar::fGeoHandler
private

pointer to digi parameters

Definition at line 84 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler(), FillDigiPar(), and Init().

◆ fRegion

Int_t CbmTofCreateDigiPar::fRegion
private

Definition at line 67 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler(), and FillDigiPar().

◆ fSizex

Double_t CbmTofCreateDigiPar::fSizex
private

◆ fSizey

Double_t CbmTofCreateDigiPar::fSizey
private

◆ fSModule

Int_t CbmTofCreateDigiPar::fSModule
private

Definition at line 63 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler(), and FillDigiPar().

◆ fSMType

Int_t CbmTofCreateDigiPar::fSMType
private

Definition at line 62 of file CbmTofCreateDigiPar.h.

Referenced by FillCellInfoFromGeoHandler(), and FillDigiPar().

◆ fX

Double_t CbmTofCreateDigiPar::fX
private

◆ fY

Double_t CbmTofCreateDigiPar::fY
private

◆ fZ

Double_t CbmTofCreateDigiPar::fZ
private

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