HerdSoftware  0.4.0
Public Member Functions | Private Attributes | List of all members
CaloBuilder Class Reference

Builder class for CALO. More...

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

Public Member Functions

 CaloBuilder (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 Attributes

CaloOptionsm_options
 
int m_nCrystals
 

Detailed Description

Builder class for CALO.

This class builds the CALO and provides some utility methods.

Constructor & Destructor Documentation

◆ CaloBuilder()

CaloBuilder::CaloBuilder ( CaloOptions options)

Constructor.

Parameters
optionsCALO geometry parameters.

Member Function Documentation

◆ Build()

G4LogicalVolume * CaloBuilder::Build ( )

Builds the CALO.

Returns
the logical volume containing the CALO.

◆ GetSizeX()

float CaloBuilder::GetSizeX ( )

Returns the size of the CALO along the X direction.

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

◆ GetSizeY()

float CaloBuilder::GetSizeY ( )

Returns the size of the CALO along the X direction.

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

◆ GetSizeZ()

float CaloBuilder::GetSizeZ ( )

Returns the height of the CALO.

Returns
the height of the CALO in internal G4 units.

Member Data Documentation

◆ m_nCrystals

int CaloBuilder::m_nCrystals
private

◆ m_options

CaloOptions& CaloBuilder::m_options
private

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