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

Detector construction class using text geometry file and using a sensitive detector. More...

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

+ Inheritance diagram for ExTGDetectorConstructionWithSD:
+ Collaboration diagram for ExTGDetectorConstructionWithSD:

Public Member Functions

 ExTGDetectorConstructionWithSD ()
 
 ~ExTGDetectorConstructionWithSD ()
 
G4VPhysicalVolumeConstruct ()
 
void ConstructSDandField ()
 
- 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 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 using a sensitive detector.

Definition at line 40 of file ExTGDetectorConstructionWithSD.hh.

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

Constructor & Destructor Documentation

ExTGDetectorConstructionWithSD::ExTGDetectorConstructionWithSD ( )

Definition at line 41 of file ExTGDetectorConstructionWithSD.cc.

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

References fMessenger.

ExTGDetectorConstructionWithSD::~ExTGDetectorConstructionWithSD ( )

Definition at line 47 of file ExTGDetectorConstructionWithSD.cc.

View newest version in sPHENIX GitHub at line 47 of file ExTGDetectorConstructionWithSD.cc

References fMessenger.

Member Function Documentation

G4VPhysicalVolume * ExTGDetectorConstructionWithSD::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 53 of file ExTGDetectorConstructionWithSD.cc.

View newest version in sPHENIX GitHub at line 53 of file ExTGDetectorConstructionWithSD.cc

References G4tgbVolumeMgr::AddTextFile(), INPUTHEPMC::filename, G4tgbVolumeMgr::GetInstance(), and G4tgbVolumeMgr::ReadAndConstructDetector().

+ Here is the call graph for this function:

void ExTGDetectorConstructionWithSD::ConstructSDandField ( )
virtual

Reimplemented from G4VUserDetectorConstruction.

Definition at line 70 of file ExTGDetectorConstructionWithSD.cc.

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

References G4SDManager::AddNewDetector(), G4tgbVolumeMgr::FindG4LogVol(), G4Exception(), G4tgbVolumeMgr::GetInstance(), G4SDManager::GetSDMpointer(), JustWarning, and G4VUserDetectorConstruction::SetSensitiveDetector().

+ Here is the call graph for this function:

Member Data Documentation

G4tgrMessenger* ExTGDetectorConstructionWithSD::fMessenger
private

Definition at line 52 of file ExTGDetectorConstructionWithSD.hh.

View newest version in sPHENIX GitHub at line 52 of file ExTGDetectorConstructionWithSD.hh

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


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