HerdSoftware  0.3.2
Public Member Functions | Private Attributes | List of all members
SphericalCaloBuilder Class Reference

Builder class for CALO. More...

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

Public Member Functions

 SphericalCaloBuilder (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
 
float _sizeX
 
float _sizeY
 
float _sizeZ
 

Detailed Description

Builder class for CALO.

This class builds the spherical CALO and provides some utility methods.

Constructor & Destructor Documentation

◆ SphericalCaloBuilder()

SphericalCaloBuilder::SphericalCaloBuilder ( CaloOptions options)

Constructor.

Member Function Documentation

◆ Build()

G4LogicalVolume * SphericalCaloBuilder::Build ( )

Builds the CALO.

Returns
the logical volume containing the CALO.

◆ GetSizeX()

float SphericalCaloBuilder::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 SphericalCaloBuilder::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 SphericalCaloBuilder::GetSizeZ ( )

Returns the height of the CALO.

Returns
the height of the CALO in internal G4 units.

Member Data Documentation

◆ _options

CaloOptions& SphericalCaloBuilder::_options
private

◆ _sizeX

float SphericalCaloBuilder::_sizeX
private

◆ _sizeY

float SphericalCaloBuilder::_sizeY
private

◆ _sizeZ

float SphericalCaloBuilder::_sizeZ
private

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