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

Definition for a scorer histogram. More...

#include <BDSScorerHistogramDef.hh>

Inheritance diagram for BDSScorerHistogramDef:
Inheritance graph
Collaboration diagram for BDSScorerHistogramDef:
Collaboration graph

Public Member Functions

 BDSScorerHistogramDef (const BDSScorerMeshInfo &meshInfo, const G4String &uniqueNameIn, const G4String &primitiveScorerNameIn, G4double primitiveScorerUnitValueIn, const BDSHistBinMapper &coordinateMapperIn)
 
- Public Member Functions inherited from BDSScorerMeshInfo
 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 uniqueName
 Unique name of mesh/scorer -> slash required by Geant4. More...
 
G4String outputName
 Copy of unique name that's safe for output. More...
 
G4String primitiveScorerName
 Primitive scorer name used to look up units. More...
 
G4double primitiveScorerUnitValue
 Numerical factor to use for scorer units. More...
 
BDSHistBinMapper coordinateMapper
 Coordinate mapper - this class owns it. More...
 
- Data Fields inherited from BDSScorerMeshInfo
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 Member Functions

 BDSScorerHistogramDef ()=delete
 No default constructor required.
 

Detailed Description

Definition for a scorer histogram.

Information kept from when a scoring mesh is created for passing to the output.

Author
Laurie Nevay

Definition at line 36 of file BDSScorerHistogramDef.hh.

Constructor & Destructor Documentation

◆ BDSScorerHistogramDef()

BDSScorerHistogramDef::BDSScorerHistogramDef ( const BDSScorerMeshInfo meshInfo,
const G4String &  uniqueNameIn,
const G4String &  primitiveScorerNameIn,
G4double  primitiveScorerUnitValueIn,
const BDSHistBinMapper coordinateMapperIn 
)

Definition at line 27 of file BDSScorerHistogramDef.cc.

◆ ~BDSScorerHistogramDef()

virtual BDSScorerHistogramDef::~BDSScorerHistogramDef ( )
inlinevirtual

Definition at line 45 of file BDSScorerHistogramDef.hh.

Field Documentation

◆ coordinateMapper

BDSHistBinMapper BDSScorerHistogramDef::coordinateMapper

Coordinate mapper - this class owns it.

Definition at line 51 of file BDSScorerHistogramDef.hh.

◆ outputName

G4String BDSScorerHistogramDef::outputName

Copy of unique name that's safe for output.

Definition at line 48 of file BDSScorerHistogramDef.hh.

◆ primitiveScorerName

G4String BDSScorerHistogramDef::primitiveScorerName

Primitive scorer name used to look up units.

Definition at line 49 of file BDSScorerHistogramDef.hh.

◆ primitiveScorerUnitValue

G4double BDSScorerHistogramDef::primitiveScorerUnitValue

Numerical factor to use for scorer units.

Definition at line 50 of file BDSScorerHistogramDef.hh.

◆ uniqueName

G4String BDSScorerHistogramDef::uniqueName

Unique name of mesh/scorer -> slash required by Geant4.

Definition at line 47 of file BDSScorerHistogramDef.hh.

Referenced by BDSAcceleratorModel::RegisterScorerHistogramDefinition().


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