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

#include <geant4/tree/geant4-10.6-release/examples/extended/parameterisations/Par02/include/Par02DetectorConstruction.hh>

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

Public Member Functions

 Par02DetectorConstruction ()
 A default constructor.
 
virtual ~Par02DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
virtual void ConstructSDandField ()
 A method invoked by G4RunManager::Initialize() to construct thread local objects.
 
- 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.
 
std::vector< G4Region * > fECalList
 A vector of the the electromagnetic calorimeter regions.
 
std::vector< G4Region * > fHCalList
 A vector of the the hadronic calorimeter regions.
 
std::vector< G4Region * > fMuonList
 A vector of the muon detector regions.
 
G4GlobalMagFieldMessengerfMagFieldMessenger
 Messenger of the magnetic field.
 

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 50 of file Par02DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 50 of file Par02DetectorConstruction.hh

Constructor & Destructor Documentation

Par02DetectorConstruction::Par02DetectorConstruction ( )

A default constructor.

Definition at line 41 of file Par02DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 41 of file Par02DetectorConstruction.cc

Par02DetectorConstruction::~Par02DetectorConstruction ( )
virtual

Definition at line 45 of file Par02DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 45 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 49 of file Par02DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 49 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 117 of file Par02DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 117 of file Par02DetectorConstruction.cc

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

+ 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 69 of file Par02DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 69 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 72 of file Par02DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 72 of file Par02DetectorConstruction.hh

Referenced by Construct(), and ConstructSDandField().

G4GlobalMagFieldMessenger* Par02DetectorConstruction::fMagFieldMessenger

Messenger of the magnetic field.

Definition at line 78 of file Par02DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 78 of file Par02DetectorConstruction.hh

Referenced by ConstructSDandField().

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

A vector of the muon detector regions.

Definition at line 75 of file Par02DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 75 of file Par02DetectorConstruction.hh

Referenced by Construct().

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

A vector of the tracking detector regions.

Definition at line 66 of file Par02DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 66 of file Par02DetectorConstruction.hh

Referenced by Construct(), and ConstructSDandField().


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