#include <G4PSTermination.hh>
Definition at line 46 of file G4PSTermination.hh.
◆ G4PSTermination()
G4PSTermination::G4PSTermination |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 42 of file G4PSTermination.cc.
44{
46}
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 62 of file G4PSTermination.cc.
63{
67}
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
◆ PrintAll()
void G4PSTermination::PrintAll |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 79 of file G4PSTermination.cc.
80{
84 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
85 for(; itr != EvtMap->
GetMap()->end(); itr++) {
86 G4cout <<
" copy no.: " << itr->first
87 << " terminations: " << *(itr->second)
89 }
90}
G4GLOB_DLL std::ostream G4cout
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 51 of file G4PSTermination.cc.
52{
54
58 EvtMap->
add(index,val);
60}
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4TrackStatus GetTrackStatus() const
virtual G4int GetIndex(G4Step *)
size_t add(const G4int &key, U *&aHit) const
◆ SetUnit()
void G4PSTermination::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
Definition at line 92 of file G4PSTermination.cc.
93{
94 if (unit == "" ){
97 }else{
100 }
101
102}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
const G4String & GetUnit() const
Referenced by G4PSTermination().
◆ Weighted()
void G4PSTermination::Weighted |
( |
G4bool |
flg = true | ) |
|
|
inline |
The documentation for this class was generated from the following files: