Geant4  10.03
G4VPrimitiveScorer Class Referenceabstract

#include <G4VPrimitiveScorer.hh>

+ Inheritance diagram for G4VPrimitiveScorer:
+ Collaboration diagram for G4VPrimitiveScorer:

Public Member Functions

 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
virtual ~G4VPrimitiveScorer ()
 
G4int GetCollectionID (G4int)
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void PrintAll ()
 
void SetUnit (const G4String &unit)
 
const G4StringGetUnit () const
 
G4double GetUnitValue () const
 
void SetMultiFunctionalDetector (G4MultiFunctionalDetector *d)
 
G4MultiFunctionalDetectorGetMultiFunctionalDetector () const
 
G4String GetName () const
 
void SetFilter (G4VSDFilter *f)
 
G4VSDFilterGetFilter () const
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetNijk (G4int i, G4int j, G4int k)
 

Protected Member Functions

virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)=0
 
virtual G4int GetIndex (G4Step *)
 
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Protected Attributes

G4String primitiveName
 
G4MultiFunctionalDetectordetector
 
G4VSDFilterfilter
 
G4int verboseLevel
 
G4int indexDepth
 
G4String unitName
 
G4double unitValue
 
G4int fNi
 
G4int fNj
 
G4int fNk
 

Private Member Functions

G4bool HitPrimitive (G4Step *aStep, G4TouchableHistory *ROhis)
 

Friends

class G4MultiFunctionalDetector
 

Detailed Description

Definition at line 50 of file G4VPrimitiveScorer.hh.

Constructor & Destructor Documentation

G4VPrimitiveScorer::G4VPrimitiveScorer ( G4String  name,
G4int  depth = 0 
)

Definition at line 37 of file G4VPrimitiveScorer.cc.

G4VPrimitiveScorer::~G4VPrimitiveScorer ( )
virtual

Definition at line 42 of file G4VPrimitiveScorer.cc.

Member Function Documentation

void G4VPrimitiveScorer::CheckAndSetUnit ( const G4String unit,
const G4String category 
)
protected

Definition at line 76 of file G4VPrimitiveScorer.cc.

References G4Exception(), G4UnitDefinition::GetCategory(), GetName(), GetUnit(), G4UnitDefinition::GetValueOf(), JustWarning, unitName, and unitValue.

Referenced by G4PSCellCharge::SetUnit(), G4PSEnergyDeposit::SetUnit(), G4PSDoseDeposit::SetUnit(), G4PSPassageTrackLength::SetUnit(), G4PSMinKinEAtGeneration::SetUnit(), G4PSPassageCellFlux::SetUnit(), G4PSTrackLength::SetUnit(), G4PSCellFlux::SetUnit(), G4PSSphereSurfaceCurrent::SetUnit(), G4PSCylinderSurfaceFlux::SetUnit(), G4PSSphereSurfaceFlux::SetUnit(), G4PSCylinderSurfaceCurrent::SetUnit(), G4PSFlatSurfaceCurrent::SetUnit(), and G4PSFlatSurfaceFlux::SetUnit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VSDFilter* G4VPrimitiveScorer::GetFilter ( ) const
inline

Definition at line 107 of file G4VPrimitiveScorer.hh.

References filter.

Referenced by G4VScoringMesh::List(), and G4VScoringMesh::SetFilter().

+ Here is the caller graph for this function:

G4int G4VPrimitiveScorer::GetIndex ( G4Step aStep)
protectedvirtual

Reimplemented in CexmcTrackPoints, CexmcSimpleEnergyDeposit, G4PSFlatSurfaceFlux3D, G4PSSphereSurfaceCurrent3D, G4PSSphereSurfaceFlux3D, RE02PSFlatSurfaceFlux, G4PSCylinderSurfaceCurrent3D, G4PSCylinderSurfaceFlux3D, G4PSFlatSurfaceCurrent3D, CexmcEnergyDepositInLeftRightSet, CexmcTrackPointsInLeftRightSet, RE02PSFlatSurfaceCurrent, G4PSCellFlux3D, CexmcEnergyDepositInCalorimeter, CexmcTrackPointsInCalorimeter, RE02PSCellFlux, G4PSPassageCellFlux3D, G4PSPassageTrackLength3D, G4PSTrackLength3D, G4PSCellCharge3D, G4PSMinKinEAtGeneration3D, RE02PSPassageCellFlux, G4PSDoseDeposit3D, G4PSTrackCounter3D, G4PSEnergyDeposit3D, G4PSNofCollision3D, G4PSPassageCellCurrent3D, G4PSPopulation3D, G4PSStepChecker3D, G4PSTermination3D, G4PSNofStep3D, RE02PSNofStep, RE02PSEnergyDeposit, and G4PSNofSecondary3D.

Definition at line 69 of file G4VPrimitiveScorer.cc.

References G4Step::GetPreStepPoint(), G4TouchableHistory::GetReplicaNumber(), G4StepPoint::GetTouchable(), and indexDepth.

Referenced by G4PSNofStep::ProcessHits(), G4PSStepChecker::ProcessHits(), G4PSNofCollision::ProcessHits(), G4PSTermination::ProcessHits(), G4PSTrackCounter::ProcessHits(), G4PSCellCharge::ProcessHits(), G4PSDoseDeposit::ProcessHits(), G4PSEnergyDeposit::ProcessHits(), G4PSPopulation::ProcessHits(), G4PSMinKinEAtGeneration::ProcessHits(), G4PSPassageTrackLength::ProcessHits(), G4PSPassageCellCurrent::ProcessHits(), G4PSNofSecondary::ProcessHits(), G4PSPassageCellFlux::ProcessHits(), G4PSTrackLength::ProcessHits(), G4PSCellFlux::ProcessHits(), G4PSSphereSurfaceCurrent::ProcessHits(), G4PSCylinderSurfaceFlux::ProcessHits(), G4PSSphereSurfaceFlux::ProcessHits(), G4PSCylinderSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceCurrent::ProcessHits(), G4PSFlatSurfaceFlux::ProcessHits(), and ScoreSpecies::ProcessHits().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4MultiFunctionalDetector* G4VPrimitiveScorer::GetMultiFunctionalDetector ( ) const
inline

Definition at line 101 of file G4VPrimitiveScorer.hh.

References detector.

Referenced by CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), G4PSEnergyDeposit::Initialize(), G4PSDoseDeposit::Initialize(), G4PSCylinderSurfaceFlux::Initialize(), G4PSFlatSurfaceFlux::Initialize(), and ScoreSpecies::Initialize().

+ Here is the caller graph for this function:

G4String G4VPrimitiveScorer::GetName ( void  ) const
inline

Definition at line 103 of file G4VPrimitiveScorer.hh.

References primitiveName.

Referenced by B01Run::B01Run(), B02Run::B02Run(), B03Run::B03Run(), CexmcSensitiveDetectorMessenger::CexmcSensitiveDetectorMessenger(), CheckAndSetUnit(), DicomRun::ConstructMFD(), TSRun::ConstructMFD(), G4VScoringMesh::GetPrimitiveScorer(), G4PSEnergyDeposit::Initialize(), G4PSCellCharge::Initialize(), G4PSNofStep::Initialize(), G4PSDoseDeposit::Initialize(), G4PSMinKinEAtGeneration::Initialize(), G4PSNofCollision::Initialize(), G4PSTermination::Initialize(), G4PSTrackCounter::Initialize(), G4PSPassageTrackLength::Initialize(), G4PSPassageCellCurrent::Initialize(), G4PSPopulation::Initialize(), G4PSTrackLength::Initialize(), G4PSPassageCellFlux::Initialize(), G4PSNofSecondary::Initialize(), G4PSCellFlux::Initialize(), G4PSSphereSurfaceCurrent::Initialize(), G4PSCylinderSurfaceFlux::Initialize(), G4PSCylinderSurfaceCurrent::Initialize(), G4PSFlatSurfaceCurrent::Initialize(), G4PSSphereSurfaceFlux::Initialize(), G4PSFlatSurfaceFlux::Initialize(), ScoreSpecies::Initialize(), G4VScoringMesh::List(), G4PSCellCharge::PrintAll(), G4PSEnergyDeposit::PrintAll(), G4PSDoseDeposit::PrintAll(), G4PSNofStep::PrintAll(), G4PSPassageTrackLength::PrintAll(), G4PSTermination::PrintAll(), G4PSTrackCounter::PrintAll(), G4PSMinKinEAtGeneration::PrintAll(), G4PSNofCollision::PrintAll(), G4PSPopulation::PrintAll(), G4PSPassageCellCurrent::PrintAll(), G4PSPassageCellFlux::PrintAll(), G4PSTrackLength::PrintAll(), G4PSCellFlux::PrintAll(), G4PSNofSecondary::PrintAll(), G4PSSphereSurfaceCurrent::PrintAll(), G4PSCylinderSurfaceFlux::PrintAll(), G4PSCylinderSurfaceCurrent::PrintAll(), G4PSFlatSurfaceCurrent::PrintAll(), G4PSSphereSurfaceFlux::PrintAll(), G4PSFlatSurfaceFlux::PrintAll(), ScoreSpecies::PrintAll(), RE02Run::RE02Run(), G4MultiFunctionalDetector::RegisterPrimitive(), G4MultiFunctionalDetector::RemovePrimitive(), G4VScoringMesh::SetFilter(), G4VScoringMesh::SetPrimitiveScorer(), G4PSNofStep::SetUnit(), G4PSTermination::SetUnit(), G4PSNofCollision::SetUnit(), G4PSTrackCounter::SetUnit(), G4PSPassageCellCurrent::SetUnit(), G4PSPopulation::SetUnit(), G4PSNofSecondary::SetUnit(), G4PSSphereSurfaceCurrent::SetUnit(), G4PSCylinderSurfaceFlux::SetUnit(), G4PSFlatSurfaceCurrent::SetUnit(), G4PSSphereSurfaceFlux::SetUnit(), G4PSCylinderSurfaceCurrent::SetUnit(), and G4PSFlatSurfaceFlux::SetUnit().

G4int G4VPrimitiveScorer::GetVerboseLevel ( ) const
inline

Definition at line 111 of file G4VPrimitiveScorer.hh.

References verboseLevel.

Referenced by CexmcSimpleEnergyDeposit::EndOfEvent(), and CexmcTrackPoints::EndOfEvent().

+ Here is the caller graph for this function:

G4bool G4VPrimitiveScorer::HitPrimitive ( G4Step aStep,
G4TouchableHistory ROhis 
)
inlineprivate

Definition at line 115 of file G4VPrimitiveScorer.hh.

References G4VSDFilter::Accept(), and ProcessHits().

+ Here is the call graph for this function:

void G4VPrimitiveScorer::SetFilter ( G4VSDFilter f)
inline
void G4VPrimitiveScorer::SetMultiFunctionalDetector ( G4MultiFunctionalDetector d)
inline

Definition at line 99 of file G4VPrimitiveScorer.hh.

Referenced by G4MultiFunctionalDetector::RegisterPrimitive(), and G4MultiFunctionalDetector::RemovePrimitive().

+ Here is the caller graph for this function:

void G4VPrimitiveScorer::SetNijk ( G4int  i,
G4int  j,
G4int  k 
)
inline

Definition at line 125 of file G4VPrimitiveScorer.hh.

Referenced by G4VScoringMesh::SetPrimitiveScorer().

+ Here is the caller graph for this function:

void G4VPrimitiveScorer::SetUnit ( const G4String unit)
inline

Definition at line 81 of file G4VPrimitiveScorer.hh.

References unitName.

Referenced by G4VScoringMesh::SetCurrentPSUnit().

+ Here is the caller graph for this function:

void G4VPrimitiveScorer::SetVerboseLevel ( G4int  vl)
inline

Definition at line 109 of file G4VPrimitiveScorer.hh.

Referenced by CexmcSensitiveDetectorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

friend class G4MultiFunctionalDetector
friend

Definition at line 52 of file G4VPrimitiveScorer.hh.

Member Data Documentation

G4MultiFunctionalDetector* G4VPrimitiveScorer::detector
protected
G4VSDFilter* G4VPrimitiveScorer::filter
protected

Definition at line 91 of file G4VPrimitiveScorer.hh.

Referenced by GetFilter().

G4int G4VPrimitiveScorer::fNj
protected

Definition at line 123 of file G4VPrimitiveScorer.hh.

Referenced by G4PSCellCharge3D::G4PSCellCharge3D(), G4PSCellFlux3D::G4PSCellFlux3D(), G4PSCylinderSurfaceCurrent3D::G4PSCylinderSurfaceCurrent3D(), G4PSCylinderSurfaceFlux3D::G4PSCylinderSurfaceFlux3D(), G4PSDoseDeposit3D::G4PSDoseDeposit3D(), G4PSEnergyDeposit3D::G4PSEnergyDeposit3D(), G4PSFlatSurfaceCurrent3D::G4PSFlatSurfaceCurrent3D(), G4PSFlatSurfaceFlux3D::G4PSFlatSurfaceFlux3D(), G4PSMinKinEAtGeneration3D::G4PSMinKinEAtGeneration3D(), G4PSNofCollision3D::G4PSNofCollision3D(), G4PSNofSecondary3D::G4PSNofSecondary3D(), G4PSNofStep3D::G4PSNofStep3D(), G4PSPassageCellCurrent3D::G4PSPassageCellCurrent3D(), G4PSPassageCellFlux3D::G4PSPassageCellFlux3D(), G4PSPassageTrackLength3D::G4PSPassageTrackLength3D(), G4PSPopulation3D::G4PSPopulation3D(), G4PSSphereSurfaceCurrent3D::G4PSSphereSurfaceCurrent3D(), G4PSSphereSurfaceFlux3D::G4PSSphereSurfaceFlux3D(), G4PSStepChecker3D::G4PSStepChecker3D(), G4PSTermination3D::G4PSTermination3D(), G4PSTrackCounter3D::G4PSTrackCounter3D(), G4PSTrackLength3D::G4PSTrackLength3D(), G4PSNofSecondary3D::GetIndex(), G4PSNofStep3D::GetIndex(), G4PSTermination3D::GetIndex(), G4PSPopulation3D::GetIndex(), G4PSStepChecker3D::GetIndex(), G4PSNofCollision3D::GetIndex(), G4PSPassageCellCurrent3D::GetIndex(), G4PSEnergyDeposit3D::GetIndex(), G4PSDoseDeposit3D::GetIndex(), G4PSTrackCounter3D::GetIndex(), G4PSCellCharge3D::GetIndex(), G4PSMinKinEAtGeneration3D::GetIndex(), G4PSTrackLength3D::GetIndex(), G4PSPassageTrackLength3D::GetIndex(), G4PSPassageCellFlux3D::GetIndex(), G4PSCellFlux3D::GetIndex(), G4PSCylinderSurfaceFlux3D::GetIndex(), G4PSCylinderSurfaceCurrent3D::GetIndex(), G4PSFlatSurfaceCurrent3D::GetIndex(), G4PSSphereSurfaceFlux3D::GetIndex(), G4PSSphereSurfaceCurrent3D::GetIndex(), and G4PSFlatSurfaceFlux3D::GetIndex().

G4int G4VPrimitiveScorer::fNk
protected

Definition at line 123 of file G4VPrimitiveScorer.hh.

Referenced by G4PSCellCharge3D::G4PSCellCharge3D(), G4PSCellFlux3D::G4PSCellFlux3D(), G4PSCylinderSurfaceCurrent3D::G4PSCylinderSurfaceCurrent3D(), G4PSCylinderSurfaceFlux3D::G4PSCylinderSurfaceFlux3D(), G4PSDoseDeposit3D::G4PSDoseDeposit3D(), G4PSEnergyDeposit3D::G4PSEnergyDeposit3D(), G4PSFlatSurfaceCurrent3D::G4PSFlatSurfaceCurrent3D(), G4PSFlatSurfaceFlux3D::G4PSFlatSurfaceFlux3D(), G4PSMinKinEAtGeneration3D::G4PSMinKinEAtGeneration3D(), G4PSNofCollision3D::G4PSNofCollision3D(), G4PSNofSecondary3D::G4PSNofSecondary3D(), G4PSNofStep3D::G4PSNofStep3D(), G4PSPassageCellCurrent3D::G4PSPassageCellCurrent3D(), G4PSPassageCellFlux3D::G4PSPassageCellFlux3D(), G4PSPassageTrackLength3D::G4PSPassageTrackLength3D(), G4PSPopulation3D::G4PSPopulation3D(), G4PSSphereSurfaceCurrent3D::G4PSSphereSurfaceCurrent3D(), G4PSSphereSurfaceFlux3D::G4PSSphereSurfaceFlux3D(), G4PSStepChecker3D::G4PSStepChecker3D(), G4PSTermination3D::G4PSTermination3D(), G4PSTrackCounter3D::G4PSTrackCounter3D(), G4PSTrackLength3D::G4PSTrackLength3D(), G4PSNofSecondary3D::GetIndex(), G4PSNofStep3D::GetIndex(), G4PSTermination3D::GetIndex(), G4PSPopulation3D::GetIndex(), G4PSStepChecker3D::GetIndex(), G4PSNofCollision3D::GetIndex(), G4PSPassageCellCurrent3D::GetIndex(), G4PSEnergyDeposit3D::GetIndex(), G4PSDoseDeposit3D::GetIndex(), G4PSTrackCounter3D::GetIndex(), G4PSCellCharge3D::GetIndex(), G4PSMinKinEAtGeneration3D::GetIndex(), G4PSTrackLength3D::GetIndex(), G4PSPassageTrackLength3D::GetIndex(), G4PSPassageCellFlux3D::GetIndex(), G4PSCellFlux3D::GetIndex(), G4PSCylinderSurfaceFlux3D::GetIndex(), G4PSCylinderSurfaceCurrent3D::GetIndex(), G4PSFlatSurfaceCurrent3D::GetIndex(), G4PSSphereSurfaceFlux3D::GetIndex(), G4PSSphereSurfaceCurrent3D::GetIndex(), and G4PSFlatSurfaceFlux3D::GetIndex().

G4int G4VPrimitiveScorer::verboseLevel
protected

The documentation for this class was generated from the following files: