|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef ChargeCalibrationBundle_h
13 #define ChargeCalibrationBundle_h
29 std::vector<PixelChargeCalib::Thresholds>
threshold;
32 std::vector<PixelChargeCalib::LegacyFitParameters>
params;
34 std::vector<PixelChargeCalib::LinearFitParameters>
lin;
35 std::vector<PixelChargeCalib::LinearFitParameters>
linGanged;
36 std::vector<PixelChargeCalib::Resolutions>
totRes;
58 const float tmpcharge = relevantArray.back().Q(
i);
59 if (tmpcharge > chargeLimit){
75 targetArray.emplace_back(0.
f,0.
f);
81 static constexpr
int dx = 5;
82 const float x1 = idxLimit;
83 const float x2 = idxLimit-
dx;
84 const float y1 = readArray.back().Q(
x1);
85 const float y2 = readArray.back().Q(
x2);
#define CXXUTILS_TRAPPING_FP
int idxAtChargeLimit(float chargeLimit, InDetDD::PixelDiodeType type, int start, int end) const
std::vector< PixelChargeCalib::LinearFitParameters > linGanged
Structs for holding charge calibration parameterisation and data.
PixelChargeCalibCondData::IBLModule tot2Charges
std::vector< PixelChargeCalib::Thresholds > threshold
constexpr auto lut(Generator &&f)
std::vector< PixelChargeCalib::LinearFitParameters > lin
void insertLinearParams(InDetDD::PixelDiodeType type, int idxLimit)
std::vector< PixelChargeCalib::Thresholds > thresholdLong
std::vector< PixelChargeCalib::Resolutions > totRes
std::vector< PixelChargeCalib::Thresholds > thresholdGanged
std::vector< PixelChargeCalib::LegacyFitParameters > params
std::vector< PixelChargeCalib::LegacyFitParameters > paramsGanged
Tell the compiler to optimize assuming that FP may trap.
PixelChargeCalibCondData::CalibrationStrategy calibrationType
std::vector< IBLCalibration > IBLModule
bundles of parameters used together in the PixelChargeCalibCondAlg
ChargeCalibrationBundle(size_t n, bool lut=false, bool txt=false)
constructor with reserve for the vectors, n = number of frontends