Geant4  10.02
CCalG4Ecal Class Reference

#include <CCalG4Ecal.hh>

+ Inheritance diagram for CCalG4Ecal:
+ Collaboration diagram for CCalG4Ecal:

Public Types

enum  CMType { module1, module2 }
 

Public Member Functions

 CCalG4Ecal (const G4String &name)
 
virtual ~CCalG4Ecal ()
 
void setType (CMType ty)
 
- Public Member Functions inherited from CCalEcal
 CCalEcal (const G4String &name)
 
virtual ~CCalEcal ()
 
G4String getGenMat () const
 
double getWidBox () const
 
double getLengBox () const
 
double getXpos () const
 
double getYpos () const
 
double getZpos () const
 
double getThetaX () const
 
double getPhiX () const
 
double getThetaY () const
 
double getPhiY () const
 
double getThetaZ () const
 
double getPhiZ () const
 
G4String getLayMat () const
 
int getLayNum () const
 
double getLayRadius () const
 
double getLayAngle () const
 
double getLengFront () const
 
double getLayPar (unsigned int i) const
 
G4String getCrystMat () const
 
int getCrystNum () const
 
double getCrystLength () const
 
double getCrystTol () const
 
double getCrystPar (unsigned int i) const
 
G4String getSuppMat () const
 
double getDxSupp () const
 
double getDySupp () const
 
double getDzSupp () const
 
double getDistSupp () 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
 

Static Public Attributes

static G4String idName = "CrystalMatrix"
 

Protected Member Functions

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

Private Member Functions

G4LogicalVolumeconstructGlobal ()
 

Private Attributes

CMType type
 
std::vector< ptrG4LogsensitiveLogs
 

Static Private Attributes

static G4LogicalVolumecrystalmatrixLog = 0
 

Additional Inherited Members

- Protected Attributes inherited from CCalDetector
G4String detectorName
 
G4String fileName
 
G4String pathName
 
CCalDetectorTable theDetectorsInside
 
int constructFlag
 
- Protected Attributes inherited from CCalG4Able
G4VPhysicalVolumedetPhysicalVolume
 
CCalG4AbleTable theG4DetectorsInside
 
G4String g4ableName
 
G4bool sensitivity
 
CCalVisualisable visProperties
 
G4VisAttributesg4VisAtt [CCalVisualisable::TotalVisTypes]
 

Detailed Description

Definition at line 39 of file CCalG4Ecal.hh.

Member Enumeration Documentation

Enumerator
module1 
module2 

Definition at line 42 of file CCalG4Ecal.hh.

Constructor & Destructor Documentation

CCalG4Ecal::CCalG4Ecal ( const G4String name)

Definition at line 65 of file CCalG4Ecal.cc.

CCalG4Ecal::~CCalG4Ecal ( )
virtual

Definition at line 68 of file CCalG4Ecal.cc.

Member Function Documentation

void CCalG4Ecal::constructSensitive ( )
protectedvirtual

Reimplemented from CCalG4Able.

Definition at line 276 of file CCalG4Ecal.cc.

References G4cout, G4endl, CCalSensitiveDetectors::getInstance(), idName, CCalSensitiveDetectors::registerVolume(), and sensitiveLogs.

+ Here is the call graph for this function:

void CCalG4Ecal::setType ( CMType  ty)
inline

Definition at line 48 of file CCalG4Ecal.hh.

References type.

Referenced by CCalG4Hall::constructDaughters().

+ Here is the caller graph for this function:

Member Data Documentation

G4LogicalVolume * CCalG4Ecal::crystalmatrixLog = 0
staticprivate

Definition at line 70 of file CCalG4Ecal.hh.

Referenced by constructIn().

G4String CCalG4Ecal::idName = "CrystalMatrix"
static

Definition at line 51 of file CCalG4Ecal.hh.

Referenced by constructGlobal(), constructIn(), and constructSensitive().

std::vector<ptrG4Log> CCalG4Ecal::sensitiveLogs
private

Definition at line 73 of file CCalG4Ecal.hh.

Referenced by constructGlobal(), and constructSensitive().

CMType CCalG4Ecal::type
private

Definition at line 67 of file CCalG4Ecal.hh.

Referenced by constructIn(), and setType().


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