Geant4  10.00.p02
CCalG4Able Class Referenceabstract

#include <CCalG4Able.hh>

+ Inheritance diagram for CCalG4Able:
+ Collaboration diagram for CCalG4Able:

Public Member Functions

 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

void AddCCalG4Able (CCalG4Able *)
 
virtual G4VPhysicalVolumeconstructIn (G4VPhysicalVolume *)=0
 
virtual void constructSensitive ()
 

Protected Attributes

G4VPhysicalVolumedetPhysicalVolume
 
CCalG4AbleTable theG4DetectorsInside
 
G4String g4ableName
 
G4bool sensitivity
 
CCalVisualisable visProperties
 
G4VisAttributesg4VisAtt [CCalVisualisable::TotalVisTypes]
 

Friends

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

Detailed Description

Definition at line 51 of file CCalG4Able.hh.

Constructor & Destructor Documentation

CCalG4Able::CCalG4Able ( G4String  name)

Definition at line 49 of file CCalG4Able.cc.

References g4VisAtt, CCalSensitiveConfiguration::getInstance(), CCalSensitiveConfiguration::getSensitiveFlag(), sensitivity, and CCalVisualisable::TotalVisTypes.

+ Here is the call graph for this function:

CCalG4Able::~CCalG4Able ( )
virtual

Definition at line 60 of file CCalG4Able.cc.

References detPhysicalVolume.

Member Function Documentation

void CCalG4Able::AddCCalG4Able ( CCalG4Able det)
protected

Definition at line 100 of file CCalG4Able.cc.

References theG4DetectorsInside.

Referenced by CCalG4Hall::constructDaughters().

+ Here is the caller graph for this function:

virtual G4VPhysicalVolume* CCalG4Able::constructIn ( G4VPhysicalVolume )
protectedpure virtual

Implemented in CCalG4Ecal, CCalG4Hcal, and CCalG4Hall.

Referenced by PhysicalVolume().

+ Here is the caller graph for this function:

virtual void CCalG4Able::constructSensitive ( )
inlineprotectedvirtual

Reimplemented in CCalG4Ecal, and CCalG4Hcal.

Definition at line 94 of file CCalG4Able.hh.

Referenced by PhysicalVolume().

+ Here is the caller graph for this function:

G4String CCalG4Able::G4Name ( ) const
inline

Definition at line 78 of file CCalG4Able.hh.

References g4ableName.

Referenced by PhysicalVolume().

+ Here is the caller graph for this function:

G4bool CCalG4Able::isSensitive ( ) const
inline

Definition at line 75 of file CCalG4Able.hh.

References sensitivity.

Referenced by operator<<().

+ Here is the caller graph for this function:

G4bool CCalG4Able::operator== ( const CCalG4Able right) const

Definition at line 133 of file CCalG4Able.cc.

References detPhysicalVolume.

G4VPhysicalVolume * CCalG4Able::PhysicalVolume ( G4VPhysicalVolume pv)

Definition at line 65 of file CCalG4Able.cc.

References constructIn(), constructSensitive(), detPhysicalVolume, G4cout, G4endl, G4Name(), CCalGeometryConfiguration::getInstance(), G4VPhysicalVolume::GetName(), sensitivity, G4Timer::Start(), G4Timer::Stop(), tab(), and theG4DetectorsInside.

Referenced by CCalDetectorConstruction::Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CCalG4Able::setName ( const G4String name)
inline

Definition at line 79 of file CCalG4Able.hh.

References g4ableName, and name.

void CCalG4Able::setSensitivity ( G4bool  sens = true)
inline

Definition at line 74 of file CCalG4Able.hh.

References sensitivity.

void CCalG4Able::setVisType ( CCalVisualisable::visType  vt,
G4LogicalVolume log 
)

Definition at line 104 of file CCalG4Able.cc.

References CCalVisualisable::colorBlue(), CCalVisualisable::colorGreen(), CCalVisualisable::colorRed(), G4cout, G4endl, g4VisAtt, G4LogicalVolume::GetName(), CCalVisualisable::isVisible(), CCalVisualisable::isWireFrame(), G4VisAttributes::SetForceWireframe(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), tab(), and visProperties.

Referenced by CCalG4Hcal::constructAbsorberLayer(), CCalG4Ecal::constructGlobal(), CCalG4Hall::constructIn(), CCalG4Hcal::constructIn(), and CCalG4Hcal::constructScintillatorLayer().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Friends And Related Function Documentation

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

Definition at line 144 of file CCalG4Able.cc.

Member Data Documentation

G4VPhysicalVolume* CCalG4Able::detPhysicalVolume
protected

Definition at line 99 of file CCalG4Able.hh.

Referenced by operator<<(), operator==(), PhysicalVolume(), and ~CCalG4Able().

G4String CCalG4Able::g4ableName
protected

Definition at line 102 of file CCalG4Able.hh.

Referenced by G4Name(), and setName().

G4VisAttributes* CCalG4Able::g4VisAtt[CCalVisualisable::TotalVisTypes]
protected

Definition at line 108 of file CCalG4Able.hh.

Referenced by CCalG4Able(), and setVisType().

G4bool CCalG4Able::sensitivity
protected

Definition at line 104 of file CCalG4Able.hh.

Referenced by CCalG4Able(), isSensitive(), PhysicalVolume(), and setSensitivity().

CCalG4AbleTable CCalG4Able::theG4DetectorsInside
protected

Definition at line 100 of file CCalG4Able.hh.

Referenced by AddCCalG4Able(), and PhysicalVolume().

CCalVisualisable CCalG4Able::visProperties
protected

Definition at line 107 of file CCalG4Able.hh.

Referenced by setVisType().


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