HerdSoftware  0.1.1
Public Types | Public Member Functions | Private Attributes | List of all members
TilePsdBuilder Class Reference

Builder class for tile top PSD. More...

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

Public Types

enum  Type { Type::TOP, Type::SIDE }
 

Public Member Functions

 TilePsdBuilder (PSDOptions &options, Type type)
 Constructor. More...
 
G4LogicalVolume * Build ()
 Builds the tile top PSD. More...
 
const std::vector< float > & NormalPositions () const
 Get the normal positions of all layers. More...
 

Private Attributes

PSDOptions_options
 
Type _type
 
std::vector< float > normPos
 

Detailed Description

Builder class for tile top PSD.

This class builds the tile top PSD and provides some utility methods.

Member Enumeration Documentation

◆ Type

enum TilePsdBuilder::Type
strong
Enumerator
TOP 
SIDE 

Constructor & Destructor Documentation

◆ TilePsdBuilder()

TilePsdBuilder::TilePsdBuilder ( PSDOptions options,
Type  type 
)

Constructor.

Parameters
optionsThe PSD options.
typeThe type of PSD to be built (top or side).

Member Function Documentation

◆ Build()

G4LogicalVolume * TilePsdBuilder::Build ( )

Builds the tile top PSD.

Returns
the logical volume containing the tile top PSD.

◆ NormalPositions()

const std::vector<float>& TilePsdBuilder::NormalPositions ( ) const
inline

Get the normal positions of all layers.

Returns
the vector of layer positions along the normal

Member Data Documentation

◆ _options

PSDOptions& TilePsdBuilder::_options
private

◆ _type

Type TilePsdBuilder::_type
private

◆ normPos

std::vector<float> TilePsdBuilder::normPos
private

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