46 multiplyKinE(false),divideByVelocity(false)
55 multiplyKinE(false),divideByVelocity(false)
81 if ( trklength == 0. )
return FALSE;
112 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
114 G4cout <<
" copy no.: " << itr->first ;
117 else G4cout <<
" EnergyFlow: ";
120 else G4cout <<
" Length: ";
const G4String & GetUnit() const
G4int GetCollectionID(G4int)
static constexpr double MeV
G4StepPoint * GetPreStepPoint() const
static constexpr double keV
static constexpr double mm
G4int add(const G4int &key, U *&aHit) const
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
virtual void DefineUnitAndCategory()
static constexpr double second
virtual void EndOfEvent(G4HCofThisEvent *)
virtual G4int GetIndex(G4Step *)
void DivideByVelocity(G4bool flg=true)
G4double GetVelocity() const
static constexpr double m
G4PSTrackLength(G4String name, G4int depth=0)
G4double GetStepLength() const
virtual void SetUnit(const G4String &unit)
static constexpr double eV
G4double GetKineticEnergy() const
void CheckAndSetUnit(const G4String &unit, const G4String &category)
static constexpr double ms
static constexpr double cm
G4GLOB_DLL std::ostream G4cout
G4double GetWeight() const
G4MultiFunctionalDetector * detector
void MultiplyKineticEnergy(G4bool flg=true)
G4double GetUnitValue() const
virtual void Initialize(G4HCofThisEvent *)
virtual ~G4PSTrackLength()
G4THitsMap< G4double > * EvtMap