HerdSoftware  0.4.0
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

CaloOptionsm_options
 
G4Material * m_Vacuum
 
G4Material * m_wall_mat
 
G4Material * m_Air
 
G4Material * m_Ti
 
G4Material * m_CaloMaterial
 
int m_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
optionsCALO geometry parameters.

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

◆ m_Air

G4Material* CaloBuilder_v2::m_Air
private

◆ m_CaloMaterial

G4Material* CaloBuilder_v2::m_CaloMaterial
private

◆ m_nCrystals

int CaloBuilder_v2::m_nCrystals
private

◆ m_options

CaloOptions& CaloBuilder_v2::m_options
private

◆ m_Ti

G4Material* CaloBuilder_v2::m_Ti
private

◆ m_Vacuum

G4Material* CaloBuilder_v2::m_Vacuum
private

◆ m_wall_mat

G4Material* CaloBuilder_v2::m_wall_mat
private

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