#include <IdealCalCalib.h>
Public Member Functions | |
| IdealCalCalib () | |
| StatusCode | readCfgFile (const std::string &path) |
| read in calibration values from IFile XML file | |
Public Attributes | |
| std::vector< double > | pedVals |
| 1 pedestal value per range | |
| std::vector< double > | pedCos |
| associated correlated pedestal cosines | |
| std::vector< double > | pedSigs |
| sigma/val for all pedestal calibrations | |
| float | asymLrgNeg |
| val for Large Diode asym spline at neg face | |
| float | asymLrgPos |
| val for Large Diode asym spline at pos face | |
| float | asymSmNeg |
| val for Small Diode asym spline at neg face | |
| float | asymSmPos |
| val for Small Diode asym spline at pos face | |
| float | asymPSNBNeg |
| val for PSNB asym spline at neg face | |
| float | asymPSNBPos |
| val for PSNB asym spline at pos face | |
| float | asymNSPBNeg |
| val for NSPB asym spline at neg face | |
| float | asymNSPBPos |
| val for NSPB asym spline at pos face | |
| float | asymSigPct |
| sigma/val for all vals in asym group | |
| float | mpdLrg |
| Large diode MevPerDac. | |
| float | mpdSm |
| Small diode MevPerDac. | |
| float | mpdSigPct |
| sigma/val for all vals in MPD group | |
| float | ciFLE |
| FLE threshold. | |
| float | ciFHE |
| FHE threshold. | |
| float | ciLAC |
| LAC threshold. | |
| std::vector< double > | ciULD |
| 1 ULD threshold per ADC range | |
| float | ciSigPct |
| sigma/val for all vals in THOLD_CI group | |
| std::vector< double > | ciPeds |
| 1 pedestal value per ADC range | |
| std::vector< double > | inlADCPerCIDAC |
| ADC/DAC for each ADC range. | |
| float | inlSigPct |
| sigma/val for all vals in INT_NONLIN group | |
Static Private Attributes | |
| const std::string | PEDS |
| xml tag name | |
| const std::string | ASYM |
| xml tag name | |
| const std::string | THOLD_CI |
| xml tag name | |
| const std::string | INL |
| xml tag name | |
| const std::string | MPD |
| xml tag name | |
contains code to read constants in from IFile XML file.
Definition at line 27 of file IdealCalCalib.h.
|
|
Definition at line 36 of file IdealCalCalib.cxx.
00036 : 00037 asymLrgNeg(0), 00038 asymLrgPos(0), 00039 asymSmNeg(0), 00040 asymSmPos(0), 00041 asymPSNBNeg(0), 00042 asymNSPBNeg(0), 00043 asymSigPct(0), 00044 mpdLrg(0), 00045 mpdSm(0), 00046 mpdSigPct(0), 00047 inlSigPct(0) {} |
|
|
read in calibration values from IFile XML file
Definition at line 49 of file IdealCalCalib.cxx. References ASYM, asymLrgNeg, asymLrgPos, asymNSPBNeg, asymNSPBPos, asymPSNBNeg, asymPSNBPos, asymSigPct, asymSmNeg, asymSmPos, ciFHE, ciFLE, ciLAC, ciPeds, ciSigPct, ciULD, INL, inlADCPerCIDAC, inlSigPct, MPD, mpdLrg, mpdSigPct, mpdSm, pedCos, PEDS, pedSigs, pedVals, and THOLD_CI. Referenced by CalCalibShared::initialize().
00049 {
00050 xmlBase::IFile ifile(path.c_str());
00051
00052 pedVals = ifile.getDoubleVector(PEDS.c_str(), "VALS");
00053 pedCos = ifile.getDoubleVector(PEDS.c_str(), "COS");
00054 pedSigs = ifile.getDoubleVector(PEDS.c_str(), "SIG");
00055
00056 asymLrgNeg = ifile.getDouble(ASYM.c_str(), "LARGE_NEG");
00057 asymLrgPos = ifile.getDouble(ASYM.c_str(), "LARGE_POS");
00058 asymSmNeg = ifile.getDouble(ASYM.c_str(), "SMALL_NEG");
00059 asymSmPos = ifile.getDouble(ASYM.c_str(), "SMALL_POS");
00060 asymPSNBNeg = ifile.getDouble(ASYM.c_str(), "PSNB_NEG");
00061 asymPSNBPos = ifile.getDouble(ASYM.c_str(), "PSNB_POS");
00062 asymNSPBNeg = ifile.getDouble(ASYM.c_str(), "NSPB_NEG");
00063 asymNSPBPos = ifile.getDouble(ASYM.c_str(), "NSPB_POS");
00064 asymSigPct = ifile.getDouble(ASYM.c_str(), "SIG_PCT");
00065
00066 mpdLrg = ifile.getDouble(MPD.c_str(), "LARGE");
00067 mpdSm = ifile.getDouble(MPD.c_str(), "SMALL");
00068 mpdSigPct = ifile.getDouble(MPD.c_str(), "SIG_PCT");
00069
00070 ciFLE = ifile.getDouble(THOLD_CI.c_str(), "FLE");
00071 ciFHE = ifile.getDouble(THOLD_CI.c_str(), "FHE");
00072 ciLAC = ifile.getDouble(THOLD_CI.c_str(), "LAC");
00073 ciULD = ifile.getDoubleVector(THOLD_CI.c_str(), "ULD");
00074 ciSigPct = ifile.getDouble(THOLD_CI.c_str(), "SIG_PCT");
00075 ciPeds = ifile.getDoubleVector(THOLD_CI.c_str(), "PEDS");
00076
00077 inlADCPerCIDAC = ifile.getDoubleVector(INL.c_str(), "ADC_PER_CIDAC");
00078 inlSigPct = ifile.getDouble(INL.c_str(), "SIG_PCT");
00079
00080 return StatusCode::SUCCESS;
00081 }
|
|
|
xml tag name
Referenced by readCfgFile(). |
|
|
val for Large Diode asym spline at neg face
Definition at line 48 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for Large Diode asym spline at pos face
Definition at line 50 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for NSPB asym spline at neg face
Definition at line 63 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for NSPB asym spline at pos face
Definition at line 65 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for PSNB asym spline at neg face
Definition at line 58 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for PSNB asym spline at pos face
Definition at line 60 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
sigma/val for all vals in asym group
Definition at line 68 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for Small Diode asym spline at neg face
Definition at line 53 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
val for Small Diode asym spline at pos face
Definition at line 55 of file IdealCalCalib.h. Referenced by AsymMgr::loadIdealVals(), and readCfgFile(). |
|
|
FHE threshold.
Definition at line 89 of file IdealCalCalib.h. Referenced by TholdCIMgr::loadIdealVals(), and readCfgFile(). |
|
|
FLE threshold.
Definition at line 87 of file IdealCalCalib.h. Referenced by TholdCIMgr::loadIdealVals(), and readCfgFile(). |
|
|
LAC threshold.
Definition at line 91 of file IdealCalCalib.h. Referenced by TholdCIMgr::loadIdealVals(), and readCfgFile(). |
|
|
1 pedestal value per ADC range
Definition at line 97 of file IdealCalCalib.h. Referenced by TholdCIMgr::loadIdealVals(), and readCfgFile(). |
|
|
sigma/val for all vals in THOLD_CI group
Definition at line 95 of file IdealCalCalib.h. Referenced by TholdCIMgr::loadIdealVals(), and readCfgFile(). |
|
|
1 ULD threshold per ADC range
Definition at line 93 of file IdealCalCalib.h. Referenced by TholdCIMgr::loadIdealVals(), IntNonlinMgr::loadIdealVals(), and readCfgFile(). |
|
|
xml tag name
Referenced by readCfgFile(). |
|
|
ADC/DAC for each ADC range.
Definition at line 104 of file IdealCalCalib.h. Referenced by IntNonlinMgr::loadIdealVals(), and readCfgFile(). |
|
|
sigma/val for all vals in INT_NONLIN group
Definition at line 106 of file IdealCalCalib.h. Referenced by readCfgFile(). |
|
|
xml tag name
Referenced by readCfgFile(). |
|
|
Large diode MevPerDac.
Definition at line 75 of file IdealCalCalib.h. Referenced by MPDMgr::loadIdealVals(), and readCfgFile(). |
|
|
sigma/val for all vals in MPD group
Definition at line 80 of file IdealCalCalib.h. Referenced by MPDMgr::loadIdealVals(), and readCfgFile(). |
|
|
Small diode MevPerDac.
Definition at line 77 of file IdealCalCalib.h. Referenced by MPDMgr::loadIdealVals(), and readCfgFile(). |
|
|
associated correlated pedestal cosines
Definition at line 40 of file IdealCalCalib.h. Referenced by PedMgr::loadIdealVals(), and readCfgFile(). |
|
|
xml tag name
Referenced by readCfgFile(). |
|
|
sigma/val for all pedestal calibrations
Definition at line 42 of file IdealCalCalib.h. Referenced by PedMgr::loadIdealVals(), and readCfgFile(). |
|
|
1 pedestal value per range
Definition at line 38 of file IdealCalCalib.h. Referenced by PedMgr::loadIdealVals(), IntNonlinMgr::loadIdealVals(), and readCfgFile(). |
|
|
xml tag name
Referenced by readCfgFile(). |
1.3.3