58 EvtMap->
add(index, val);
66 "G4PSNofStep::ProcessHits",
"SCORER0123",
JustWarning,
67 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
95 for(
const auto& [copy, nsteps] : *(EvtMap->
GetMap()))
97 G4cout <<
" copy no.: " << copy
98 <<
" num of step: " << *(nsteps) <<
" [steps] " <<
G4endl;
111 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)
virtual void SetUnit(const G4String &unit)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4PSNofStep(G4String name, G4int depth=0)
void Initialize(G4HCofThisEvent *) override
G4double GetStepLength() const
std::map< G4int, G4int > hitIDMap
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
static G4VScoreHistFiller * Instance()
size_t add(const G4int &key, U *&aHit) const