64 EvtMap->
add(index, weight);
72 "G4PSVolumeFlux::ProcessHits",
"SCORER0123",
JustWarning,
73 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
93 msg +=
"> not found.";
116 for(
const auto& [copy, secondaries] : *(EvtMap->
GetMap()))
118 G4cout <<
" copy no.: " << copy
119 <<
" num of secondaries: " << *(secondaries) /
GetUnitValue()
133 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)
G4PSNofSecondary(G4String name, G4int depth=0)
void Initialize(G4HCofThisEvent *) override
void SetParticle(const G4String &particleName)
virtual void SetUnit(const G4String &unit)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4double GetKineticEnergy() const
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4int GetCurrentStepNumber() const
G4ParticleDefinition * GetDefinition() const
G4int GetParentID() const
std::map< G4int, G4int > hitIDMap
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
G4double GetUnitValue() const
static G4VScoreHistFiller * Instance()
size_t add(const G4int &key, U *&aHit) const