Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
CCalDetector Class Referenceabstract

#include <CCalDetector.hh>

Inheritance diagram for CCalDetector:
Inheritance graph
[legend]
Collaboration diagram for CCalDetector:
Collaboration graph
[legend]

Public Member Functions

 CCalDetector (const G4String &name)
 
virtual ~CCalDetector ()
 
void constructHierarchy ()
 
void construct ()
 
void addDetector (CCalDetector *)
 
G4String Name () const
 
G4String baseFileName () const
 
G4String File () const
 
CCalDetectorgetDaughter (int i) const
 
int getNDaughters () const
 
G4bool operator== (const CCalDetector &left) const
 
G4bool operator!= (const CCalDetector &left) const
 

Protected Member Functions

virtual int readFile ()=0
 
virtual void constructDaughters ()=0
 
int buildFromFile ()
 

Protected Attributes

G4String detectorName
 
G4String fileName
 
CCalDetectorTable theDetectorsInside
 
int constructFlag
 

Static Protected Attributes

static G4String pathName = getenv("CCAL_GEOMPATH")
 

Friends

std::ostream & operator<< (std::ostream &, const CCalDetector &)
 

Detailed Description

Definition at line 49 of file CCalDetector.hh.

Constructor & Destructor Documentation

CCalDetector::CCalDetector ( const G4String name)

Definition at line 44 of file CCalDetector.cc.

Here is the call graph for this function:

CCalDetector::~CCalDetector ( )
virtual

Definition at line 54 of file CCalDetector.cc.

Member Function Documentation

void CCalDetector::addDetector ( CCalDetector det)

Definition at line 87 of file CCalDetector.cc.

Here is the caller graph for this function:

G4String CCalDetector::baseFileName ( ) const
inline

Definition at line 78 of file CCalDetector.hh.

int CCalDetector::buildFromFile ( )
protected

Definition at line 95 of file CCalDetector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

void CCalDetector::construct ( )

Definition at line 62 of file CCalDetector.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual void CCalDetector::constructDaughters ( )
protectedpure virtual

Implemented in CCalHcal, CCalEcal, CCalG4Hcal, CCalHall, and CCalG4Hall.

Here is the caller graph for this function:

void CCalDetector::constructHierarchy ( )
inline

Definition at line 66 of file CCalDetector.hh.

Here is the call graph for this function:

Here is the caller graph for this function:

G4String CCalDetector::File ( ) const
inline

Definition at line 79 of file CCalDetector.hh.

Here is the caller graph for this function:

CCalDetector* CCalDetector::getDaughter ( int  i) const
inline

Definition at line 80 of file CCalDetector.hh.

int CCalDetector::getNDaughters ( ) const
inline

Definition at line 81 of file CCalDetector.hh.

G4String CCalDetector::Name ( ) const
inline

Definition at line 77 of file CCalDetector.hh.

Here is the caller graph for this function:

G4bool CCalDetector::operator!= ( const CCalDetector left) const
inline

Definition at line 90 of file CCalDetector.hh.

G4bool CCalDetector::operator== ( const CCalDetector left) const
inline

Definition at line 87 of file CCalDetector.hh.

virtual int CCalDetector::readFile ( )
protectedpure virtual

Implemented in CCalHcal, CCalEcal, and CCalHall.

Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCalDetector det 
)
friend

Definition at line 103 of file CCalDetector.cc.

Member Data Documentation

int CCalDetector::constructFlag
protected

Definition at line 123 of file CCalDetector.hh.

G4String CCalDetector::detectorName
protected

Definition at line 117 of file CCalDetector.hh.

G4String CCalDetector::fileName
protected

Definition at line 118 of file CCalDetector.hh.

G4String CCalDetector::pathName = getenv("CCAL_GEOMPATH")
staticprotected

Definition at line 119 of file CCalDetector.hh.

CCalDetectorTable CCalDetector::theDetectorsInside
protected

Definition at line 121 of file CCalDetector.hh.


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