56 EvtMap->
add(index, val);
77 for(
const auto& [copy, collisions] : *(EvtMap->
GetMap()))
79 G4cout <<
" copy no.: " << copy
81 <<
" [collision] " <<
G4endl;
94 G4String msg =
"Invalid unit [" + unit +
"] (Current unit is [" +
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
void Initialize(G4HCofThisEvent *) override
virtual void SetUnit(const G4String &unit)
G4PSNofCollision(G4String name, G4int depth=0)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4StepStatus GetStepStatus() const
G4double GetWeight() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
G4double GetUnitValue() const
size_t add(const G4int &key, U *&aHit) const