32 #include "G4VHitsCollection.hh"
66 for(
G4int i=0;i<
int(DMtable.size());i++)
67 {
delete DMtable[i]; }
76 for(
int j=0;j<
int(DMtable.size());j++)
80 G4cout <<
"<" << DMname <<
"> has already been registored." <<
G4endl;
84 if( verboseLevel > 0 )
86 G4cout <<
"New DigitizerModule <" << DMname
87 <<
"> is registored." <<
G4endl;
89 DMtable.push_back(DM);
92 for(
int i=0;i<numberOfCollections;i++)
95 if( DCtable->
Registor(DMname,DCname) < 0 )
97 G4cout <<
"DigiCollection <" << DCname
98 <<
"> has already been registored with "
99 << DMname <<
" DigitizerModule." <<
G4endl;
101 else if( verboseLevel > 0 )
103 G4cout <<
"DigiCollection " << DCname
104 <<
" is registored. " <<
G4endl;
117 {
G4cout <<
"Unknown digitizer module <" << mName <<
">. Digitize() ignored." <<
G4endl; }
122 for(
G4int i=0;i<
int(DMtable.size());i++)
124 if(DMtable[i]->GetName() == mName)
return DMtable[i];
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;
204 for(
G4int i=0;i<
int(DMtable.size());i++)
205 { DMtable[i]->SetVerboseLevel(val); }
210 for(
G4int i=0;i<
int(DMtable.size());i++)
211 {
G4cout <<
" " << i <<
" : " << DMtable[i]->GetName() <<
G4endl; }