Geant4
10.01.p02
|
#include <CCalDetector.hh>
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 |
CCalDetector * | getDaughter (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 |
G4String | pathName |
CCalDetectorTable | theDetectorsInside |
int | constructFlag |
Friends | |
std::ostream & | operator<< (std::ostream &, const CCalDetector &) |
Definition at line 49 of file CCalDetector.hh.
CCalDetector::CCalDetector | ( | const G4String & | name | ) |
Definition at line 44 of file CCalDetector.cc.
References constructFlag, FatalException, fileName, G4cout, G4endl, G4Exception(), CCalGeometryConfiguration::getConstructFlag(), CCalGeometryConfiguration::getFileName(), CCalGeometryConfiguration::getInstance(), and pathName.
|
virtual |
Definition at line 62 of file CCalDetector.cc.
References theDetectorsInside.
void CCalDetector::addDetector | ( | CCalDetector * | det | ) |
Definition at line 95 of file CCalDetector.cc.
References theDetectorsInside.
Referenced by CCalG4Hall::constructDaughters(), and CCalHall::constructDaughters().
|
inline |
Definition at line 78 of file CCalDetector.hh.
References fileName.
|
protected |
Definition at line 103 of file CCalDetector.cc.
References readFile().
Referenced by construct().
void CCalDetector::construct | ( | ) |
Definition at line 70 of file CCalDetector.cc.
References buildFromFile(), constructDaughters(), constructFlag, G4cout, G4endl, Name(), and theDetectorsInside.
Referenced by constructHierarchy().
|
protectedpure virtual |
Implemented in CCalHcal, CCalEcal, CCalG4Hcal, CCalHall, and CCalG4Hall.
Referenced by construct().
|
inline |
Definition at line 66 of file CCalDetector.hh.
References construct().
Referenced by CCalDetectorConstruction::Construct().
|
inline |
Definition at line 79 of file CCalDetector.hh.
References fileName.
Referenced by CCalHall::readFile(), CCalEcal::readFile(), and CCalHcal::readFile().
|
inline |
Definition at line 80 of file CCalDetector.hh.
References theDetectorsInside.
|
inline |
Definition at line 81 of file CCalDetector.hh.
References theDetectorsInside.
|
inline |
Definition at line 77 of file CCalDetector.hh.
References detectorName.
Referenced by construct(), CCalG4Hcal::constructAbsorberLayer(), CCalG4Hall::constructIn(), CCalG4Hcal::constructIn(), CCalG4Hcal::constructScintillatorLayer(), and CCalG4Hcal::constructSensitive().
|
inline |
Definition at line 90 of file CCalDetector.hh.
References detectorName.
|
inline |
Definition at line 87 of file CCalDetector.hh.
References detectorName.
|
protectedpure virtual |
Implemented in CCalHcal, CCalEcal, and CCalHall.
Referenced by buildFromFile().
|
friend |
Definition at line 111 of file CCalDetector.cc.
|
protected |
Definition at line 122 of file CCalDetector.hh.
Referenced by CCalDetector(), and construct().
|
protected |
Definition at line 116 of file CCalDetector.hh.
Referenced by Name(), operator!=(), operator<<(), and operator==().
|
protected |
Definition at line 117 of file CCalDetector.hh.
Referenced by baseFileName(), CCalDetector(), File(), and operator<<().
|
protected |
Definition at line 118 of file CCalDetector.hh.
Referenced by CCalDetector(), CCalHall::readFile(), CCalEcal::readFile(), and CCalHcal::readFile().
|
protected |
Definition at line 120 of file CCalDetector.hh.
Referenced by addDetector(), construct(), getDaughter(), getNDaughters(), operator<<(), and ~CCalDetector().