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

Detector construction class to define materials and geometry. More...

#include <geant4/tree/geant4-10.6-release/examples/basic/B1/include/B1DetectorConstruction.hh>

+ Inheritance diagram for B1DetectorConstruction:
+ Collaboration diagram for B1DetectorConstruction:

Public Member Functions

 B1DetectorConstruction ()
 
virtual ~B1DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4LogicalVolumeGetScoringVolume () const
 
 B1DetectorConstruction ()
 
virtual ~B1DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4LogicalVolumeGetScoringVolume () const
 
 B1DetectorConstruction ()
 
virtual ~B1DetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
G4LogicalVolumeGetScoringVolume () const
 
- 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
 

Protected Attributes

G4LogicalVolumefScoringVolume
 

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 to define materials and geometry.

Definition at line 41 of file B1DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 41 of file B1DetectorConstruction.hh

Constructor & Destructor Documentation

B1DetectorConstruction::B1DetectorConstruction ( )

Definition at line 45 of file B1DetectorConstruction.cc.

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

B1DetectorConstruction::~B1DetectorConstruction ( )
virtual

Definition at line 52 of file B1DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 52 of file B1DetectorConstruction.cc

B1DetectorConstruction::B1DetectorConstruction ( )
virtual B1DetectorConstruction::~B1DetectorConstruction ( )
virtual
B1DetectorConstruction::B1DetectorConstruction ( )
virtual B1DetectorConstruction::~B1DetectorConstruction ( )
virtual

Member Function Documentation

G4VPhysicalVolume * B1DetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 57 of file B1DetectorConstruction.cc.

View newest version in sPHENIX GitHub at line 57 of file B1DetectorConstruction.cc

References cm, deg, G4NistManager::FindOrBuildMaterial(), fScoringVolume, G4NistManager::Instance(), and physWorld.

+ Here is the call graph for this function:

virtual G4VPhysicalVolume* B1DetectorConstruction::Construct ( )
virtual
virtual G4VPhysicalVolume* B1DetectorConstruction::Construct ( )
virtual
G4LogicalVolume* B1DetectorConstruction::GetScoringVolume ( ) const
inline

Definition at line 49 of file B1DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 49 of file B1DetectorConstruction.hh

References fScoringVolume.

G4LogicalVolume* B1DetectorConstruction::GetScoringVolume ( ) const
inline

Definition at line 49 of file B1DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 49 of file B1DetectorConstruction.hh

References fScoringVolume.

Referenced by B1RunAction::EndOfRunAction(), B1ConRunAction::EndOfRunAction(), and B1SteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4LogicalVolume* B1DetectorConstruction::GetScoringVolume ( ) const
inline

Definition at line 49 of file B1DetectorConstruction.hh.

View newest version in sPHENIX GitHub at line 49 of file B1DetectorConstruction.hh

References fScoringVolume.

Member Data Documentation

G4LogicalVolume * B1DetectorConstruction::fScoringVolume
protected

Definition at line 52 of file B1DetectorConstruction.hh.

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

Referenced by Construct(), and GetScoringVolume().


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