HerdSoftware  0.1.1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CaloBuilder_v2 Class Reference

Builder class for CALO. More...

#include <simulation/geometry/parametric/CaloBuilder_v2.h>

Public Member Functions

 CaloBuilder_v2 (CaloOptions &options)
 Constructor. More...
 
G4LogicalVolume * Build ()
 Builds the CALO. More...
 
float GetSizeZ ()
 Returns the height of the CALO. More...
 
float GetSizeX ()
 Returns the size of the CALO along the X direction. More...
 
float GetSizeY ()
 Returns the size of the CALO along the X direction. More...
 

Private Member Functions

void DefineMaterials ()
 

Private Attributes

CaloOptions_options
 
G4Material * _Vacuum
 
G4Material * _wall_mat
 
G4Material * _Air
 
G4Material * _Ti
 
G4Material * _CaloMaterial
 
int _nCrystals
 

Detailed Description

Builder class for CALO.

This class builds the CALO and provides some utility methods.

Constructor & Destructor Documentation

◆ CaloBuilder_v2()

CaloBuilder_v2::CaloBuilder_v2 ( CaloOptions options)

Constructor.

Parameters
monolithicIf true then the whole CALO will be made of a single LYSO volume

Member Function Documentation

◆ Build()

G4LogicalVolume * CaloBuilder_v2::Build ( )

Builds the CALO.

Returns
the logical volume containing the CALO.

◆ DefineMaterials()

void CaloBuilder_v2::DefineMaterials ( )
private

◆ GetSizeX()

float CaloBuilder_v2::GetSizeX ( )

Returns the size of the CALO along the X direction.

It includes the crystals matrix only, the external supporting structures are not taken into account.

Returns
the size of the CALO along X in internal G4 units.

◆ GetSizeY()

float CaloBuilder_v2::GetSizeY ( )

Returns the size of the CALO along the X direction.

It includes the crystals matrix only, the external supporting structures are not taken into account.

Returns
the size of the CALO along X in internal G4 units.

◆ GetSizeZ()

float CaloBuilder_v2::GetSizeZ ( )

Returns the height of the CALO.

It includes the crystals matrix only, the external supporting structures are not taken into account.

Returns
the height of the CALO in internal G4 units.

Member Data Documentation

◆ _Air

G4Material* CaloBuilder_v2::_Air
private

◆ _CaloMaterial

G4Material* CaloBuilder_v2::_CaloMaterial
private

◆ _nCrystals

int CaloBuilder_v2::_nCrystals
private

◆ _options

CaloOptions& CaloBuilder_v2::_options
private

◆ _Ti

G4Material* CaloBuilder_v2::_Ti
private

◆ _Vacuum

G4Material* CaloBuilder_v2::_Vacuum
private

◆ _wall_mat

G4Material* CaloBuilder_v2::_wall_mat
private

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