ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XDetectorConstruction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/exoticphysics/phonon/include/XDetectorConstruction.hh>

+ Inheritance diagram for XDetectorConstruction:
+ Collaboration diagram for XDetectorConstruction:

Public Member Functions

 XDetectorConstruction ()
 
virtual ~XDetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 
void Field (G4bool bl)
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
virtual void CloneSD ()
 
virtual void CloneF ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
void ConstructParallelSD ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

Private Member Functions

void DefineMaterials ()
 
void SetupGeometry ()
 

Private Attributes

G4MaterialfLiquidHelium
 
G4MaterialfGermanium
 
G4MaterialfAluminum
 
G4MaterialfTungsten
 
G4VPhysicalVolumefWorldPhys
 
G4bool fConstructed
 
G4bool fIfField
 

Additional Inherited Members

- Protected Member Functions inherited from G4VUserDetectorConstruction
void SetSensitiveDetector (const G4String &logVolName, G4VSensitiveDetector *aSD, G4bool multi=false)
 
void SetSensitiveDetector (G4LogicalVolume *logVol, G4VSensitiveDetector *aSD)
 

Detailed Description

Definition at line 40 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 40 of file XDetectorConstruction.hh

Constructor & Destructor Documentation

XDetectorConstruction::XDetectorConstruction ( )

Definition at line 59 of file XDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 59 of file XDetectorConstruction.cc

References fAluminum, fGermanium, fLiquidHelium, fTungsten, and fWorldPhys.

XDetectorConstruction::~XDetectorConstruction ( )
virtual

Definition at line 70 of file XDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 70 of file XDetectorConstruction.cc

Member Function Documentation

G4VPhysicalVolume * XDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 74 of file XDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 74 of file XDetectorConstruction.cc

References DefineMaterials(), fConstructed, fWorldPhys, and SetupGeometry().

+ Here is the call graph for this function:

void XDetectorConstruction::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 163 of file XDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 163 of file XDetectorConstruction.cc

References G4SDManager::AddNewDetector(), G4SDManager::GetSDMpointer(), and G4VUserDetectorConstruction::SetSensitiveDetector().

+ Here is the call graph for this function:

void XDetectorConstruction::DefineMaterials ( )
private

Definition at line 87 of file XDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 87 of file XDetectorConstruction.cc

References fAluminum, fGermanium, G4NistManager::FindOrBuildMaterial(), fLiquidHelium, fTungsten, and G4NistManager::Instance().

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XDetectorConstruction::Field ( G4bool  bl)
inline

Definition at line 63 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 63 of file XDetectorConstruction.hh

References fIfField.

void XDetectorConstruction::SetupGeometry ( )
private

Definition at line 99 of file XDetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 99 of file XDetectorConstruction.cc

References cm, DBL_MAX, deg, fAluminum, fGermanium, fLiquidHelium, fWorldPhys, G4VPhysicalVolume::GetFrameRotation(), G4VisAttributes::GetInvisible(), G4LatticeManager::GetLatticeManager(), G4LatticeManager::LoadLattice(), mm, G4LatticeManager::RegisterLattice(), G4LogicalVolume::SetUserLimits(), G4LogicalVolume::SetVisAttributes(), and G4VisAttributes::SetVisibility().

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4Material* XDetectorConstruction::fAluminum
private

Definition at line 56 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 56 of file XDetectorConstruction.hh

Referenced by DefineMaterials(), SetupGeometry(), and XDetectorConstruction().

G4bool XDetectorConstruction::fConstructed
private

Definition at line 59 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 59 of file XDetectorConstruction.hh

Referenced by Construct().

G4Material* XDetectorConstruction::fGermanium
private

Definition at line 55 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 55 of file XDetectorConstruction.hh

Referenced by DefineMaterials(), SetupGeometry(), and XDetectorConstruction().

G4bool XDetectorConstruction::fIfField
private

Definition at line 60 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 60 of file XDetectorConstruction.hh

Referenced by Field().

G4Material* XDetectorConstruction::fLiquidHelium
private

Definition at line 54 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 54 of file XDetectorConstruction.hh

Referenced by DefineMaterials(), SetupGeometry(), and XDetectorConstruction().

G4Material* XDetectorConstruction::fTungsten
private

Definition at line 57 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 57 of file XDetectorConstruction.hh

Referenced by DefineMaterials(), and XDetectorConstruction().

G4VPhysicalVolume* XDetectorConstruction::fWorldPhys
private

Definition at line 58 of file XDetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 58 of file XDetectorConstruction.hh

Referenced by Construct(), SetupGeometry(), and XDetectorConstruction().


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