#include <G4PSCellCharge.hh>
Definition at line 45 of file G4PSCellCharge.hh.
◆ G4PSCellCharge() [1/2]
G4PSCellCharge::G4PSCellCharge |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 42 of file G4PSCellCharge.cc.
44{
46}
virtual void SetUnit(const G4String &unit)
◆ G4PSCellCharge() [2/2]
◆ ~G4PSCellCharge()
G4PSCellCharge::~G4PSCellCharge |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSCellCharge::clear |
( |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSCellCharge::DrawAll |
( |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 83 of file G4PSCellCharge.cc.
84{
89}
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4MultiFunctionalDetector * detector
G4int GetCollectionID(G4int)
◆ PrintAll()
void G4PSCellCharge::PrintAll |
( |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 101 of file G4PSCellCharge.cc.
102{
106 std::map<G4int,G4double*>::iterator itr = EvtMap->
GetMap()->begin();
107 for(; itr != EvtMap->
GetMap()->end(); itr++) {
108 G4cout <<
" copy no.: " << itr->first
112 }
113}
G4GLOB_DLL std::ostream G4cout
const G4String & GetUnit() const
G4double GetUnitValue() const
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 58 of file G4PSCellCharge.cc.
59{
60
61
68 EvtMap->
add(index,CellCharge);
69 }
70
71
76 CellCharge *= -1.0;
77 EvtMap->
add(index,CellCharge);
78 }
79
81}
G4StepStatus GetStepStatus() const
G4double GetCharge() const
G4double GetWeight() const
G4Track * GetTrack() const
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
G4int GetCurrentStepNumber() const
G4int GetParentID() const
virtual G4int GetIndex(G4Step *)
size_t add(const G4int &key, U *&aHit) const
◆ SetUnit()
void G4PSCellCharge::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
The documentation for this class was generated from the following files: