#include <G4PSEnergyDeposit.hh>
Definition at line 47 of file G4PSEnergyDeposit.hh.
◆ G4PSEnergyDeposit() [1/2]
G4PSEnergyDeposit::G4PSEnergyDeposit |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
◆ G4PSEnergyDeposit() [2/2]
◆ ~G4PSEnergyDeposit()
G4PSEnergyDeposit::~G4PSEnergyDeposit |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSEnergyDeposit::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSEnergyDeposit::DrawAll |
( |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 85 of file G4PSEnergyDeposit.cc.
86{
91}
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4MultiFunctionalDetector * GetMultiFunctionalDetector() const
G4int GetCollectionID(G4int)
◆ PrintAll()
void G4PSEnergyDeposit::PrintAll |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 104 of file G4PSEnergyDeposit.cc.
105{
109 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
110 for(; itr != EvtMap->
GetMap()->end(); itr++) {
111 G4cout <<
" copy no.: " << itr->first
112 << " energy deposit: "
116 }
117}
G4GLOB_DLL std::ostream G4cout
const G4String & GetUnit() const
G4MultiFunctionalDetector * detector
G4double GetUnitValue() const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 59 of file G4PSEnergyDeposit.cc.
60{
62 if ( edep == 0. )
return FALSE;
66 EvtMap->
add(index,edepwei);
67
69 {
71 if(!filler)
72 {
74 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
75 }
76 else
77 {
78 filler->FillH1(
hitIDMap[index],edep,wei);
79 }
80 }
81
83}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double GetWeight() const
G4StepPoint * GetPreStepPoint() const
G4double GetTotalEnergyDeposit() const
std::map< G4int, G4int > hitIDMap
virtual G4int GetIndex(G4Step *)
static G4VScoreHistFiller * Instance()
size_t add(const G4int &key, U *&aHit) const
◆ SetUnit()
void G4PSEnergyDeposit::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
The documentation for this class was generated from the following files: