Geant4  10.00.p01
CCalSensitiveDetectors Class Reference

#include <CCalSensitiveDetectors.hh>

+ Collaboration diagram for CCalSensitiveDetectors:

Public Member Functions

 ~CCalSensitiveDetectors ()
 
std::vector< G4LogicalVolume * > getVolumes (const G4String &name, bool exists=0)
 
void registerVolume (const G4String &name, G4LogicalVolume *)
 
bool setSensitive (const G4String &string, G4VSensitiveDetector *sens)
 

Static Public Member Functions

static CCalSensitiveDetectorsgetInstance ()
 

Private Member Functions

 CCalSensitiveDetectors ()
 

Private Attributes

mmslv theLVs
 

Static Private Attributes

static CCalSensitiveDetectorstheInstance = 0
 

Detailed Description

Definition at line 41 of file CCalSensitiveDetectors.hh.

Constructor & Destructor Documentation

CCalSensitiveDetectors::~CCalSensitiveDetectors ( )
inline

Definition at line 44 of file CCalSensitiveDetectors.hh.

CCalSensitiveDetectors::CCalSensitiveDetectors ( )
inlineprivate

Definition at line 50 of file CCalSensitiveDetectors.hh.

Referenced by getInstance().

+ Here is the caller graph for this function:

Member Function Documentation

CCalSensitiveDetectors * CCalSensitiveDetectors::getInstance ( )
static

Definition at line 38 of file CCalSensitiveDetectors.cc.

References CCalSensitiveDetectors(), and theInstance.

Referenced by CCalSensAssign::assign(), CCalG4Hcal::constructSensitive(), and CCalG4Ecal::constructSensitive().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::vector< G4LogicalVolume * > CCalSensitiveDetectors::getVolumes ( const G4String name,
bool  exists = 0 
)

Definition at line 54 of file CCalSensitiveDetectors.cc.

References G4cout, G4endl, and theLVs.

void CCalSensitiveDetectors::registerVolume ( const G4String name,
G4LogicalVolume logv 
)

Definition at line 44 of file CCalSensitiveDetectors.cc.

References G4cout, G4endl, G4LogicalVolume::GetName(), and theLVs.

Referenced by CCalG4Hcal::constructSensitive(), and CCalG4Ecal::constructSensitive().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CCalSensitiveDetectors::setSensitive ( const G4String string,
G4VSensitiveDetector sens 
)

Definition at line 72 of file CCalSensitiveDetectors.cc.

References G4cout, G4endl, G4VSensitiveDetector::GetName(), G4LogicalVolume::GetName(), G4LogicalVolume::SetSensitiveDetector(), and theLVs.

Referenced by CCalSensAssign::assign().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

CCalSensitiveDetectors * CCalSensitiveDetectors::theInstance = 0
staticprivate

Definition at line 50 of file CCalSensitiveDetectors.hh.

Referenced by getInstance().

mmslv CCalSensitiveDetectors::theLVs
private

Definition at line 53 of file CCalSensitiveDetectors.hh.

Referenced by getVolumes(), registerVolume(), and setSensitive().


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