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

#include <DetectorConstruction.hh>

Inheritance diagram for B4c::DetectorConstruction:

Public Member Functions

 DetectorConstruction ()=default
 
 ~DetectorConstruction () override=default
 
G4VPhysicalVolume * Construct () override
 
void ConstructSDandField () override
 

Detailed Description

Detector construction class to define materials and geometry. The calorimeter is a box made of a given number of layers. A layer consists of an absorber plate and of a detection gap. The layer is replicated.

Four parameters define the geometry of the calorimeter :

  • the thickness of an absorber plate,
  • the thickness of a gap,
  • the number of layers,
  • the transverse size of the calorimeter (the input face is a square).

In ConstructSDandField() sensitive detectors of CalorimeterSD type are created and associated with the Absorber and Gap volumes. In addition a transverse uniform magnetic field is defined via G4GlobalMagFieldMessenger class.

Definition at line 57 of file DetectorConstruction.hh.

Constructor & Destructor Documentation

◆ DetectorConstruction()

B4c::DetectorConstruction::DetectorConstruction ( )
default

◆ ~DetectorConstruction()

B4c::DetectorConstruction::~DetectorConstruction ( )
overridedefault

Member Function Documentation

◆ Construct()

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

Definition at line 58 of file DetectorConstruction.cc.

◆ ConstructSDandField()

void B4c::DetectorConstruction::ConstructSDandField ( )
override

Definition at line 234 of file DetectorConstruction.cc.


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