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

CaloOptionsm_options
 
float m_sizeX
 
float m_sizeY
 
float m_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

◆ m_options

CaloOptions& SphericalCaloBuilder::m_options
private

◆ m_sizeX

float SphericalCaloBuilder::m_sizeX
private

◆ m_sizeY

float SphericalCaloBuilder::m_sizeY
private

◆ m_sizeZ

float SphericalCaloBuilder::m_sizeZ
private

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