54 , divideByVelocity(false)
69 divideByVelocity = flg;
86 EvtMap->
add(index, trklength);
107 for(
const auto& [copy, length] : *(EvtMap->
GetMap()))
109 G4cout <<
" copy no.: " << copy;
113 G4cout <<
" EnergyFlux: ";
115 G4cout <<
" EnergyFlow: ";
190 new G4UnitDefinition(
"keV_millisecond",
"keV_ms",
"EnergyFlux", (keV * ms));
191 new G4UnitDefinition(
"MeV_millisecond",
"MeV_ms",
"EnergyFlux", (MeV * ms));
G4GLOB_DLL std::ostream G4cout
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4PSTrackLength(G4String name, G4int depth=0)
virtual void SetUnit(const G4String &unit)
virtual void DefineUnitAndCategory()
void Initialize(G4HCofThisEvent *) override
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
void MultiplyKineticEnergy(G4bool flg=true)
void DivideByVelocity(G4bool flg=true)
G4double GetVelocity() const
G4double GetKineticEnergy() const
G4double GetWeight() const
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() 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