Geant4  10.01.p02
G4MultiFunctionalDetector Class Reference

#include <G4MultiFunctionalDetector.hh>

+ Inheritance diagram for G4MultiFunctionalDetector:
+ Collaboration diagram for G4MultiFunctionalDetector:

Public Member Functions

 G4MultiFunctionalDetector (G4String)
 
G4bool RegisterPrimitive (G4VPrimitiveScorer *)
 
G4bool RemovePrimitive (G4VPrimitiveScorer *)
 
G4int GetNumberOfPrimitives () const
 
G4VPrimitiveScorerGetPrimitive (G4int id) const
 
virtual ~G4MultiFunctionalDetector ()
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void PrintAll ()
 
- Public Member Functions inherited from G4VSensitiveDetector
 G4VSensitiveDetector (G4String name)
 
 G4VSensitiveDetector (const G4VSensitiveDetector &right)
 
virtual ~G4VSensitiveDetector ()
 
G4VSensitiveDetectoroperator= (const G4VSensitiveDetector &right)
 
G4int operator== (const G4VSensitiveDetector &right) const
 
G4int operator!= (const G4VSensitiveDetector &right) const
 
G4bool Hit (G4Step *aStep)
 
void SetROgeometry (G4VReadOutGeometry *value)
 
void SetFilter (G4VSDFilter *value)
 
G4int GetNumberOfCollections () const
 
G4String GetCollectionName (G4int id) const
 
void SetVerboseLevel (G4int vl)
 
void Activate (G4bool activeFlag)
 
G4bool isActive () const
 
G4String GetName () const
 
G4String GetPathName () const
 
G4String GetFullPathName () const
 
G4VReadOutGeometryGetROgeometry () const
 
G4VSDFilterGetFilter () const
 
virtual G4VSensitiveDetectorClone () const
 

Protected Member Functions

virtual G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
- Protected Member Functions inherited from G4VSensitiveDetector
virtual G4int GetCollectionID (G4int i)
 

Protected Attributes

std::vector< G4VPrimitiveScorer * > primitives
 
- Protected Attributes inherited from G4VSensitiveDetector
G4CollectionNameVector collectionName
 
G4String SensitiveDetectorName
 
G4String thePathName
 
G4String fullPathName
 
G4int verboseLevel
 
G4bool active
 
G4VReadOutGeometryROgeometry
 
G4VSDFilterfilter
 

Detailed Description

Definition at line 48 of file G4MultiFunctionalDetector.hh.

Constructor & Destructor Documentation

G4MultiFunctionalDetector::G4MultiFunctionalDetector ( G4String  name)

Definition at line 38 of file G4MultiFunctionalDetector.cc.

G4MultiFunctionalDetector::~G4MultiFunctionalDetector ( )
virtual

Definition at line 42 of file G4MultiFunctionalDetector.cc.

Member Function Documentation

void G4MultiFunctionalDetector::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 117 of file G4MultiFunctionalDetector.cc.

References primitives.

void G4MultiFunctionalDetector::DrawAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 124 of file G4MultiFunctionalDetector.cc.

References primitives.

void G4MultiFunctionalDetector::EndOfEvent ( G4HCofThisEvent HC)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 110 of file G4MultiFunctionalDetector.cc.

References primitives.

G4int G4MultiFunctionalDetector::GetNumberOfPrimitives ( ) const
inline

Definition at line 62 of file G4MultiFunctionalDetector.hh.

Referenced by B01Run::B01Run(), B02Run::B02Run(), B03Run::B03Run(), DicomRun::ConstructMFD(), G4VScoringMesh::GetPrimitiveScorer(), G4VScoringMesh::List(), and RE02Run::RE02Run().

+ Here is the caller graph for this function:

G4VPrimitiveScorer* G4MultiFunctionalDetector::GetPrimitive ( G4int  id) const
inline

Definition at line 64 of file G4MultiFunctionalDetector.hh.

Referenced by B01Run::B01Run(), B02Run::B02Run(), B03Run::B03Run(), DicomRun::ConstructMFD(), G4VScoringMesh::GetPrimitiveScorer(), G4VScoringMesh::List(), and RE02Run::RE02Run().

+ Here is the caller graph for this function:

void G4MultiFunctionalDetector::Initialize ( G4HCofThisEvent HC)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 103 of file G4MultiFunctionalDetector.cc.

References primitives.

void G4MultiFunctionalDetector::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 131 of file G4MultiFunctionalDetector.cc.

References primitives.

G4bool G4MultiFunctionalDetector::ProcessHits ( G4Step aStep,
G4TouchableHistory aTH 
)
protectedvirtual

Implements G4VSensitiveDetector.

Definition at line 45 of file G4MultiFunctionalDetector.cc.

References G4Step::GetStepLength(), G4Step::GetTotalEnergyDeposit(), and primitives.

+ Here is the call graph for this function:

G4bool G4MultiFunctionalDetector::RemovePrimitive ( G4VPrimitiveScorer aPS)

Definition at line 84 of file G4MultiFunctionalDetector.cc.

References G4VSensitiveDetector::collectionName, G4cerr, G4endl, G4VPrimitiveScorer::GetName(), primitives, G4VSensitiveDetector::SensitiveDetectorName, and G4VPrimitiveScorer::SetMultiFunctionalDetector().

+ Here is the call graph for this function:

Member Data Documentation

std::vector<G4VPrimitiveScorer*> G4MultiFunctionalDetector::primitives
protected

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