Geant4  10.03
CCalSensAssign Class Reference

#include <CCalSensAssign.hh>

+ Collaboration diagram for CCalSensAssign:

Public Member Functions

 ~CCalSensAssign ()
 
bool assign ()
 
bool stackingAction ()
 
bool addCaloSD (G4String name, CCalVOrganization *numberingScheme)
 

Static Public Member Functions

static CCalSensAssigngetInstance ()
 

Private Member Functions

 CCalSensAssign ()
 

Private Attributes

std::map< G4String,
G4VSensitiveDetector * > 
sens_
 

Static Private Attributes

static CCalSensAssigntheInstance = 0
 

Detailed Description

Definition at line 40 of file CCalSensAssign.hh.

Constructor & Destructor Documentation

CCalSensAssign::~CCalSensAssign ( )
inline

Definition at line 43 of file CCalSensAssign.hh.

CCalSensAssign::CCalSensAssign ( )
private

Definition at line 49 of file CCalSensAssign.cc.

Referenced by getInstance().

+ Here is the caller graph for this function:

Member Function Documentation

bool CCalSensAssign::addCaloSD ( G4String  name,
CCalVOrganization numberingScheme 
)

Definition at line 88 of file CCalSensAssign.cc.

References G4InuclParticleNames::name(), and sens_.

+ Here is the call graph for this function:

bool CCalSensAssign::assign ( )

Definition at line 52 of file CCalSensAssign.cc.

References G4SDManager::AddNewDetector(), G4cout, G4endl, CCalSensitiveDetectors::getInstance(), G4VSensitiveDetector::GetName(), G4SDManager::GetSDMpointer(), G4InuclParticleNames::name(), sens_, and CCalSensitiveDetectors::setSensitive().

Referenced by CCalDetectorConstruction::Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

CCalSensAssign * CCalSensAssign::getInstance ( )
static

Definition at line 43 of file CCalSensAssign.cc.

References CCalSensAssign(), and theInstance.

Referenced by CCalDetectorConstruction::Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool CCalSensAssign::stackingAction ( )

Definition at line 72 of file CCalSensAssign.cc.

References G4cout, G4endl, G4RunManager::GetRunManager(), and G4RunManager::SetUserAction().

Referenced by CCalDetectorConstruction::Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<G4String,G4VSensitiveDetector*> CCalSensAssign::sens_
private

Definition at line 53 of file CCalSensAssign.hh.

Referenced by addCaloSD(), and assign().

CCalSensAssign * CCalSensAssign::theInstance = 0
staticprivate

Definition at line 52 of file CCalSensAssign.hh.

Referenced by getInstance().


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