Geant4  10.02.p02
G4DigiManager Class Reference

#include <G4DigiManager.hh>

+ Collaboration diagram for G4DigiManager:

Public Member Functions

 ~G4DigiManager ()
 
void AddNewModule (G4VDigitizerModule *DM)
 
void Digitize (G4String mName)
 
G4VDigitizerModuleFindDigitizerModule (G4String mName)
 
const G4VHitsCollectionGetHitsCollection (G4int HCID, G4int eventID=0)
 
const G4VDigiCollectionGetDigiCollection (G4int DCID, G4int eventID=0)
 
G4int GetHitsCollectionID (G4String HCname)
 
G4int GetDigiCollectionID (G4String DCname)
 
void SetDigiCollection (G4int DCID, G4VDigiCollection *aDC)
 
void SetVerboseLevel (G4int vl)
 
void List () const
 
G4int GetVerboseLevel () const
 
G4int GetCollectionCapacity () const
 
G4int GetModuleCapacity () const
 
G4DCtableGetDCtable () const
 
void RestoreDCtable (G4DCtable *dc)
 

Static Public Member Functions

static G4DigiManagerGetDMpointer ()
 
static G4DigiManagerGetDMpointerIfExist ()
 

Protected Member Functions

 G4DigiManager ()
 

Private Member Functions

 G4DigiManager (const G4DigiManager &)
 
G4DigiManageroperator= (const G4DigiManager &)
 

Private Attributes

G4int verboseLevel
 
std::vector< G4VDigitizerModule * > DMtable
 
G4DCtableDCtable
 
G4DMmessengertheMessenger
 
G4RunManagerrunManager
 
G4SDManagerSDManager
 

Static Private Attributes

static G4ThreadLocal
G4DigiManager
fDManager = 0
 

Detailed Description

Definition at line 54 of file G4DigiManager.hh.

Constructor & Destructor Documentation

G4DigiManager::G4DigiManager ( )
protected

Definition at line 55 of file G4DigiManager.cc.

References DCtable, G4RunManager::GetRunManager(), G4SDManager::GetSDMpointer(), runManager, SDManager, and theMessenger.

Referenced by GetDMpointer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4DigiManager::~G4DigiManager ( )

Definition at line 63 of file G4DigiManager.cc.

References DCtable, DMtable, and theMessenger.

G4DigiManager::G4DigiManager ( const G4DigiManager )
private

Member Function Documentation

void G4DigiManager::AddNewModule ( G4VDigitizerModule DM)

Definition at line 73 of file G4DigiManager.cc.

References DCtable, DMtable, G4cout, G4endl, G4VDigitizerModule::GetCollectionName(), G4VDigitizerModule::GetName(), G4VDigitizerModule::GetNumberOfCollections(), G4DCtable::Registor(), runManager, G4RunManager::SetDCtable(), and verboseLevel.

Referenced by CexmcEventAction::CexmcEventAction(), and GammaRayTelEventAction::GammaRayTelEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DigiManager::Digitize ( G4String  mName)

Definition at line 111 of file G4DigiManager.cc.

References G4VDigitizerModule::Digitize(), FindDigitizerModule(), G4cout, and G4endl.

Referenced by G4DMmessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VDigitizerModule * G4DigiManager::FindDigitizerModule ( G4String  mName)

Definition at line 120 of file G4DigiManager.cc.

References DMtable.

Referenced by Digitize(), and GammaRayTelEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

G4int G4DigiManager::GetCollectionCapacity ( ) const
inline

Definition at line 116 of file G4DigiManager.hh.

References G4DCtable::entries().

+ Here is the call graph for this function:

G4DCtable* G4DigiManager::GetDCtable ( ) const
inline

Definition at line 120 of file G4DigiManager.hh.

References DCtable.

const G4VDigiCollection * G4DigiManager::GetDigiCollection ( G4int  DCID,
G4int  eventID = 0 
)

Definition at line 144 of file G4DigiManager.cc.

References G4RunManager::GetCurrentEvent(), G4DCofThisEvent::GetDC(), G4Event::GetDCofThisEvent(), G4RunManager::GetPreviousEvent(), and runManager.

Referenced by GammaRayTelEventAction::EndOfEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4DigiManager::GetDigiCollectionID ( G4String  DCname)

Definition at line 164 of file G4DigiManager.cc.

References DCtable, G4cout, G4endl, and G4DCtable::GetCollectionID().

Referenced by GammaRayTelDigitizer::Digitize(), GammaRayTelEventAction::EndOfEventAction(), and G4VDigitizerModule::StoreDigiCollection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4DigiManager * G4DigiManager::GetDMpointer ( )
static

Definition at line 43 of file G4DigiManager.cc.

References fDManager, and G4DigiManager().

Referenced by CexmcEventAction::CexmcEventAction(), GammaRayTelDigitizer::Digitize(), CexmcTrackPointsDigitizer::Digitize(), CexmcEnergyDepositDigitizer::Digitize(), GammaRayTelEventAction::EndOfEventAction(), CexmcEventAction::EndOfEventAction(), G4VDigitizerModule::G4VDigitizerModule(), and GammaRayTelEventAction::GammaRayTelEventAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4DigiManager * G4DigiManager::GetDMpointerIfExist ( )
static

Definition at line 52 of file G4DigiManager.cc.

References fDManager.

const G4VHitsCollection * G4DigiManager::GetHitsCollection ( G4int  HCID,
G4int  eventID = 0 
)

Definition at line 129 of file G4DigiManager.cc.

References G4RunManager::GetCurrentEvent(), G4HCofThisEvent::GetHC(), G4Event::GetHCofThisEvent(), G4RunManager::GetPreviousEvent(), and runManager.

Referenced by GammaRayTelDigitizer::Digitize(), CexmcTrackPointsDigitizer::Digitize(), and CexmcEnergyDepositDigitizer::Digitize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4DigiManager::GetHitsCollectionID ( G4String  HCname)

Definition at line 159 of file G4DigiManager.cc.

References G4SDManager::GetCollectionID(), and SDManager.

Referenced by GammaRayTelDigitizer::Digitize(), CexmcTrackPointsDigitizer::Digitize(), and CexmcEnergyDepositDigitizer::Digitize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4DigiManager::GetModuleCapacity ( ) const
inline

Definition at line 118 of file G4DigiManager.hh.

G4int G4DigiManager::GetVerboseLevel ( ) const
inline

Definition at line 114 of file G4DigiManager.hh.

References verboseLevel.

void G4DigiManager::List ( ) const

Definition at line 208 of file G4DigiManager.cc.

References DMtable, G4cout, and G4endl.

Referenced by G4DMmessenger::SetNewValue().

+ Here is the caller graph for this function:

G4DigiManager& G4DigiManager::operator= ( const G4DigiManager )
private
void G4DigiManager::RestoreDCtable ( G4DCtable dc)
inline

Definition at line 122 of file G4DigiManager.hh.

References DCtable.

void G4DigiManager::SetDigiCollection ( G4int  DCID,
G4VDigiCollection aDC 
)

Definition at line 172 of file G4DigiManager.cc.

References G4DCofThisEvent::AddDigiCollection(), DCtable, G4DCtable::entries(), G4cout, G4endl, G4RunManager::GetCurrentEvent(), G4Event::GetDCofThisEvent(), G4VDigiCollection::GetName(), runManager, G4Event::SetDCofThisEvent(), and verboseLevel.

Referenced by G4VDigitizerModule::StoreDigiCollection().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DigiManager::SetVerboseLevel ( G4int  vl)

Definition at line 201 of file G4DigiManager.cc.

References DMtable, and verboseLevel.

Referenced by G4DMmessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4DCtable* G4DigiManager::DCtable
private
std::vector<G4VDigitizerModule*> G4DigiManager::DMtable
private
G4ThreadLocal G4DigiManager * G4DigiManager::fDManager = 0
staticprivate

Definition at line 105 of file G4DigiManager.hh.

Referenced by GetDMpointer(), and GetDMpointerIfExist().

G4RunManager* G4DigiManager::runManager
private
G4SDManager* G4DigiManager::SDManager
private

Definition at line 111 of file G4DigiManager.hh.

Referenced by G4DigiManager(), and GetHitsCollectionID().

G4DMmessenger* G4DigiManager::theMessenger
private

Definition at line 109 of file G4DigiManager.hh.

Referenced by G4DigiManager(), and ~G4DigiManager().

G4int G4DigiManager::verboseLevel
private

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