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

Detector construction class using text geometry file and C++ code. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P03/include/ExTGDetectorConstructionWithCpp.hh>

+ Inheritance diagram for ExTGDetectorConstructionWithCpp:
+ Collaboration diagram for ExTGDetectorConstructionWithCpp:

Public Member Functions

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

Private Attributes

G4tgrMessengerfMessenger
 

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

Detector construction class using text geometry file and C++ code.

Definition at line 40 of file ExTGDetectorConstructionWithCpp.hh.

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

Constructor & Destructor Documentation

ExTGDetectorConstructionWithCpp::ExTGDetectorConstructionWithCpp ( )

Definition at line 39 of file ExTGDetectorConstructionWithCpp.cc.

View newest version in sPHENIX GitHub at line 39 of file ExTGDetectorConstructionWithCpp.cc

References fMessenger.

ExTGDetectorConstructionWithCpp::~ExTGDetectorConstructionWithCpp ( )

Definition at line 45 of file ExTGDetectorConstructionWithCpp.cc.

View newest version in sPHENIX GitHub at line 45 of file ExTGDetectorConstructionWithCpp.cc

References fMessenger.

Member Function Documentation

G4VPhysicalVolume * ExTGDetectorConstructionWithCpp::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 51 of file ExTGDetectorConstructionWithCpp.cc.

View newest version in sPHENIX GitHub at line 51 of file ExTGDetectorConstructionWithCpp.cc

References G4tgbVolumeMgr::AddTextFile(), INPUTHEPMC::filename, G4tgbVolumeMgr::FindG4LogVol(), G4NistManager::FindOrBuildMaterial(), G4tgbVolumeMgr::GetInstance(), G4VPhysicalVolume::GetLogicalVolume(), G4NistManager::Instance(), and G4tgbVolumeMgr::ReadAndConstructDetector().

+ Here is the call graph for this function:

Member Data Documentation

G4tgrMessenger* ExTGDetectorConstructionWithCpp::fMessenger
private

Definition at line 51 of file ExTGDetectorConstructionWithCpp.hh.

View newest version in sPHENIX GitHub at line 51 of file ExTGDetectorConstructionWithCpp.hh

Referenced by ExTGDetectorConstructionWithCpp(), and ~ExTGDetectorConstructionWithCpp().


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