BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
BDSScorerConversionLoader< T > Class Template Reference

Loader for scoring conversion tables as function of energy. More...

#include <BDSScorerConversionLoader.hh>

Collaboration diagram for BDSScorerConversionLoader< T >:
Collaboration graph

Public Member Functions

G4PhysicsVector * Load (const G4String &fileName, G4bool silent=false)
 Load the file.
 

Private Attributes

file
 Templated iostream for std::ifstream and gzstream as well.
 

Detailed Description

template<class T>
class BDSScorerConversionLoader< T >

Loader for scoring conversion tables as function of energy.

This loads a file with expected two columns of energy and a numerical value.

Author
Laurie Nevay

Definition at line 40 of file BDSScorerConversionLoader.hh.

Constructor & Destructor Documentation

◆ BDSScorerConversionLoader()

Definition at line 42 of file BDSScorerConversionLoader.cc.

◆ ~BDSScorerConversionLoader()

Definition at line 46 of file BDSScorerConversionLoader.cc.

Member Function Documentation

◆ Load()

template<class T >
G4PhysicsVector * BDSScorerConversionLoader< T >::Load ( const G4String &  fileName,
G4bool  silent = false 
)

Load the file.

Definition at line 50 of file BDSScorerConversionLoader.cc.

Referenced by BDSPSCellFluxScaled3D::BDSPSCellFluxScaled3D(), and BDSPSPopulationScaled::BDSPSPopulationScaled().

Here is the caller graph for this function:

Field Documentation

◆ file

template<class T >
T BDSScorerConversionLoader< T >::file
private

Templated iostream for std::ifstream and gzstream as well.

Definition at line 52 of file BDSScorerConversionLoader.hh.


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