GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GWRecal Class Reference

#include <RecalEnergy.h>

Public Member Functions

void AddPeak (double EPeak)
 
void AnalyseSources ()
 ******************************************************************************************/// More...
 
double Calibrated (double x)
 ******************************************************************************************/// More...
 
double ECalibration (int nspe, double &offset1, double &slope1_, double &offset2_, double &slope2_, double &curv2_, int verbose_)
 ******************************************************************************************/// More...
 
int FitPeaks (int verbose)
 ******************************************************************************************/// More...
 
vector< FittedGetFitResults ()
 
 GWRecal ()
 */ More...
 
void initialize ()
 ******************************************************************************************/// More...
 
bool InvertMatrix3 (const double m[9], double invOut[9])
 ******************************************************************************************/// More...
 
int LargePeaks1 (float *data, int chA, int chB, float fwhm, float minAmpl, std::vector< double > &vPeaks, int maxNum)
 ******************************************************************************************/// More...
 
void NoBackGround ()
 
void numparams (char *, int)
 ******************************************************************************************/// More...
 
int PeakSearch1 (float *data, int chA, int chB, float fwhm, float minAmpl, std::vector< double > &vPeaks)
 ******************************************************************************************/// More...
 
int PeakSearch2 (float *data, int chA, int chB, float fwhm, float minAmpl, std::vector< double > &vPeaks)
 ******************************************************************************************/// More...
 
void PrintResForXTalk (int VerboseMod)
 
void RemoveClosestPeakTo (double EPeak)
 
void SetChannelOffset (int Off)
 
void SetFileName (TString FileName)
 
void SetFullVerbosity ()
 
void SetGain (float Gain)
 
void SetGlobalChannelLimits (int ChFrom, int ChTo)
 
void SetGlobalPeaksLimits (float DefFWHM, float DefAmpli)
 
void SetHistChannelLimits (int SpecNbr, float ChFrom, float ChTo)
 ******************************************************************************************/// More...
 
void SetHistNumber (int HistNbr)
 
void SetHistPeaksLimits (int SpecNbr, float FWHM, float Ampli)
 ******************************************************************************************/// More...
 
void SetNSpec (int N)
 
void SetRefPeak (double EPeak)
 
void SetSource (TString SourceName)
 
void SetSpectraFolder (TString name)
 
void SetStep (int Step)
 
void SetVerbosityLevel (int Verb)
 
void SmoothSpek (float *spek, int nchan, double sigma, int ndiff, float *&tSpek, int &start)
 ******************************************************************************************/// More...
 
void StartCalib ()
 ******************************************************************************************/// More...
 
double TCalibration ()
 ******************************************************************************************/// More...
 
void terminate (int)
 
bool TestResults ()
 ******************************************************************************************/// More...
 
void UnsetLeftTail ()
 
void UnsetRightTail ()
 
void UseAffineBackGround ()
 
void UseAffineCalib ()
 
void UseFirstDerivativeSearch ()
 
void UseFlatBackGround ()
 
void UseLinearCalib ()
 
void UseParabolicCalib ()
 
void UseSecondDerivativeSearch ()
 
int xP_Next1 (float *yVal, int yLen)
 ******************************************************************************************/// More...
 
int xP_Next2 (float *yVal, int yLen)
 ******************************************************************************************/// More...
 
 ~GWRecal ()
 

Public Attributes

bool bOneLine
 
bool bTwoLines
 
double curv2
 
vector< double > Delendae
 
int Dmode
 
bool doPoly1
 
bool doPoly2
 
bool doSlope
 
double eBhead
 
int eBnumb
 
double eBstep
 
vector< double > Energies
 
double errE
 
bool fAffineBg
 
float fCurrentspecAMPLdef
 
int fCurrentspecFromDef
 
float fCurrentspecFWHMdef
 
int fCurrentspecToDef
 
bool fFlatBg
 
TString fSourceName
 
TString fSpectraFolderName
 
int gterminate
 
float hGain
 
CFitSpekm_pCFit
 
int modXtalk
 
vector< NLimits_tnlim
 
int numZero
 
vector< NWA_tnwa
 
double offset1
 
double offset2
 
vector< FittedPeaks
 void SetFormat(string type, int nchan){specFormat = type; specLength = nchan;} // format of the data and number of channels (if not encoded in filename) void ShiftOfLargestPeakToPos(double Position){Energies.clear(); Energies.push_back(Position); doSlope = false;} //calculate shift of the largest peak with respect to the given position More...
 
double refEner
 
double slope
 
double slope1
 
double slope2
 
float * specAMPL
 
float specAMPLdef
 
float * specData
 
string specFormat
 
int * specFrom
 
int specFromDef
 
float * specFWHM
 
float specFWHMdef
 
int specLength
 
int specN0
 
string specName
 
int specNN
 
int specNs
 
int specOffset
 
vector< double > specPeaks
 
int * specTo
 
int specToDef
 
ReadSpek Spek
 
clock_t startTime
 
clock_t stopTime
 
float * testData
 
string testFileName
 
FILE * testFP
 
float testGain
 
bool testResults
 
string testSuff
 
double tshift
 
bool useErrors
 
bool useTL
 
bool useTR
 
int Verbosity
 
int xP_0
 
int xP_1
 
int xP_2
 
int xP_3
 
int xP_4
 
int xP_5
 
int xP_6
 
float xP_fThreshCFA
 
float xP_minAmpl
 
int xP_nMinWidthN
 
int xP_nMinWidthP
 
int xP_nMinWidthP1
 
int xP_nMinWidthP2
 

Detailed Description

Definition at line 84 of file RecalEnergy.h.


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