32 #include "G4VHitsCollection.hh"
76 for(
int j=0;j<int(
DMtable.size());j++)
80 G4cout <<
"<" << DMname <<
"> has already been registored." <<
G4endl;
86 G4cout <<
"New DigitizerModule <" << DMname
87 <<
"> is registored." <<
G4endl;
92 for(
int i=0;i<numberOfCollections;i++)
97 G4cout <<
"DigiCollection <" << DCname
98 <<
"> has already been registored with "
99 << DMname <<
" DigitizerModule." <<
G4endl;
103 G4cout <<
"DigiCollection " << DCname
104 <<
" is registored. " <<
G4endl;
117 {
G4cout <<
"Unknown digitizer module <" << mName <<
">. Digitize() ignored." <<
G4endl; }
136 if(evt==NULL)
return NULL;
139 if(HCE==NULL)
return NULL;
141 return HCE->
GetHC(HCID);
151 if(evt==NULL)
return NULL;
154 if(DCE==NULL)
return NULL;
156 return DCE->
GetDC(DCID);
168 {
G4cout <<
"< " << DCname <<
"> is ambegious." <<
G4endl; }
177 G4cout <<
"G4DigiManager::SetDigiCollection --- "
178 <<
"Event object is not available." <<
G4endl;
189 {
G4cout <<
"DCofThisEvent object is added to current G4Event." <<
G4endl; }
197 <<
"-th slot of G4DCofThisEvent." <<
G4endl;
205 {
DMtable[i]->SetVerboseLevel(val); }
G4VHitsCollection * GetHC(G4int i)
G4int GetCollectionID(G4String colName)
std::vector< G4VDigitizerModule * > DMtable
static G4DigiManager * GetDMpointer()
const G4Event * GetPreviousEvent(G4int i) const
G4VDigiCollection * GetDC(G4int i) const
void SetVerboseLevel(G4int vl)
const G4VHitsCollection * GetHitsCollection(G4int HCID, G4int eventID=0)
virtual void Digitize()=0
G4int GetNumberOfCollections() const
G4GLOB_DLL std::ostream G4cout
G4int GetHitsCollectionID(G4String HCname)
static G4DigiManager * GetDMpointerIfExist()
void Digitize(G4String mName)
void SetDigiCollection(G4int DCID, G4VDigiCollection *aDC)
void AddNewModule(G4VDigitizerModule *DM)
G4int Registor(G4String SDname, G4String DCname)
G4int GetDigiCollectionID(G4String DCname)
static G4ThreadLocal G4DigiManager * fDManager
static G4RunManager * GetRunManager()
void SetDCtable(G4DCtable *DCtbl)
G4String GetCollectionName(G4int i) const
void SetDCofThisEvent(G4DCofThisEvent *value)
G4RunManager * runManager
G4DMmessenger * theMessenger
void AddDigiCollection(G4int DCID, G4VDigiCollection *aDC)
static G4SDManager * GetSDMpointer()
const G4VDigiCollection * GetDigiCollection(G4int DCID, G4int eventID=0)
G4HCofThisEvent * GetHCofThisEvent() const
G4DCofThisEvent * GetDCofThisEvent() const
const G4Event * GetCurrentEvent() const
G4VDigitizerModule * FindDigitizerModule(G4String mName)
G4int GetCollectionID(G4String DCname) const