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

CaloOptions_options
 
int _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
monolithicIf true then the whole CALO will be made of a single LYSO volume

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

◆ _nCrystals

int CaloBuilder::_nCrystals
private

◆ _options

CaloOptions& CaloBuilder::_options
private

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