104 std::map<G4int, G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
107 G4cout <<
" copy no.: " << itr->first
108 <<
" cell charge : " << *(itr->second) /
GetUnitValue() <<
" ["
G4GLOB_DLL std::ostream G4cout
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual void Initialize(G4HCofThisEvent *)
G4THitsMap< G4double > * EvtMap
virtual void EndOfEvent(G4HCofThisEvent *)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4PSCellCharge(G4String name, G4int depth=0)
virtual ~G4PSCellCharge()
virtual void SetUnit(const G4String &unit)
G4StepStatus GetStepStatus() const
G4double GetCharge() const
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
G4int GetCurrentStepNumber() const
G4int GetParentID() const
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
void CheckAndSetUnit(const G4String &unit, const G4String &category)
G4double GetUnitValue() const
size_t add(const G4int &key, U *&aHit) const
const char * name(G4int ptype)