#include <G4PSNofStep.hh>
Definition at line 47 of file G4PSNofStep.hh.
◆ G4PSNofStep()
Definition at line 43 of file G4PSNofStep.cc.
45{
47}
virtual void SetUnit(const G4String &unit)
◆ ~G4PSNofStep()
G4PSNofStep::~G4PSNofStep |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSNofStep::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSNofStep::DrawAll |
( |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 78 of file G4PSNofStep.cc.
79{
83}
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
◆ PrintAll()
void G4PSNofStep::PrintAll |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 95 of file G4PSNofStep.cc.
96{
100 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
101 for(; itr != EvtMap->
GetMap()->end(); itr++) {
102 G4cout <<
" copy no.: " << itr->first
103 << " num of step: " << *(itr->second)
104 << " [steps] "
106 }
107}
G4GLOB_DLL std::ostream G4cout
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 52 of file G4PSNofStep.cc.
53{
54 if ( boundaryFlag ) {
56 }
59 EvtMap->
add(index,val);
60
62 {
64 if(!filler)
65 {
67 "G4TScoreHistFiller is not instantiated!! Histogram is not filled.");
68 }
69 else
70 {
72 }
73 }
74
76}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4double GetStepLength() const
std::map< G4int, G4int > hitIDMap
virtual G4int GetIndex(G4Step *)
static G4VScoreHistFiller * Instance()
size_t add(const G4int &key, U *&aHit) const
◆ SetBoundaryFlag()
void G4PSNofStep::SetBoundaryFlag |
( |
G4bool |
flg = true | ) |
|
|
inline |
◆ SetUnit()
void G4PSNofStep::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
Definition at line 109 of file G4PSNofStep.cc.
110{
111 if (unit == "" ){
114 }else{
117 }
118
119}
const G4String & GetUnit() const
Referenced by G4PSNofStep().
The documentation for this class was generated from the following files: