G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
Loading...
Searching...
No Matches
B1::DetectorConstruction Class Reference

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

#include <DetectorConstruction.hh>

Inheritance diagram for B1::DetectorConstruction:

Public Member Functions

 DetectorConstruction ()=default
 
 ~DetectorConstruction () override=default
 
G4VPhysicalVolume * Construct () override
 
G4LogicalVolume * GetScoringVolume () const
 

Protected Attributes

G4LogicalVolume * fScoringVolume = nullptr
 

Detailed Description

Detector construction class to define materials and geometry.

Definition at line 41 of file DetectorConstruction.hh.

Constructor & Destructor Documentation

◆ DetectorConstruction()

B1::DetectorConstruction::DetectorConstruction ( )
default

◆ ~DetectorConstruction()

B1::DetectorConstruction::~DetectorConstruction ( )
overridedefault

Member Function Documentation

◆ Construct()

G4VPhysicalVolume * B1::DetectorConstruction::Construct ( )
override

Definition at line 47 of file DetectorConstruction.cc.

References fScoringVolume.

◆ GetScoringVolume()

G4LogicalVolume * B1::DetectorConstruction::GetScoringVolume ( ) const
inline

Definition at line 48 of file DetectorConstruction.hh.

References fScoringVolume.

Member Data Documentation

◆ fScoringVolume

G4LogicalVolume* B1::DetectorConstruction::fScoringVolume = nullptr
protected

Definition at line 51 of file DetectorConstruction.hh.

Referenced by Construct(), and GetScoringVolume().


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