Geant4
10.01.p03
|
#include <G4PSPassageTrackLength.hh>
Protected Member Functions | |
virtual G4bool | ProcessHits (G4Step *, G4TouchableHistory *) |
G4bool | IsPassed (G4Step *) |
Protected Member Functions inherited from G4VPrimitiveScorer | |
virtual G4int | GetIndex (G4Step *) |
void | CheckAndSetUnit (const G4String &unit, const G4String &category) |
Private Attributes | |
G4int | HCID |
G4int | fCurrentTrkID |
G4double | fTrackLength |
G4THitsMap< G4double > * | EvtMap |
G4bool | weighted |
Additional Inherited Members | |
Protected Attributes inherited from G4VPrimitiveScorer | |
G4String | primitiveName |
G4MultiFunctionalDetector * | detector |
G4VSDFilter * | filter |
G4int | verboseLevel |
G4int | indexDepth |
G4String | unitName |
G4double | unitValue |
G4int | fNi |
G4int | fNj |
G4int | fNk |
Definition at line 47 of file G4PSPassageTrackLength.hh.
Definition at line 46 of file G4PSPassageTrackLength.cc.
References SetUnit().
G4PSPassageTrackLength::G4PSPassageTrackLength | ( | G4String | name, |
const G4String & | unit, | ||
G4int | depth = 0 |
||
) |
Definition at line 53 of file G4PSPassageTrackLength.cc.
References SetUnit().
|
virtual |
Definition at line 63 of file G4PSPassageTrackLength.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 119 of file G4PSPassageTrackLength.cc.
References G4THitsMap< T >::clear(), and EvtMap.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 123 of file G4PSPassageTrackLength.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 116 of file G4PSPassageTrackLength.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 107 of file G4PSPassageTrackLength.cc.
References G4HCofThisEvent::AddHitsCollection(), G4VPrimitiveScorer::detector, EvtMap, fCurrentTrkID, G4VPrimitiveScorer::GetCollectionID(), G4VPrimitiveScorer::GetName(), G4VSensitiveDetector::GetName(), and HCID.
Definition at line 77 of file G4PSPassageTrackLength.cc.
References FALSE, fCurrentTrkID, fGeomBoundary, fTrackLength, G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetStepLength(), G4StepPoint::GetStepStatus(), G4Step::GetTrack(), G4Track::GetTrackID(), G4StepPoint::GetWeight(), TRUE, and weighted.
Referenced by ProcessHits().
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 126 of file G4PSPassageTrackLength.cc.
References G4VPrimitiveScorer::detector, G4THitsMap< T >::entries(), EvtMap, G4cout, G4endl, G4THitsMap< T >::GetMap(), G4VPrimitiveScorer::GetName(), G4VSensitiveDetector::GetName(), G4VPrimitiveScorer::GetUnit(), and G4VPrimitiveScorer::GetUnitValue().
|
protectedvirtual |
Implements G4VPrimitiveScorer.
Definition at line 66 of file G4PSPassageTrackLength.cc.
References G4THitsMap< T >::add(), EvtMap, fTrackLength, G4VPrimitiveScorer::GetIndex(), IsPassed(), and TRUE.
|
virtual |
Definition at line 141 of file G4PSPassageTrackLength.cc.
References G4VPrimitiveScorer::CheckAndSetUnit().
Referenced by G4PSPassageTrackLength(), G4PSPassageTrackLength3D::G4PSPassageTrackLength3D(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 56 of file G4PSPassageTrackLength.hh.
References weighted.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
private |
Definition at line 76 of file G4PSPassageTrackLength.hh.
Referenced by clear(), Initialize(), PrintAll(), and ProcessHits().
|
private |
Definition at line 74 of file G4PSPassageTrackLength.hh.
Referenced by Initialize(), and IsPassed().
|
private |
Definition at line 75 of file G4PSPassageTrackLength.hh.
Referenced by IsPassed(), and ProcessHits().
|
private |
Definition at line 73 of file G4PSPassageTrackLength.hh.
Referenced by Initialize().
|
private |
Definition at line 77 of file G4PSPassageTrackLength.hh.
Referenced by IsPassed(), and Weighted().