64 EvtMap->
add(index, fCurrent);
72 "G4PSVolumeFlux::ProcessHits",
"SCORER0123",
JustWarning,
73 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
101 fCurrentTrkID = trkid;
105 if(fCurrentTrkID == trkid)
112 if(fCurrentTrkID == trkid)
136 for(
const auto& [copy, current] : *(EvtMap->
GetMap()))
138 G4cout <<
" copy no.: " << copy
139 <<
" cell current : " << *(current) <<
" [tracks] " <<
G4endl;
152 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)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
virtual void SetUnit(const G4String &unit)
virtual G4bool IsPassed(G4Step *)
G4PSPassageCellCurrent(G4String name, G4int depth=0)
void Initialize(G4HCofThisEvent *) override
G4StepStatus GetStepStatus() const
G4double GetKineticEnergy() const
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() 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