Geant4
10.03
|
#include <G4PSTrackLength.hh>
Protected Member Functions | |
virtual G4bool | ProcessHits (G4Step *, G4TouchableHistory *) |
virtual void | DefineUnitAndCategory () |
Protected Member Functions inherited from G4VPrimitiveScorer | |
virtual G4int | GetIndex (G4Step *) |
void | CheckAndSetUnit (const G4String &unit, const G4String &category) |
Private Attributes | |
G4int | HCID |
G4THitsMap< G4double > * | EvtMap |
G4bool | weighted |
G4bool | multiplyKinE |
G4bool | divideByVelocity |
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 49 of file G4PSTrackLength.hh.
Definition at line 44 of file G4PSTrackLength.cc.
References DefineUnitAndCategory(), and SetUnit().
Definition at line 52 of file G4PSTrackLength.cc.
References DefineUnitAndCategory(), and SetUnit().
|
virtual |
Definition at line 61 of file G4PSTrackLength.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 100 of file G4PSTrackLength.cc.
References G4THitsMap< T >::clear(), and EvtMap.
|
protectedvirtual |
void G4PSTrackLength::DivideByVelocity | ( | G4bool | flg = true | ) |
Definition at line 71 of file G4PSTrackLength.cc.
References divideByVelocity, and SetUnit().
Referenced by B03ImportanceDetectorConstruction::ConstructSD(), B02ImportanceDetectorConstruction::ConstructSD(), B01DetectorConstruction::ConstructSDandField(), and G4ScoreQuantityMessenger::SetNewValue().
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 104 of file G4PSTrackLength.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 97 of file G4PSTrackLength.cc.
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 90 of file G4PSTrackLength.cc.
References G4HCofThisEvent::AddHitsCollection(), G4VPrimitiveScorer::detector, EvtMap, G4VPrimitiveScorer::GetCollectionID(), G4VPrimitiveScorer::GetName(), G4VSensitiveDetector::GetName(), and HCID.
void G4PSTrackLength::MultiplyKineticEnergy | ( | G4bool | flg = true | ) |
Definition at line 64 of file G4PSTrackLength.cc.
References multiplyKinE, and SetUnit().
Referenced by B03ImportanceDetectorConstruction::ConstructSD(), B02ImportanceDetectorConstruction::ConstructSD(), B01DetectorConstruction::ConstructSDandField(), and G4ScoreQuantityMessenger::SetNewValue().
|
virtual |
Reimplemented from G4VPrimitiveScorer.
Definition at line 107 of file G4PSTrackLength.cc.
References G4VPrimitiveScorer::detector, divideByVelocity, G4THitsMap< T >::entries(), EvtMap, G4cout, G4endl, G4THitsMap< T >::GetMap(), G4VPrimitiveScorer::GetName(), G4VSensitiveDetector::GetName(), G4VPrimitiveScorer::GetUnit(), G4VPrimitiveScorer::GetUnitValue(), and multiplyKinE.
|
protectedvirtual |
Implements G4VPrimitiveScorer.
Definition at line 78 of file G4PSTrackLength.cc.
References G4THitsMap< T >::add(), divideByVelocity, EvtMap, FALSE, G4VPrimitiveScorer::GetIndex(), G4StepPoint::GetKineticEnergy(), G4Step::GetPreStepPoint(), G4Step::GetStepLength(), G4StepPoint::GetVelocity(), G4StepPoint::GetWeight(), multiplyKinE, TRUE, and weighted.
|
virtual |
Definition at line 128 of file G4PSTrackLength.cc.
References G4VPrimitiveScorer::CheckAndSetUnit(), divideByVelocity, and multiplyKinE.
Referenced by DivideByVelocity(), G4PSTrackLength(), G4PSTrackLength3D::G4PSTrackLength3D(), MultiplyKineticEnergy(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 57 of file G4PSTrackLength.hh.
References weighted.
Referenced by B03ImportanceDetectorConstruction::ConstructSD(), B02ImportanceDetectorConstruction::ConstructSD(), B01DetectorConstruction::ConstructSDandField(), and G4ScoreQuantityMessenger::SetNewValue().
|
private |
Definition at line 87 of file G4PSTrackLength.hh.
Referenced by DivideByVelocity(), PrintAll(), ProcessHits(), and SetUnit().
|
private |
Definition at line 84 of file G4PSTrackLength.hh.
Referenced by clear(), Initialize(), PrintAll(), and ProcessHits().
|
private |
Definition at line 83 of file G4PSTrackLength.hh.
Referenced by Initialize().
|
private |
Definition at line 86 of file G4PSTrackLength.hh.
Referenced by MultiplyKineticEnergy(), PrintAll(), ProcessHits(), and SetUnit().
|
private |
Definition at line 85 of file G4PSTrackLength.hh.
Referenced by ProcessHits(), and Weighted().