EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmDigiManager Class Reference

#include <EicRoot/blob/master/cbmbase/CbmDigiManager.h>

+ Inheritance diagram for CbmDigiManager:
+ Collaboration diagram for CbmDigiManager:

Public Member Functions

 CbmDigiManager ()
 
virtual ~CbmDigiManager ()
 
virtual void Exec (Option_t *opt)
 
CbmDigiGetDigi (Int_t iDetector, Int_t iChannel)
 
- Public Member Functions inherited from FairTask
 FairTask ()
 
 FairTask (const char *name, Int_t iVerbose=1)
 
virtual ~FairTask ()
 
void InitTask ()
 
void ReInitTask ()
 
void SetParTask ()
 
virtual void FinishTask ()
 
virtual void FinishEvent ()
 
void SetVerbose (Int_t iVerbose)
 
void SetInputPersistance (Bool_t val)
 
void CheckInputPersistance (TString branchName)
 

Private Member Functions

 CbmDigiManager (const CbmDigiManager &)
 
CbmDigiManageroperator= (const CbmDigiManager &)
 
virtual InitStatus Init ()
 
 ClassDef (CbmDigiManager, 1)
 

Private Attributes

const char * fSystem [16]
 
TClonesArray * fDigis [16]
 
std::map< std::pair< Int_t,
Int_t >, CbmDigi * > 
fDigiMap
 
TStopwatch fTimer
 Digi map.
 

Additional Inherited Members

- Protected Member Functions inherited from FairTask
virtual InitStatus ReInit ()
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void InitTasks ()
 
void ReInitTasks ()
 
void SetParTasks ()
 
void FinishTasks ()
 
void FinishEvents ()
 
- Protected Attributes inherited from FairTask
Int_t fVerbose
 
Int_t fInputPersistance
 Indicates if input branch is persistant.
 
FairLoggerfLogger
 

Detailed Description

Definition at line 35 of file CbmDigiManager.h.

View newest version in sPHENIX GitHub at line 35 of file CbmDigiManager.h

Constructor & Destructor Documentation

CbmDigiManager::CbmDigiManager ( )

Default constructor

Definition at line 31 of file CbmDigiManager.cxx.

View newest version in sPHENIX GitHub at line 31 of file CbmDigiManager.cxx

References fDigis, and fSystem.

CbmDigiManager::~CbmDigiManager ( )
virtual

Destructor

Definition at line 53 of file CbmDigiManager.cxx.

View newest version in sPHENIX GitHub at line 53 of file CbmDigiManager.cxx

CbmDigiManager::CbmDigiManager ( const CbmDigiManager )
private

Member Function Documentation

CbmDigiManager::ClassDef ( CbmDigiManager  ,
 
)
private
void CbmDigiManager::Exec ( Option_t *  opt)
virtual

Fill maps from detector / channel number to digi index

Definition at line 59 of file CbmDigiManager.cxx.

View newest version in sPHENIX GitHub at line 59 of file CbmDigiManager.cxx

References fDigiMap, fDigis, fSystem, fTimer, and CbmDigi::GetSystemId().

+ Here is the call graph for this function:

CbmDigi * CbmDigiManager::GetDigi ( Int_t  iDetector,
Int_t  iChannel 
)
Access to digi 
Parameters
iDetectordetector unique identifier
iChannelchannel number Pointer to digi object

Definition at line 119 of file CbmDigiManager.cxx.

View newest version in sPHENIX GitHub at line 119 of file CbmDigiManager.cxx

References fDigiMap.

InitStatus CbmDigiManager::Init ( )
privatevirtual

Initialisation: Get pointers to arrays.

Reimplemented from FairTask.

Definition at line 133 of file CbmDigiManager.cxx.

View newest version in sPHENIX GitHub at line 133 of file CbmDigiManager.cxx

References fDigis, fSystem, FairRootManager::GetObject(), FairRootManager::Instance(), and kSUCCESS.

+ Here is the call graph for this function:

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

Member Data Documentation

std::map<std::pair<Int_t, Int_t>, CbmDigi*> CbmDigiManager::fDigiMap
private

Definition at line 74 of file CbmDigiManager.h.

View newest version in sPHENIX GitHub at line 74 of file CbmDigiManager.h

Referenced by Exec(), and GetDigi().

TClonesArray* CbmDigiManager::fDigis[16]
private

Definition at line 73 of file CbmDigiManager.h.

View newest version in sPHENIX GitHub at line 73 of file CbmDigiManager.h

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

const char* CbmDigiManager::fSystem[16]
private

Private data members

Definition at line 72 of file CbmDigiManager.h.

View newest version in sPHENIX GitHub at line 72 of file CbmDigiManager.h

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

TStopwatch CbmDigiManager::fTimer
private

Digi map.

Definition at line 75 of file CbmDigiManager.h.

View newest version in sPHENIX GitHub at line 75 of file CbmDigiManager.h

Referenced by Exec().


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