19#ifndef MURETimeEnergyGrid_H
20#define MURETimeEnergyGrid_H
58 virtual void Print(ofstream &Out) = 0;
Define a Time and/or Energy Grid for tallies (abstract class)
Definition MureTimeEnergyGrid.hxx:40
int GetTimeSize() const
return either fNbinT or fTimeBins.size()
Definition MureTimeEnergyGrid.cxx:135
void SetNumber(int num)
Definition MureTimeEnergyGrid.hxx:65
virtual MureTimeEnergyGrid * Clone()=0
clone method
bool fIsFirstBinUpperBound
true if the first bin is a upper bound bin
Definition MureTimeEnergyGrid.hxx:104
vector< double > & GetEnergyBins()
Definition MureTimeEnergyGrid.cxx:83
void SetFirstBinUpperBound(bool flag)
Definition MureTimeEnergyGrid.hxx:70
int fNumber
the grid number
Definition MureTimeEnergyGrid.hxx:98
void SetEType(int type)
Definition MureTimeEnergyGrid.hxx:79
void AddEnergy(double Energy)
add Energy to the energy vector
Definition MureTimeEnergyGrid.cxx:96
int GetEType()
Definition MureTimeEnergyGrid.hxx:87
bool IsFirstBinUpperBound()
Definition MureTimeEnergyGrid.hxx:74
int fEType
1=bin by bin, 2=equal bin width for E
Definition MureTimeEnergyGrid.hxx:99
virtual void Print(ofstream &Out)=0
void SetTType(int type)
Definition MureTimeEnergyGrid.hxx:83
int GetTType()
Definition MureTimeEnergyGrid.hxx:91
virtual string GetName()=0
int fNbinE
number of energy bins
Definition MureTimeEnergyGrid.hxx:105
virtual ~MureTimeEnergyGrid()
destructor
Definition MureTimeEnergyGrid.cxx:70
pair< double, double > BinRange
Min and Max value.
Definition MureTimeEnergyGrid.hxx:43
vector< double > fEnergyBins
Energy (eV) grid values.
Definition MureTimeEnergyGrid.hxx:102
int GetEnergySize() const
return either fNbinE or fEnergyBins.size()
Definition MureTimeEnergyGrid.cxx:128
MureTimeEnergyGrid()
default constructor.
Definition MureTimeEnergyGrid.cxx:28
int fNbinT
number of time bins
Definition MureTimeEnergyGrid.hxx:106
vector< double > & GetTimeBins()
Definition MureTimeEnergyGrid.cxx:90
int GetNumber() const
Definition MureTimeEnergyGrid.cxx:77
vector< double > fTimeBins
time (s) grid values
Definition MureTimeEnergyGrid.hxx:103
int fTType
1=bin by bin, 2=equal bin width for T
Definition MureTimeEnergyGrid.hxx:100
void AddTime(double Time)
add Time to the energy vector
Definition MureTimeEnergyGrid.cxx:103
the namespace of the Standard C++