#include <G4PSPopulation.hh>
Definition at line 48 of file G4PSPopulation.hh.
◆ G4PSPopulation()
G4PSPopulation::G4PSPopulation |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 41 of file G4PSPopulation.cc.
43{
45}
virtual void SetUnit(const G4String &unit)
◆ ~G4PSPopulation()
G4PSPopulation::~G4PSPopulation |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSPopulation::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSPopulation::DrawAll |
( |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 64 of file G4PSPopulation.cc.
65{
69}
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
◆ PrintAll()
void G4PSPopulation::PrintAll |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 84 of file G4PSPopulation.cc.
85{
89 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
90 for(; itr != EvtMap->
GetMap()->end(); itr++) {
91 G4cout <<
" copy no.: " << itr->first
93 << " [tracks]"
95 }
96}
G4GLOB_DLL std::ostream G4cout
G4double GetUnitValue() const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 50 of file G4PSPopulation.cc.
51{
52
58 EvtMap->
add(index,val);
59 }
60
62}
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4bool FirstEnterance(G4int trid)
virtual G4int GetIndex(G4Step *)
size_t add(const G4int &key, U *&aHit) const
◆ SetUnit()
void G4PSPopulation::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
Definition at line 98 of file G4PSPopulation.cc.
99{
100 if (unit == "" ){
103 }else{
106 }
107
108}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
const G4String & GetUnit() const
Referenced by G4PSPopulation().
◆ Weighted()
void G4PSPopulation::Weighted |
( |
G4bool |
flg = true | ) |
|
|
inline |
The documentation for this class was generated from the following files: