#include <G4PSEnergyDeposit.hh>
Definition at line 45 of file G4PSEnergyDeposit.hh.
◆ G4PSEnergyDeposit() [1/2]
G4PSEnergyDeposit::G4PSEnergyDeposit |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 41 of file G4PSEnergyDeposit.cc.
G4THitsMap< G4double > * EvtMap
virtual void SetUnit(const G4String &unit)
G4VPrimitiveScorer(G4String name, G4int depth=0)
◆ G4PSEnergyDeposit() [2/2]
Definition at line 47 of file G4PSEnergyDeposit.cc.
G4THitsMap< G4double > * EvtMap
virtual void SetUnit(const G4String &unit)
G4VPrimitiveScorer(G4String name, G4int depth=0)
◆ ~G4PSEnergyDeposit()
G4PSEnergyDeposit::~G4PSEnergyDeposit |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSEnergyDeposit::clear |
( |
void |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSEnergyDeposit::DrawAll |
( |
void |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 67 of file G4PSEnergyDeposit.cc.
G4THitsMap< G4double > * EvtMap
G4MultiFunctionalDetector * GetMultiFunctionalDetector() const
G4int GetCollectionID(G4int)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
◆ PrintAll()
void G4PSEnergyDeposit::PrintAll |
( |
void |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 86 of file G4PSEnergyDeposit.cc.
91 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
93 G4cout <<
" copy no.: " << itr->first
94 <<
" energy deposit: " G4double GetUnitValue() const
std::map< G4int, T * > * GetMap() const
G4GLOB_DLL std::ostream G4cout
G4THitsMap< G4double > * EvtMap
G4MultiFunctionalDetector * detector
const G4String & GetUnit() const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 57 of file G4PSEnergyDeposit.cc.
60 if ( edep == 0. )
return FALSE;
61 edep *= aStep->GetPreStepPoint()->GetWeight();
G4int add(const G4int &key, T *&aHit) const
G4THitsMap< G4double > * EvtMap
virtual G4int GetIndex(G4Step *)
◆ SetUnit()
void G4PSEnergyDeposit::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
Definition at line 101 of file G4PSEnergyDeposit.cc.
void CheckAndSetUnit(const G4String &unit, const G4String &category)
◆ EvtMap
◆ HCID
G4int G4PSEnergyDeposit::HCID |
|
private |
The documentation for this class was generated from the following files: