Geant4
10.01.p02
|
#include <G4DigiManager.hh>
Public Member Functions | |
~G4DigiManager () | |
void | AddNewModule (G4VDigitizerModule *DM) |
void | Digitize (G4String mName) |
G4VDigitizerModule * | FindDigitizerModule (G4String mName) |
const G4VHitsCollection * | GetHitsCollection (G4int HCID, G4int eventID=0) |
const G4VDigiCollection * | GetDigiCollection (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 |
G4DCtable * | GetDCtable () const |
void | RestoreDCtable (G4DCtable *dc) |
Static Public Member Functions | |
static G4DigiManager * | GetDMpointer () |
static G4DigiManager * | GetDMpointerIfExist () |
Protected Member Functions | |
G4DigiManager () | |
Private Member Functions | |
G4DigiManager (const G4DigiManager &) | |
G4DigiManager & | operator= (const G4DigiManager &) |
Private Attributes | |
G4int | verboseLevel |
std::vector< G4VDigitizerModule * > | DMtable |
G4DCtable * | DCtable |
G4DMmessenger * | theMessenger |
G4RunManager * | runManager |
G4SDManager * | SDManager |
Static Private Attributes | |
static G4ThreadLocal G4DigiManager * | fDManager = 0 |
Definition at line 54 of file G4DigiManager.hh.
|
protected |
Definition at line 55 of file G4DigiManager.cc.
References DCtable, G4RunManager::GetRunManager(), G4SDManager::GetSDMpointer(), runManager, SDManager, and theMessenger.
Referenced by GetDMpointer().
G4DigiManager::~G4DigiManager | ( | ) |
Definition at line 63 of file G4DigiManager.cc.
References DCtable, DMtable, and theMessenger.
|
private |
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().
void G4DigiManager::Digitize | ( | G4String | mName | ) |
Definition at line 111 of file G4DigiManager.cc.
References G4VDigitizerModule::Digitize(), FindDigitizerModule(), G4cout, and G4endl.
Referenced by G4DMmessenger::SetNewValue().
G4VDigitizerModule * G4DigiManager::FindDigitizerModule | ( | G4String | mName | ) |
Definition at line 120 of file G4DigiManager.cc.
References DMtable.
Referenced by Digitize(), and GammaRayTelEventAction::EndOfEventAction().
|
inline |
Definition at line 116 of file G4DigiManager.hh.
References G4DCtable::entries().
|
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().
Definition at line 164 of file G4DigiManager.cc.
References DCtable, G4cout, G4endl, and G4DCtable::GetCollectionID().
Referenced by GammaRayTelDigitizer::Digitize(), GammaRayTelEventAction::EndOfEventAction(), and G4VDigitizerModule::StoreDigiCollection().
|
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().
|
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().
Definition at line 159 of file G4DigiManager.cc.
References G4SDManager::GetCollectionID(), and SDManager.
Referenced by GammaRayTelDigitizer::Digitize(), CexmcTrackPointsDigitizer::Digitize(), and CexmcEnergyDepositDigitizer::Digitize().
|
inline |
Definition at line 118 of file G4DigiManager.hh.
|
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().
|
private |
|
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().
void G4DigiManager::SetVerboseLevel | ( | G4int | vl | ) |
Definition at line 201 of file G4DigiManager.cc.
References DMtable, and verboseLevel.
Referenced by G4DMmessenger::SetNewValue().
|
private |
Definition at line 108 of file G4DigiManager.hh.
Referenced by AddNewModule(), G4DigiManager(), GetDCtable(), GetDigiCollectionID(), RestoreDCtable(), SetDigiCollection(), and ~G4DigiManager().
|
private |
Definition at line 107 of file G4DigiManager.hh.
Referenced by AddNewModule(), FindDigitizerModule(), List(), SetVerboseLevel(), and ~G4DigiManager().
|
staticprivate |
Definition at line 105 of file G4DigiManager.hh.
Referenced by GetDMpointer(), and GetDMpointerIfExist().
|
private |
Definition at line 110 of file G4DigiManager.hh.
Referenced by AddNewModule(), G4DigiManager(), GetDigiCollection(), GetHitsCollection(), and SetDigiCollection().
|
private |
Definition at line 111 of file G4DigiManager.hh.
Referenced by G4DigiManager(), and GetHitsCollectionID().
|
private |
Definition at line 109 of file G4DigiManager.hh.
Referenced by G4DigiManager(), and ~G4DigiManager().
|
private |
Definition at line 106 of file G4DigiManager.hh.
Referenced by AddNewModule(), GetVerboseLevel(), SetDigiCollection(), and SetVerboseLevel().