Geant4  10.00.p02
CCalSDList Class Reference

#include <CCalSDList.hh>

+ Collaboration diagram for CCalSDList:

Public Member Functions

void addCalo (nameType name)
 
void addTracker (nameType name)
 
nameType getCaloSDName (int i)
 
nameType getTrackerSDName (int i)
 
int getNumberOfCaloSD ()
 
int getNumberOfTrackerSD ()
 

Static Public Member Functions

static CCalSDListgetInstance ()
 

Private Member Functions

 CCalSDList ()
 
 ~CCalSDList ()
 
CCalSDListoperator= (CCalSDList &)
 

Private Attributes

std::vector< nameTypecaloSD
 
std::vector< nameTypetrackerSD
 

Static Private Attributes

static CCalSDListtheList = 0
 

Detailed Description

Definition at line 40 of file CCalSDList.hh.

Constructor & Destructor Documentation

CCalSDList::CCalSDList ( )
private

Definition at line 34 of file CCalSDList.cc.

Referenced by getInstance().

+ Here is the caller graph for this function:

CCalSDList::~CCalSDList ( )
private

Definition at line 35 of file CCalSDList.cc.

References theList.

Member Function Documentation

void CCalSDList::addCalo ( nameType  name)

Definition at line 44 of file CCalSDList.cc.

References caloSD, and theList.

Referenced by CCaloSD::CCaloSD().

+ Here is the caller graph for this function:

void CCalSDList::addTracker ( nameType  name)

Definition at line 49 of file CCalSDList.cc.

References theList, and trackerSD.

nameType CCalSDList::getCaloSDName ( int  i)

Definition at line 54 of file CCalSDList.cc.

References caloSD, G4cout, G4endl, getNumberOfCaloSD(), and theList.

+ Here is the call graph for this function:

CCalSDList * CCalSDList::getInstance ( )
static

Definition at line 37 of file CCalSDList.cc.

References CCalSDList(), and theList.

Referenced by CCaloSD::CCaloSD(), CCalEndOfEventAction::initialize(), and CCalStackingAction::initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int CCalSDList::getNumberOfCaloSD ( )

Definition at line 76 of file CCalSDList.cc.

References caloSD, and theList.

Referenced by getCaloSDName(), CCalEndOfEventAction::initialize(), and CCalStackingAction::initialize().

+ Here is the caller graph for this function:

int CCalSDList::getNumberOfTrackerSD ( )

Definition at line 81 of file CCalSDList.cc.

References theList, and trackerSD.

Referenced by getTrackerSDName().

+ Here is the caller graph for this function:

nameType CCalSDList::getTrackerSDName ( int  i)

Definition at line 64 of file CCalSDList.cc.

References G4cout, G4endl, getNumberOfTrackerSD(), theList, and trackerSD.

+ Here is the call graph for this function:

CCalSDList & CCalSDList::operator= ( CCalSDList )
private

Definition at line 87 of file CCalSDList.cc.

Member Data Documentation

std::vector<nameType> CCalSDList::caloSD
private

Definition at line 61 of file CCalSDList.hh.

Referenced by addCalo(), getCaloSDName(), and getNumberOfCaloSD().

CCalSDList * CCalSDList::theList = 0
staticprivate
std::vector<nameType> CCalSDList::trackerSD
private

Definition at line 62 of file CCalSDList.hh.

Referenced by addTracker(), getNumberOfTrackerSD(), and getTrackerSDName().


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