|
| AlphaSpectrum (double Emin, double Emax, int NumberOfBins, bool log=false) |
| Standard Constructor of a AlphaSpectrum.
|
|
| AlphaSpectrum (vector< double > LowerEnergy) |
| User input bining Constructor of a AlphaSpectrum.
|
|
| AlphaSpectrum (double *LowerEnergy, int NumberOfBins) |
| User input bining Constructor of a AlphaSpectrum.
|
|
| AlphaSpectrum (string BinningFileName) |
| File User input bining Constructor of a AlphaSpectrum.
|
|
| AlphaSpectrum (int NumberOfBins, double a, double b, double c) |
| Constructor of a Spectrum with binning build with this calibration law : E(Lowerbin)=a*Lowerbin*Lowerbin + b*Lowerbin + c.
|
|
| AlphaSpectrum (const AlphaSpectrum &spect) |
| Copy constructor.
|
|
AlphaSpectrum * | ReadENSDF (int Z, int A, int I, double NAtoms=1) |
|
| Spectrum (double Emin, double Emax, int NumberOfbins, bool log=false) |
| Standard Constructor of a Spectrum.
|
|
| Spectrum (vector< double > LowerEnergy, bool check=true) |
| User input bining Constructor of a Spectrum.
|
|
| Spectrum (double *LowerEnergy, int NumberOfBins, bool check=true) |
| User input bining Constructor of a Spectrum.
|
|
| Spectrum (string BinningFileName, bool check=true) |
| File User input bining Constructor of a Spectrum.
|
|
| Spectrum (int NumberOfBins, double a, double b, double c, bool check=true) |
| Constructor of a Spectrum with binning build with this calibration law : E(Lowerbin)=a*Lowerbin*Lowerbin + b*Lowerbin + c.
|
|
| Spectrum (const Spectrum &spect) |
| Copy constructor.
|
|
| ~Spectrum () |
| destructor
|
|
void | SetZ (int Z) |
|
void | SetA (int A) |
|
void | SetName (string Name) |
|
void | SetNumberOfbins (int nbins) |
|
void | SetBin (int i, double intensity) |
|
int | GetZ () |
|
int | GetA () |
|
string | GetName () |
|
double | GetBin (int i) |
|
double * | GetBin () |
|
double * | GetLowerEnergy () |
|
double | GetLowerEnergy (int i) |
|
double | GetEnergyBinWidth (int i) |
| Return the energy width of the bin i ie fLowerEnergy[i+1]-fLowerEnergy[i].
|
|
double | GetMiddleEnergy (int i) |
| Return the centered energy of the bin i.
|
|
int | GetBinNumber (double Energy) |
| Return the Bin number corresponding on the Energy.
|
|
int | GetNumberOfbins () |
|
bool | IsLog () |
|
bool | IsAlpha () |
|
bool | IsNeutron () |
|
bool | IsGamma () |
|
bool | IsBeta () |
|
int | GetParticleType () |
| get the particle type of this spectrum 1=n 2=g 3=e-
|
|
bool | GotTheSameBinning (Spectrum *aSpectrum) |
| True if this and aSpectrum have the same energy binning.
|
|
bool | IsEmpty () |
| True if all intensities are 0.
|
|
bool | IsTheSameSpectrum (Spectrum *SameOrNot) |
| True if two spectra are completly identical.
|
|
void | Initialize () |
| Set all Intensities to 0.
|
|
void | CheckBin () |
| Check if Energy definition is correct (monotically increasing)
|
|
void | AddEnergy (double Energy, double Intensity) |
| Add Intensity at the bin corresponding to Energy.
|
|
void | Contract (int ContractionFactor) |
| Contract the Spectrum 's binning by a factor Contractionfactor.
|
|
double | TotalActivity () |
| Sum of particules emmited at all energies.
|
|
double | GetTotalNumberOfParticlesPerDecay () |
|
double | GetTotalBecquerel () |
|
void | Fill (Material *material, double volume) |
| Fill a Spectrum for a material.
|
|
void | FillFromFile (string filename) |
|
void | Dump (string filename="Spectrum.dat", bool WithEnergies=false) |
| Dump the Neutron Spectrum histogram.
|
|
void | Normalize (double Multiplicateur) |
| multiply Intensity by Multiplicateur
|
|
void | AddSpectrum (Spectrum *aSpectrum) |
| Add aSpectrum to the current one.
|
|
void | RemoveSpectrum (Spectrum *aSpectrum) |
| Remove aSpectrum to the current one.
|
|
Spectrum * | NewSpectrumNormalized (Spectrum *UnNormalized, double Norm) |
| multiply a UnNormalized spectrum by Norm and put it in a new NeutronSpectrum
|
|
Spectrum * | NewSpectrumNormalized2 (Spectrum *UnNormalized, double Norm) |
| presque pareil mais pas tout a fait (BBBBBUUUUUG)
|
|
Spectrum * | ConvertRayToGaussian (Spectrum *Spect_Raie, double FWHM) |
| Convert a spectrum of discret rays in to several gaussian of the same Full width at half maximum (FWHM)
|
|
|
void | ExtractDataFromLine (string Line, Material *TheParent, double NAtoms) |
| Extract the wanted data (ie Energy and Intensity)from the readed ENSDF file.
|
|
void | ElementSymbol (int Zd, char &Z1, char &Z2) |
| Convert the Z of a nucleus in its symbol.
|
|
void | CreateBins (double EnergyMin, double EnergyMax, int NumberOfbins) |
| generates the bins
|
|
void | CreateBins (vector< double > LowerEnergy) |
| generates the bins
|
|
void | CreateBins (double *LowerEnergy) |
| generates the bins
|
|
bool | IsDouble (const std::string &s) |
| true is a string can be converted in a double
|
|
void | ReadENSDFFile (int Adaughter, vector< string > &Buffer, int &NumOfLine) |
| Read each line of the file and store them in buffer.
|
|
bool | FindFirstLinesOfDecayModeCard (vector< string > const &Buffer, char Z1, char Z2, vector< int > &BeginRecordLine, string DecayMode, string DecayModeBis="") |
|
AlphaSpectrum contains a histogram of Alpha ray intensities.
The aim of this class is to provide a Alpha spectrum object that is linked to the way a decaying nucleus or combination of nuclei emit Alpha rays
- Author
- BLG
- Version
- 1.0