Inheritance diagram for MCalCompatibility:
Module to check compatibility between the initial and final calibration of a dataset. The
module CalCompatibility verbosity = info enable = true DivideAt = 748 ReferenceEnergy = 2615 Window = 20 FWHMStabilityCutoff = 0.3 MeanStabilityCutoff = 0.3333 GetResolutionFromDB = false OutputFilename = CompatibilityCheck.txt endmod
Public Member Functions | |
MCalCompatibility (QSequence *s) | |
constructor | |
~MCalCompatibility () | |
destructor | |
void | Init () |
Init method. | |
QEvent * | Do (QEvent *ev) |
Do method. | |
void | Done () |
Done method. | |
Private Attributes | |
int | fCutoff |
Runs less than this are in initial set, greater or equal are in final set. | |
std::string | fFilename |
Output filename. | |
std::map< int, std::vector< double > > | fInitialEnergy |
Energy and amplitude of each event in the reference line for the initial calibration. | |
std::map< int, std::vector< double > > | fFinalEnergy |
Energy and amplitude of each event in the reference line for the final calibration. | |
double | fReferenceEnergy |
Energy of reference line (keV). | |
double | fWindow |
Size of energy window to look at (keV). | |
double | fFWHMStabilityCutoff |
Stability requirements for FWHM and Mean. | |
double | fMeanStabilityCutoff |
bool | fUseDB |
Flag to get starting resolution from CORC DB. | |
std::set< int > | fRuns |
List of runs in calibration set. | |
TF1 * | fCalFunction |
Function used for calibration. | |
std::map< int, double * > | fParams |
Map of calibration parameters for each channel. |