#include <G4PSTermination.hh>
Definition at line 47 of file G4PSTermination.hh.
◆ G4PSTermination()
G4PSTermination::G4PSTermination |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 43 of file G4PSTermination.cc.
45{
47}
virtual void SetUnit(const G4String &unit)
◆ ~G4PSTermination()
G4PSTermination::~G4PSTermination |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSTermination::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSTermination::DrawAll |
( |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 63 of file G4PSTermination.cc.
64{
68}
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
◆ PrintAll()
void G4PSTermination::PrintAll |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 80 of file G4PSTermination.cc.
81{
85 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
86 for(; itr != EvtMap->
GetMap()->end(); itr++) {
87 G4cout <<
" copy no.: " << itr->first
88 << " terminations: " << *(itr->second)
90 }
91}
G4DLLIMPORT std::ostream G4cout
std::map< G4int, T * > * GetMap() const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 52 of file G4PSTermination.cc.
53{
55
59 EvtMap->
add(index,val);
61}
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4int add(const G4int &key, T *&aHit) const
G4TrackStatus GetTrackStatus() const
virtual G4int GetIndex(G4Step *)
◆ SetUnit()
Definition at line 93 of file G4PSTermination.cc.
94{
95 if (unit == "" ){
98 }else{
101 }
102
103}
const G4String & GetUnit() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Referenced by G4PSTermination().
◆ Weighted()
void G4PSTermination::Weighted |
( |
G4bool |
flg = true | ) |
|
|
inline |
The documentation for this class was generated from the following files: