60 if ( edep == 0. )
return FALSE;
91 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
93 G4cout <<
" copy no.: " << itr->first
94 <<
" energy deposit: "
virtual ~G4PSEnergyDeposit()
G4double GetWeight() const
G4MultiFunctionalDetector * GetMultiFunctionalDetector() const
void CheckAndSetUnit(const G4String &unit, const G4String &category)
G4StepPoint * GetPreStepPoint() const
G4GLOB_DLL std::ostream G4cout
G4THitsMap< G4double > * EvtMap
G4double GetUnitValue() const
G4int add(const G4int &key, T *&aHit) const
virtual void EndOfEvent(G4HCofThisEvent *)
virtual G4int GetIndex(G4Step *)
G4int GetCollectionID(G4int)
G4double GetTotalEnergyDeposit() const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4PSEnergyDeposit(G4String name, G4int depth=0)
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
virtual void Initialize(G4HCofThisEvent *)
std::map< G4int, T * > * GetMap() const
G4MultiFunctionalDetector * detector
virtual void SetUnit(const G4String &unit)
const G4String & GetUnit() const