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

Builder class for top SCD. More...

#include <TopScdBuilder_v2.h>

Public Member Functions

 TopScdBuilder_v2 (SCDOptions &options)
 Constructor.
More...
 
G4LogicalVolume * Build ()
 Builds the top SCD. More...
 
const std::vector< float > & NormalPositions () const
 Get the normal positions of all layers. More...
 

Private Attributes

SCDOptionsm_options
 
std::vector< float > m_normPos
 

Detailed Description

Builder class for top SCD.

This class builds the top SCD and provides some utility methods.

Constructor & Destructor Documentation

◆ TopScdBuilder_v2()

TopScdBuilder_v2::TopScdBuilder_v2 ( SCDOptions options)

Constructor.

Member Function Documentation

◆ Build()

G4LogicalVolume * TopScdBuilder_v2::Build ( )

Builds the top SCD.

Returns
the logical volume containing the top SCD.

◆ NormalPositions()

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

Get the normal positions of all layers.

Returns
the vector of layer positions along the normal

Member Data Documentation

◆ m_normPos

std::vector<float> TopScdBuilder_v2::m_normPos
private

◆ m_options

SCDOptions& TopScdBuilder_v2::m_options
private

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