63 EvtMap->
add(index, CellCharge);
73 EvtMap->
add(index, CellCharge);
94 for(
const auto& [copy, charge] : *(EvtMap->
GetMap()))
96 G4cout <<
" copy no.: " << copy
97 <<
" cell charge : " << *(charge) /
GetUnitValue() <<
" ["
G4GLOB_DLL std::ostream G4cout
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4PSCellCharge(G4String name, G4int depth=0)
void Initialize(G4HCofThisEvent *) override
virtual void SetUnit(const G4String &unit)
G4StepStatus GetStepStatus() const
G4double GetCharge() const
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
G4int GetCurrentStepNumber() const
G4int GetParentID() const
virtual G4int GetIndex(G4Step *)
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
void CheckAndSetUnit(const G4String &unit, const G4String &category)
G4double GetUnitValue() const
size_t add(const G4int &key, U *&aHit) const