57 EvtMap->
add(index, val);
78 for(
const auto& [copy, terminations] : *(EvtMap->
GetMap()))
80 G4cout <<
" copy no.: " << copy
81 <<
" terminations: " << *(terminations) <<
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)
G4PSTermination(G4String name, G4int depth=0)
virtual void SetUnit(const G4String &unit)
void Initialize(G4HCofThisEvent *) override
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4TrackStatus GetTrackStatus() const
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
size_t add(const G4int &key, U *&aHit) const