BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Data Fields | Private Attributes
BDSScorerMeshInfo Class Reference

Recipe class for a scoring mesh. More...

#include <BDSScorerMeshInfo.hh>

Inheritance diagram for BDSScorerMeshInfo:
Inheritance graph
Collaboration diagram for BDSScorerMeshInfo:
Collaboration graph

Public Member Functions

 BDSScorerMeshInfo (const GMAD::ScorerMesh &scorer)
 
G4double ScoringMeshX () const
 
G4double ScoringMeshY () const
 
G4double ScoringMeshZ () const
 
G4double ScoringMeshR () const
 
G4double ScoringMeshE () const
 
BDSExtent Extent () const
 

Data Fields

G4String name
 
G4String geometryType
 
G4int nBinsX
 
G4int nBinsY
 
G4int nBinsZ
 
G4int nBinsR
 
G4int nBinsPhi
 
G4int nBinsE
 
G4double xLow
 
G4double xHigh
 
G4double yLow
 
G4double yHigh
 
G4double zLow
 
G4double zHigh
 
G4double rLow
 
G4double rHigh
 
G4double eLow
 
G4double eHigh
 
std::string eScale
 
std::vector< double > eBinsEdges ={}
 
boost_histogram_axes_variant energyAxis
 

Private Attributes

BDSExtent extent
 

Detailed Description

Recipe class for a scoring mesh.

Convert a parser scorermesh instance to one using Geant4 types and units. Check values are set correctly.

Author
Robin Tesse

Definition at line 42 of file BDSScorerMeshInfo.hh.

Constructor & Destructor Documentation

◆ BDSScorerMeshInfo()

BDSScorerMeshInfo::BDSScorerMeshInfo ( const GMAD::ScorerMesh scorer)
explicit

Definition at line 39 of file BDSScorerMeshInfo.cc.

◆ ~BDSScorerMeshInfo()

virtual BDSScorerMeshInfo::~BDSScorerMeshInfo ( )
inlinevirtual

Definition at line 47 of file BDSScorerMeshInfo.hh.

Member Function Documentation

◆ Extent()

BDSExtent BDSScorerMeshInfo::Extent ( ) const
inline

Definition at line 78 of file BDSScorerMeshInfo.hh.

◆ ScoringMeshE()

G4double BDSScorerMeshInfo::ScoringMeshE ( ) const
inline

Definition at line 77 of file BDSScorerMeshInfo.hh.

◆ ScoringMeshR()

G4double BDSScorerMeshInfo::ScoringMeshR ( ) const
inline

Definition at line 76 of file BDSScorerMeshInfo.hh.

◆ ScoringMeshX()

G4double BDSScorerMeshInfo::ScoringMeshX ( ) const
inline

Definition at line 73 of file BDSScorerMeshInfo.hh.

◆ ScoringMeshY()

G4double BDSScorerMeshInfo::ScoringMeshY ( ) const
inline

Definition at line 74 of file BDSScorerMeshInfo.hh.

◆ ScoringMeshZ()

G4double BDSScorerMeshInfo::ScoringMeshZ ( ) const
inline

Definition at line 75 of file BDSScorerMeshInfo.hh.

Field Documentation

◆ eBinsEdges

std::vector<double> BDSScorerMeshInfo::eBinsEdges ={}

Definition at line 68 of file BDSScorerMeshInfo.hh.

◆ eHigh

G4double BDSScorerMeshInfo::eHigh

Definition at line 66 of file BDSScorerMeshInfo.hh.

◆ eLow

G4double BDSScorerMeshInfo::eLow

Definition at line 65 of file BDSScorerMeshInfo.hh.

◆ energyAxis

boost_histogram_axes_variant BDSScorerMeshInfo::energyAxis

Definition at line 70 of file BDSScorerMeshInfo.hh.

◆ eScale

std::string BDSScorerMeshInfo::eScale

Definition at line 67 of file BDSScorerMeshInfo.hh.

◆ extent

BDSExtent BDSScorerMeshInfo::extent
private

Definition at line 83 of file BDSScorerMeshInfo.hh.

◆ geometryType

G4String BDSScorerMeshInfo::geometryType

Definition at line 50 of file BDSScorerMeshInfo.hh.

◆ name

G4String BDSScorerMeshInfo::name

Definition at line 49 of file BDSScorerMeshInfo.hh.

◆ nBinsE

G4int BDSScorerMeshInfo::nBinsE

Definition at line 56 of file BDSScorerMeshInfo.hh.

◆ nBinsPhi

G4int BDSScorerMeshInfo::nBinsPhi

Definition at line 55 of file BDSScorerMeshInfo.hh.

◆ nBinsR

G4int BDSScorerMeshInfo::nBinsR

Definition at line 54 of file BDSScorerMeshInfo.hh.

◆ nBinsX

G4int BDSScorerMeshInfo::nBinsX

Definition at line 51 of file BDSScorerMeshInfo.hh.

◆ nBinsY

G4int BDSScorerMeshInfo::nBinsY

Definition at line 52 of file BDSScorerMeshInfo.hh.

◆ nBinsZ

G4int BDSScorerMeshInfo::nBinsZ

Definition at line 53 of file BDSScorerMeshInfo.hh.

◆ rHigh

G4double BDSScorerMeshInfo::rHigh

Definition at line 64 of file BDSScorerMeshInfo.hh.

◆ rLow

G4double BDSScorerMeshInfo::rLow

Definition at line 63 of file BDSScorerMeshInfo.hh.

◆ xHigh

G4double BDSScorerMeshInfo::xHigh

Definition at line 58 of file BDSScorerMeshInfo.hh.

◆ xLow

G4double BDSScorerMeshInfo::xLow

Definition at line 57 of file BDSScorerMeshInfo.hh.

◆ yHigh

G4double BDSScorerMeshInfo::yHigh

Definition at line 60 of file BDSScorerMeshInfo.hh.

◆ yLow

G4double BDSScorerMeshInfo::yLow

Definition at line 59 of file BDSScorerMeshInfo.hh.

◆ zHigh

G4double BDSScorerMeshInfo::zHigh

Definition at line 62 of file BDSScorerMeshInfo.hh.

◆ zLow

G4double BDSScorerMeshInfo::zLow

Definition at line 61 of file BDSScorerMeshInfo.hh.


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