Geant4  10.00.p02
CCalG4Hcal Class Reference

#include <CCalG4Hcal.hh>

+ Inheritance diagram for CCalG4Hcal:
+ Collaboration diagram for CCalG4Hcal:

Public Member Functions

 CCalG4Hcal (const G4String &name)
 
virtual ~CCalG4Hcal ()
 
- Public Member Functions inherited from CCalHcal
 CCalHcal (const G4String &name)
 
virtual ~CCalHcal ()
 
G4String getGenMat () const
 
double getDy_2Cal () const
 
double getDx_2Cal () const
 
double getXposCal () const
 
G4String getBoxMat () const
 
int getNBox () const
 
double getDy_2Box () const
 
double getDx_2Box () const
 
double getWallThickBox () const
 
double getXposBox (unsigned int i) const
 
int getNLayerScnt () const
 
int getTypeScnt (unsigned int i) const
 
int getMotherScnt (unsigned int i) const
 
double getXposScnt (unsigned int i) const
 
int getNLayerAbs () const
 
int getTypeAbs (unsigned int i) const
 
int getMotherAbs (unsigned int i) const
 
double getXposAbs (unsigned int i) const
 
G4String getAbsMat () const
 
int getNAbsorber () const
 
double getDy_2Abs () const
 
double getDx_2Abs (unsigned int i) const
 
G4String getScntMat () const
 
G4String getWrapMat () const
 
G4String getPlasMat () const
 
int getNScintillator () const
 
double getDy_2ScntLay (unsigned int i) const
 
double getDx_2ScntLay (unsigned int i) const
 
double getDx_2Wrap (unsigned int i) const
 
double getDx_2FrontP (unsigned int i) const
 
double getDx_2BackP (unsigned int i) const
 
double getDx_2Scnt (unsigned int i) const
 
- Public Member Functions inherited from CCalDetector
 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
 
- Public Member Functions inherited from CCalG4Able
 CCalG4Able (G4String name)
 
virtual ~CCalG4Able ()
 
G4VPhysicalVolumePhysicalVolume (G4VPhysicalVolume *)
 
void setVisType (CCalVisualisable::visType, G4LogicalVolume *)
 
void setSensitivity (G4bool sens=true)
 
G4bool isSensitive () const
 
G4String G4Name () const
 
void setName (const G4String &name)
 
G4bool operator== (const CCalG4Able &right) const
 

Protected Member Functions

virtual G4VPhysicalVolumeconstructIn (G4VPhysicalVolume *)
 
virtual void constructDaughters ()
 
G4LogicalVolumeconstructScintillatorLayer (G4int)
 
G4LogicalVolumeconstructAbsorberLayer (G4int)
 
virtual void constructSensitive ()
 
- Protected Member Functions inherited from CCalHcal
virtual int readFile ()
 
- Protected Member Functions inherited from CCalDetector
int buildFromFile ()
 
- Protected Member Functions inherited from CCalG4Able
void AddCCalG4Able (CCalG4Able *)
 

Private Attributes

ptrG4LogsclLog
 
ptrG4LogabsLog
 
std::vector< ptrG4LogallSensitiveLogs
 

Additional Inherited Members

- Protected Attributes inherited from CCalDetector
G4String detectorName
 
G4String fileName
 
CCalDetectorTable theDetectorsInside
 
int constructFlag
 
- Protected Attributes inherited from CCalG4Able
G4VPhysicalVolumedetPhysicalVolume
 
CCalG4AbleTable theG4DetectorsInside
 
G4String g4ableName
 
G4bool sensitivity
 
CCalVisualisable visProperties
 
G4VisAttributesg4VisAtt [CCalVisualisable::TotalVisTypes]
 
- Static Protected Attributes inherited from CCalDetector
static G4String pathName = getenv("CCAL_GEOMPATH")
 

Detailed Description

Definition at line 40 of file CCalG4Hcal.hh.

Constructor & Destructor Documentation

CCalG4Hcal::CCalG4Hcal ( const G4String name)

Definition at line 57 of file CCalG4Hcal.cc.

CCalG4Hcal::~CCalG4Hcal ( )
virtual

Definition at line 60 of file CCalG4Hcal.cc.

References absLog, and sclLog.

Member Function Documentation

G4LogicalVolume * CCalG4Hcal::constructAbsorberLayer ( G4int  lay)
protected

Definition at line 320 of file CCalG4Hcal.cc.

References CCalVisualisable::Absorber, CCalMaterialFactory::findMaterial(), G4cout, G4endl, CCalHcal::getAbsMat(), CCalHcal::getDx_2Abs(), CCalHcal::getDy_2Abs(), CCalMaterialFactory::getInstance(), mm, name, CCalDetector::Name(), CCalG4Able::setVisType(), and tab().

Referenced by constructIn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CCalG4Hcal::constructDaughters ( )
protectedvirtual

Reimplemented from CCalHcal.

Definition at line 361 of file CCalG4Hcal.cc.

G4LogicalVolume * CCalG4Hcal::constructScintillatorLayer ( G4int  lay)
protected

Definition at line 211 of file CCalG4Hcal.cc.

References allSensitiveLogs, CCalVisualisable::Cable, CCalMaterialFactory::findMaterial(), G4cout, G4endl, CCalHcal::getDx_2BackP(), CCalHcal::getDx_2FrontP(), CCalHcal::getDx_2Scnt(), CCalHcal::getDx_2ScntLay(), CCalHcal::getDx_2Wrap(), CCalHcal::getDy_2ScntLay(), CCalHcal::getGenMat(), CCalMaterialFactory::getInstance(), G4LogicalVolume::GetName(), CCalHcal::getPlasMat(), CCalHcal::getScntMat(), CCalHcal::getWrapMat(), mm, name, CCalDetector::Name(), CCalVisualisable::PseudoVolumes, CCalVisualisable::Sensitive, CCalG4Able::setVisType(), CCalVisualisable::Support, and tab().

Referenced by constructIn().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CCalG4Hcal::constructSensitive ( )
protectedvirtual

Reimplemented from CCalG4Able.

Definition at line 342 of file CCalG4Hcal.cc.

References allSensitiveLogs, G4cerr, G4cout, G4endl, CCalSensitiveDetectors::getInstance(), CCalDetector::Name(), and CCalSensitiveDetectors::registerVolume().

+ Here is the call graph for this function:

Member Data Documentation

ptrG4Log* CCalG4Hcal::absLog
private

Definition at line 62 of file CCalG4Hcal.hh.

Referenced by constructIn(), and ~CCalG4Hcal().

std::vector<ptrG4Log> CCalG4Hcal::allSensitiveLogs
private

Definition at line 65 of file CCalG4Hcal.hh.

Referenced by constructScintillatorLayer(), and constructSensitive().

ptrG4Log* CCalG4Hcal::sclLog
private

Definition at line 61 of file CCalG4Hcal.hh.

Referenced by constructIn(), and ~CCalG4Hcal().


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