#include <G4PSPassageCellCurrent.hh>
Definition at line 49 of file G4PSPassageCellCurrent.hh.
◆ G4PSPassageCellCurrent()
G4PSPassageCellCurrent::G4PSPassageCellCurrent |
( |
G4String |
name, |
|
|
G4int |
depth = 0 |
|
) |
| |
Definition at line 47 of file G4PSPassageCellCurrent.cc.
virtual void SetUnit(const G4String &unit)
G4THitsMap< G4double > * EvtMap
G4VPrimitiveScorer(G4String name, G4int depth=0)
◆ ~G4PSPassageCellCurrent()
G4PSPassageCellCurrent::~G4PSPassageCellCurrent |
( |
| ) |
|
|
virtual |
◆ clear()
void G4PSPassageCellCurrent::clear |
( |
void |
| ) |
|
|
virtual |
◆ DrawAll()
void G4PSPassageCellCurrent::DrawAll |
( |
void |
| ) |
|
|
virtual |
◆ EndOfEvent()
◆ Initialize()
Reimplemented from G4VPrimitiveScorer.
Definition at line 92 of file G4PSPassageCellCurrent.cc.
G4int GetCollectionID(G4int)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4THitsMap< G4double > * EvtMap
G4MultiFunctionalDetector * detector
◆ IsPassed()
G4bool G4PSPassageCellCurrent::IsPassed |
( |
G4Step * |
aStep | ) |
|
|
protectedvirtual |
Definition at line 69 of file G4PSPassageCellCurrent.cc.
72 G4bool IsEnter = aStep->GetPreStepPoint()->GetStepStatus() == fGeomBoundary;
73 G4bool IsExit = aStep->GetPostStepPoint()->GetStepStatus() == fGeomBoundary;
75 G4int trkid = aStep->GetTrack()->GetTrackID();
77 if ( IsEnter &&IsExit ){
◆ PrintAll()
void G4PSPassageCellCurrent::PrintAll |
( |
void |
| ) |
|
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 114 of file G4PSPassageCellCurrent.cc.
119 std::map<G4int,G4double*>::iterator itr =
EvtMap->
GetMap()->begin();
121 G4cout <<
" copy no.: " << itr->first
122 <<
" cell current : " << *(itr->second)
std::map< G4int, T * > * GetMap() const
G4GLOB_DLL std::ostream G4cout
G4THitsMap< G4double > * EvtMap
G4MultiFunctionalDetector * detector
◆ ProcessHits()
Implements G4VPrimitiveScorer.
Definition at line 57 of file G4PSPassageCellCurrent.cc.
G4int add(const G4int &key, T *&aHit) const
virtual G4bool IsPassed(G4Step *)
virtual G4int GetIndex(G4Step *)
G4THitsMap< G4double > * EvtMap
◆ SetUnit()
void G4PSPassageCellCurrent::SetUnit |
( |
const G4String & |
unit | ) |
|
|
virtual |
Definition at line 128 of file G4PSPassageCellCurrent.cc.
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
const G4String & GetUnit() const
◆ Weighted()
void G4PSPassageCellCurrent::Weighted |
( |
G4bool |
flg = true | ) |
|
|
inline |
◆ EvtMap
◆ fCurrent
G4double G4PSPassageCellCurrent::fCurrent |
|
private |
◆ fCurrentTrkID
G4int G4PSPassageCellCurrent::fCurrentTrkID |
|
private |
◆ HCID
G4int G4PSPassageCellCurrent::HCID |
|
private |
◆ weighted
G4bool G4PSPassageCellCurrent::weighted |
|
private |
The documentation for this class was generated from the following files: