Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
B4cDetectorConstruction Class Reference

#include <B4cDetectorConstruction.hh>

Inheritance diagram for B4cDetectorConstruction:
Inheritance graph
[legend]
Collaboration diagram for B4cDetectorConstruction:
Collaboration graph
[legend]

Public Member Functions

 B4cDetectorConstruction ()
 
virtual ~B4cDetectorConstruction ()
 
virtual G4VPhysicalVolumeConstruct ()
 
void SetMagField (G4double fieldValue)
 
- Public Member Functions inherited from G4VUserDetectorConstruction
 G4VUserDetectorConstruction ()
 
virtual ~G4VUserDetectorConstruction ()
 
void RegisterParallelWorld (G4VUserParallelWorld *)
 
G4int ConstructParallelGeometries ()
 
G4int GetNumberOfParallelWorld () const
 
G4VUserParallelWorldGetParallelWorld (G4int i) const
 

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 :

In DefineVolumes(), sensitive detectors of B4cCalorimeterSD type are created and associated with the Absorber and Gap volumes.

In addition a transverse uniform magnetic field is defined in SetMagField() method which can be activated via a command defined using G4GenericMessenger class:

Definition at line 61 of file B4cDetectorConstruction.hh.

Constructor & Destructor Documentation

B4cDetectorConstruction::B4cDetectorConstruction ( )

Definition at line 58 of file B4cDetectorConstruction.cc.

Here is the call graph for this function:

B4cDetectorConstruction::~B4cDetectorConstruction ( )
virtual

Definition at line 78 of file B4cDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * B4cDetectorConstruction::Construct ( void  )
virtual

Implements G4VUserDetectorConstruction.

Definition at line 86 of file B4cDetectorConstruction.cc.

void B4cDetectorConstruction::SetMagField ( G4double  fieldValue)

Definition at line 301 of file B4cDetectorConstruction.cc.

Here is the call graph for this function:

Here is the caller graph for this function:


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