BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Loader for scoring conversion tables as function of energy. More...
#include <BDSScorerConversionLoader.hh>
Public Member Functions | |
G4PhysicsVector * | Load (const G4String &fileName, G4bool silent=false) |
Load the file. | |
Private Attributes | |
T | file |
Templated iostream for std::ifstream and gzstream as well. | |
Loader for scoring conversion tables as function of energy.
This loads a file with expected two columns of energy and a numerical value.
Definition at line 40 of file BDSScorerConversionLoader.hh.
BDSScorerConversionLoader< T >::BDSScorerConversionLoader |
Definition at line 42 of file BDSScorerConversionLoader.cc.
BDSScorerConversionLoader< T >::~BDSScorerConversionLoader |
Definition at line 46 of file BDSScorerConversionLoader.cc.
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().
|
private |
Templated iostream for std::ifstream and gzstream as well.
Definition at line 52 of file BDSScorerConversionLoader.hh.