Geant4  10.02.p01
Par02DetectorConstruction Class Reference

Construction of detector geometry. More...

#include <Par02DetectorConstruction.hh>

+ Inheritance diagram for Par02DetectorConstruction:
+ Collaboration diagram for Par02DetectorConstruction:

Public Member Functions

 Par02DetectorConstruction ()
 A default constructor. More...
 
virtual ~Par02DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 A method invoked by G4RunManager::Initialize() More...
 
virtual void ConstructSDandField ()
 A method invoked by G4RunManager::Initialize() to construct thread local objects. More...
 
- 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
 

Public Attributes

std::vector< G4Region * > fTrackerList
 A vector of the tracking detector regions. More...
 
std::vector< G4Region * > fECalList
 A vector of the the electromagnetic calorimeter regions. More...
 
std::vector< G4Region * > fHCalList
 A vector of the the hadronic calorimeter regions. More...
 
std::vector< G4Region * > fMuonList
 A vector of the muon detector regions. More...
 

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

Construction of detector geometry.

A mandatory initialization class of the detector setup. Detector construction allows to use the geometry read from a GDML file. Based on G4 examples/persistency/gdml/G01/include/G01DetectorConstruction.hh .

Author
Anna Zaborowska

Definition at line 49 of file Par02DetectorConstruction.hh.

Constructor & Destructor Documentation

Par02DetectorConstruction::Par02DetectorConstruction ( )

A default constructor.

Definition at line 40 of file Par02DetectorConstruction.cc.

Par02DetectorConstruction::~Par02DetectorConstruction ( )
virtual

Definition at line 44 of file Par02DetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * Par02DetectorConstruction::Construct ( void  )
virtual

A method invoked by G4RunManager::Initialize()

Returns
A pointer to the world volume.

Implements G4VUserDetectorConstruction.

Definition at line 48 of file Par02DetectorConstruction.cc.

References fECalList, fHCalList, fMuonList, fTrackerList, G4cout, G4endl, G4GDMLParser::GetAuxMap(), G4LogicalVolume::GetName(), G4GDMLParser::GetWorldVolume(), idxG4GammaCut, m, parser(), and G4GDMLParser::Read().

+ Here is the call graph for this function:

void Par02DetectorConstruction::ConstructSDandField ( )
virtual

A method invoked by G4RunManager::Initialize() to construct thread local objects.

Reimplemented from G4VUserDetectorConstruction.

Definition at line 113 of file Par02DetectorConstruction.cc.

References Par02DetectorParametrisation::eCMS, fECalList, fHCalList, fTrackerList, and G4AutoDelete::Register().

+ Here is the call graph for this function:

Member Data Documentation

std::vector< G4Region* > Par02DetectorConstruction::fECalList

A vector of the the electromagnetic calorimeter regions.

Definition at line 68 of file Par02DetectorConstruction.hh.

Referenced by Construct(), and ConstructSDandField().

std::vector< G4Region* > Par02DetectorConstruction::fHCalList

A vector of the the hadronic calorimeter regions.

Definition at line 71 of file Par02DetectorConstruction.hh.

Referenced by Construct(), and ConstructSDandField().

std::vector< G4Region* > Par02DetectorConstruction::fMuonList

A vector of the muon detector regions.

Definition at line 74 of file Par02DetectorConstruction.hh.

Referenced by Construct().

std::vector< G4Region* > Par02DetectorConstruction::fTrackerList

A vector of the tracking detector regions.

Definition at line 65 of file Par02DetectorConstruction.hh.

Referenced by Construct(), and ConstructSDandField().


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