ATLAS Offline Software
Public Types | Public Member Functions | Static Public Attributes | Private Attributes | Static Private Attributes | List of all members
PixelChargeCalibCondData Class Reference

#include <PixelChargeCalibCondData.h>

Collaboration diagram for PixelChargeCalibCondData:

Public Types

enum  CalibrationStrategy { CalibrationStrategy::RUN1PIX, CalibrationStrategy::RUN3PIX, CalibrationStrategy::LUTFEI4, CalibrationStrategy::RD53 }
 
using IBLCalibration = std::array< float, IBLCalibrationSize >
 
using IBLModule = std::vector< IBLCalibration >
 

Public Member Functions

 PixelChargeCalibCondData ()=default
 
 PixelChargeCalibCondData (std::size_t max_module_hash)
 
void setAllFromBundle (unsigned int moduleHash, const PixelChargeCalib::ChargeCalibrationBundle &b)
 
void setAllFromConfigData (unsigned int moduleHash, const PixelModuleData *configData, const std::pair< int, int > &becLayer, unsigned int numFE)
 
void setThresholds (InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::Thresholds > &thresholds)
 
void setAnalogThreshold (InDetDD::PixelDiodeType type, unsigned int moduleHash, std::vector< int > &&value)
 
void setLegacyFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::LegacyFitParameters > &parameters)
 
void setLinearFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::LinearFitParameters > &parameters)
 
void setTotResolutions (unsigned int moduleHash, const std::vector< PixelChargeCalib::Resolutions > &value)
 
PixelChargeCalib::Thresholds getThresholds (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
 
PixelChargeCalib::LegacyFitParameters getLegacyFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
 
PixelChargeCalib::LinearFitParameters getLinearFitParameters (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
 
float getQ2TotF (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
 
float getQ2TotG (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
 
float getTotRes (unsigned int moduleHash, unsigned int FE, float Q) const
 
float getToT (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE, float Q) const
 
float getCharge (InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE, float ToT) const
 
void setCalibrationStrategy (unsigned int moduleHash, CalibrationStrategy strategy)
 
void setTot2Charges (unsigned int moduleHash, IBLModule charges)
 
const IBLCalibrationgetTot2Charges (unsigned int moduleHash, unsigned int FE) const
 
CalibrationStrategy getCalibrationStrategy (unsigned int moduleHash) const
 
float getChargeLUTFEI4 (unsigned int moduleHash, unsigned int FE, unsigned int ToT) const
 
float getToTLUTFEI4 (unsigned int moduleHash, unsigned int FE, float Q) const
 
constexpr int getFEI4OverflowToT () const
 

Static Public Attributes

static constexpr size_t IBLCalibrationSize {16}
 

Private Attributes

std::size_t m_sizeOfHashVector = 0
 
std::array< std::vector< std::vector< PixelChargeCalib::Thresholds > >, s_NPixelDiodesm_thresholds
 
std::array< std::vector< std::vector< PixelChargeCalib::LegacyFitParameters > >, s_NPixelDiodesm_legacyFit
 
std::array< std::vector< std::vector< PixelChargeCalib::LinearFitParameters > >, s_NPixelDiodesm_linFit
 
std::vector< std::vector< PixelChargeCalib::Resolutions > > m_totRes
 
std::map< int, CalibrationStrategym_calibrationStrategy
 
std::map< int, IBLModulem_tot2Charges
 

Static Private Attributes

constexpr static std::size_t s_NPixelDiodes = enum2uint(InDetDD::PixelDiodeType::N_DIODETYPES)
 

Detailed Description

Definition at line 23 of file PixelChargeCalibCondData.h.

Member Typedef Documentation

◆ IBLCalibration

Definition at line 30 of file PixelChargeCalibCondData.h.

◆ IBLModule

Definition at line 31 of file PixelChargeCalibCondData.h.

Member Enumeration Documentation

◆ CalibrationStrategy

Enumerator
RUN1PIX 
RUN3PIX 
LUTFEI4 
RD53 

Definition at line 33 of file PixelChargeCalibCondData.h.

34  {
35  RUN1PIX,
36  RUN3PIX,
37  LUTFEI4,
38  RD53
39  };

Constructor & Destructor Documentation

◆ PixelChargeCalibCondData() [1/2]

PixelChargeCalibCondData::PixelChargeCalibCondData ( )
default

◆ PixelChargeCalibCondData() [2/2]

PixelChargeCalibCondData::PixelChargeCalibCondData ( std::size_t  max_module_hash)

Definition at line 46 of file PixelChargeCalibCondData.cxx.

46  : m_sizeOfHashVector(max_module_hash){
47  //nop
48 }

Member Function Documentation

◆ getCalibrationStrategy()

PixelChargeCalibCondData::CalibrationStrategy PixelChargeCalibCondData::getCalibrationStrategy ( unsigned int  moduleHash) const

Definition at line 223 of file PixelChargeCalibCondData.cxx.

223  {
224  if (moduleHash >= m_sizeOfHashVector){
225  throw generateError(__func__, moduleHash);
226  }
227  auto itr = m_calibrationStrategy.find(moduleHash);
228  if (itr != m_calibrationStrategy.end()) {
229  return itr->second;
230  }
232 }

◆ getCharge()

float PixelChargeCalibCondData::getCharge ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE,
float  ToT 
) const

Definition at line 192 of file PixelChargeCalibCondData.cxx.

192  {
194  return getChargeLUTFEI4(moduleHash, FE, ToT);
195  }
196  if (type == InDetDD::PixelDiodeType::NONE) return 0.f;
197  const LegacyFitParameters & legacy = getLegacyFitParameters(type, moduleHash, FE);
198 
199  float charge = legacy.Q(ToT);
200 
201  // Protection for small charge
202  const auto & thresholds = getThresholds(type,moduleHash,FE);
203  const auto analogueThreshold = thresholds.value;
204  if (charge<analogueThreshold && getCalibrationStrategy(moduleHash)==CalibrationStrategy::RUN3PIX) { charge=analogueThreshold; }
205  // Protection for large charge
206  float exth = 1e5f; // the calibration function is analytically connected at threshold exth.
208  const LinearFitParameters & lin = getLinearFitParameters(type, moduleHash, FE);
209  if (float charge1 = lin.Q(ToT); charge1 != 0.f) return charge1;
210  }
211  return charge;
212 }

◆ getChargeLUTFEI4()

float PixelChargeCalibCondData::getChargeLUTFEI4 ( unsigned int  moduleHash,
unsigned int  FE,
unsigned int  ToT 
) const

Definition at line 252 of file PixelChargeCalibCondData.cxx.

252  {
253  if (ToT < 1 || ToT > IBLCalibrationSize) {
254  throw generateError(__func__, moduleHash,FE, ToT);
255  }
256 
257  const IBLCalibration &charges = getTot2Charges(moduleHash,FE);
258  return charges[ToT - 1];
259 }

◆ getFEI4OverflowToT()

constexpr int PixelChargeCalibCondData::getFEI4OverflowToT ( ) const
inlineconstexpr

Definition at line 106 of file PixelChargeCalibCondData.h.

106  {
107  return 16;
108  }

◆ getLegacyFitParameters()

PixelChargeCalib::LegacyFitParameters PixelChargeCalibCondData::getLegacyFitParameters ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE 
) const

Definition at line 120 of file PixelChargeCalibCondData.cxx.

120  {
121  if (moduleHash >= m_sizeOfHashVector) throw generateError(__func__, type, moduleHash, FE);
122  auto idx = enum2uint(type,__func__);
123  const auto & thisVector = m_legacyFit.at(idx);
124  const auto &v = thisVector.at(moduleHash);
125  if (FE < v.size()) {
126  return v[FE];
127  }
128  throw generateError(__func__, type, moduleHash, FE);
129 }

◆ getLinearFitParameters()

PixelChargeCalib::LinearFitParameters PixelChargeCalibCondData::getLinearFitParameters ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE 
) const

Definition at line 143 of file PixelChargeCalibCondData.cxx.

143  {
144  if (type==InDetDD::PixelDiodeType::NONE) throw generateError(__func__, type, moduleHash, FE);
145  auto idx = enum2uint(type,__func__);
146  const auto &typeMap = m_linFit.at(idx);
147  //
148  const auto &linFit = typeMap.at(moduleHash);
149  if (FE < linFit.size()) {
150  return typeMap.at(moduleHash).at(FE);
151  }
152  throw generateError(__func__, type, moduleHash, FE);
153 }

◆ getQ2TotF()

float PixelChargeCalibCondData::getQ2TotF ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE 
) const

◆ getQ2TotG()

float PixelChargeCalibCondData::getQ2TotG ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE 
) const

◆ getThresholds()

PixelChargeCalib::Thresholds PixelChargeCalibCondData::getThresholds ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE 
) const

Definition at line 99 of file PixelChargeCalibCondData.cxx.

99  {
100  auto idx = enum2uint(type,__func__);
101  const auto & hashIndexedVector = m_thresholds[idx];
102  const auto &feIndexedVector = hashIndexedVector.at(moduleHash);
103  if (FE < feIndexedVector.size()) {
104  return feIndexedVector[FE];
105  }
106  throw generateError(__func__, type, moduleHash, FE);
107 }

◆ getToT()

float PixelChargeCalibCondData::getToT ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
unsigned int  FE,
float  Q 
) const

Definition at line 174 of file PixelChargeCalibCondData.cxx.

174  {
176  return getToTLUTFEI4(moduleHash, FE, Q);
177  }
178  if (type == InDetDD::PixelDiodeType::NONE) return 0.f;
179  const LegacyFitParameters & legacy = getLegacyFitParameters(type, moduleHash, FE);
180  float tot = legacy.ToT(Q);
181 
182  // Protection for large charge
183  float exth = 1e5f; // the calibration function is analytically connected at threshold exth.
184  if (Q>exth && getCalibrationStrategy(moduleHash)==CalibrationStrategy::RUN3PIX) {
185  const LinearFitParameters & lin = getLinearFitParameters(type, moduleHash, FE);
186  if ( float tot1 = lin.ToT(Q); tot1 != 0.f) return tot1;
187  }
188  return tot;
189 }

◆ getTot2Charges()

const PixelChargeCalibCondData::IBLCalibration & PixelChargeCalibCondData::getTot2Charges ( unsigned int  moduleHash,
unsigned int  FE 
) const

Definition at line 243 of file PixelChargeCalibCondData.cxx.

243  {
244  auto it = m_tot2Charges.find(moduleHash);
245  if (it != m_tot2Charges.end() && FE < it->second.size()) {
246  return it->second.at(FE);
247  }
248  throw generateError(__func__, moduleHash,FE);
249 }

◆ getToTLUTFEI4()

float PixelChargeCalibCondData::getToTLUTFEI4 ( unsigned int  moduleHash,
unsigned int  FE,
float  Q 
) const

Definition at line 262 of file PixelChargeCalibCondData.cxx.

262  {
263  int tot = -1;
264  float minDiff = FLT_MAX;
265  for (size_t t = 0; t < IBLCalibrationSize; t++) {
266  float charge = getChargeLUTFEI4(moduleHash, FE, t + 1);
267  float diff = std::fabs(charge - Q);
268  if (diff < minDiff) {
269  minDiff = diff;
270  tot = t + 1;
271  }
272  }
273  return tot;
274 }

◆ getTotRes()

float PixelChargeCalibCondData::getTotRes ( unsigned int  moduleHash,
unsigned int  FE,
float  Q 
) const

Definition at line 163 of file PixelChargeCalibCondData.cxx.

163  {
164  Resolutions r;
165  if (const auto &res = m_totRes.at(moduleHash); FE < res.size()) {
166  r = res[FE];
167  } else {
168  throw generateError(__func__, moduleHash, FE);
169  }
170  return r.total(Q);
171 }

◆ setAllFromBundle()

void PixelChargeCalibCondData::setAllFromBundle ( unsigned int  moduleHash,
const PixelChargeCalib::ChargeCalibrationBundle b 
)

Definition at line 51 of file PixelChargeCalibCondData.cxx.

51  {
52  //calibration strategy
53  setCalibrationStrategy(moduleHash, b.calibrationType);
54  // Normal pixel
55  setThresholds(InDetDD::PixelDiodeType::NORMAL, moduleHash, b.threshold);
58  setTotResolutions(moduleHash, b.totRes);
59  // Long pixel
60  setThresholds(InDetDD::PixelDiodeType::LONG, moduleHash, b.thresholdLong);
63  // Ganged/large pixel
64  setThresholds(InDetDD::PixelDiodeType::GANGED, moduleHash, b.thresholdGanged);
65  setLegacyFitParameters(InDetDD::PixelDiodeType::GANGED, moduleHash, b.paramsGanged);
67 }

◆ setAllFromConfigData()

void PixelChargeCalibCondData::setAllFromConfigData ( unsigned int  moduleHash,
const PixelModuleData configData,
const std::pair< int, int > &  becLayer,
unsigned int  numFE 
)

Definition at line 70 of file PixelChargeCalibCondData.cxx.

70  {
71  const auto & [barrel_ec, layer] = becLayer;
72  for (size_t i{}; i != s_NPixelDiodes; ++i) {
73  const auto t = static_cast<InDetDD::PixelDiodeType>(i);
74  const Thresholds thresholds{configData->getDefaultAnalogThreshold(barrel_ec, layer), configData->getDefaultAnalogThresholdSigma(barrel_ec, layer),
75  configData->getDefaultAnalogThresholdNoise(barrel_ec, layer), configData->getDefaultInTimeThreshold(barrel_ec, layer)};
76  setThresholds(t, moduleHash, std::vector<Thresholds>(numFE, thresholds));
77  //
78  const LegacyFitParameters defaultParams{configData->getDefaultQ2TotA(), configData->getDefaultQ2TotE(), configData->getDefaultQ2TotC()};
79  setLegacyFitParameters(t, moduleHash, std::vector<LegacyFitParameters>(numFE, defaultParams));
80  //
81  const auto zeroLinFit = PixelChargeCalib::LinearFitParameters();
82  setLinearFitParameters(t, moduleHash, std::vector<PixelChargeCalib::LinearFitParameters>(numFE, zeroLinFit));
83  }
84  const auto zeroResolution = PixelChargeCalib::Resolutions();
85  setTotResolutions(moduleHash, std::vector<PixelChargeCalib::Resolutions>(numFE, zeroResolution));
86 }

◆ setAnalogThreshold()

void PixelChargeCalibCondData::setAnalogThreshold ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
std::vector< int > &&  value 
)

◆ setCalibrationStrategy()

void PixelChargeCalibCondData::setCalibrationStrategy ( unsigned int  moduleHash,
CalibrationStrategy  strategy 
)

Definition at line 215 of file PixelChargeCalibCondData.cxx.

215  {
216  if (moduleHash >= m_sizeOfHashVector) {
217  throw generateError(__func__, moduleHash, static_cast<int>(strategy));
218  }
219  m_calibrationStrategy[moduleHash] = strategy;
220 }

◆ setLegacyFitParameters()

void PixelChargeCalibCondData::setLegacyFitParameters ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
const std::vector< PixelChargeCalib::LegacyFitParameters > &  parameters 
)

Definition at line 110 of file PixelChargeCalibCondData.cxx.

110  {
111  if (moduleHash >= m_sizeOfHashVector) throw generateError(__func__, moduleHash);
112  auto & thisVector = m_legacyFit.at(enum2uint(type,__func__));
113  if (thisVector.size()<=moduleHash){
114  thisVector.resize(m_sizeOfHashVector);
115  }
116  thisVector[moduleHash] = parameters;
117 }

◆ setLinearFitParameters()

void PixelChargeCalibCondData::setLinearFitParameters ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
const std::vector< PixelChargeCalib::LinearFitParameters > &  parameters 
)

Definition at line 132 of file PixelChargeCalibCondData.cxx.

132  {
133  if (moduleHash >= m_sizeOfHashVector) throw generateError(__func__, moduleHash);
134  auto & thisVector = m_linFit.at(enum2uint(type,__func__));
135  if ( thisVector.size()<=moduleHash){
136  thisVector.resize(m_sizeOfHashVector);
137  }
138  thisVector[moduleHash] = parameters;
139 }

◆ setThresholds()

void PixelChargeCalibCondData::setThresholds ( InDetDD::PixelDiodeType  type,
unsigned int  moduleHash,
const std::vector< PixelChargeCalib::Thresholds > &  thresholds 
)

Definition at line 89 of file PixelChargeCalibCondData.cxx.

89  {
90  if (moduleHash >= m_sizeOfHashVector) throw generateError(__func__, moduleHash);
91  auto & hashIndexedVector = m_thresholds[enum2uint(type,__func__)];
92  if (hashIndexedVector.size()<=moduleHash){
93  hashIndexedVector.resize(m_sizeOfHashVector);
94  }
95  hashIndexedVector[moduleHash] = thresholds;
96 }

◆ setTot2Charges()

void PixelChargeCalibCondData::setTot2Charges ( unsigned int  moduleHash,
IBLModule  charges 
)

Definition at line 235 of file PixelChargeCalibCondData.cxx.

235  {
236  if (moduleHash >= m_sizeOfHashVector){
237  throw generateError(__func__, moduleHash);
238  }
239  m_tot2Charges[moduleHash] = std::move(charges);
240 }

◆ setTotResolutions()

void PixelChargeCalibCondData::setTotResolutions ( unsigned int  moduleHash,
const std::vector< PixelChargeCalib::Resolutions > &  value 
)

Definition at line 156 of file PixelChargeCalibCondData.cxx.

156  {
157  if (moduleHash >= m_sizeOfHashVector) throw generateError(__func__, moduleHash);
158  if (moduleHash >= m_totRes.size()) m_totRes.resize(m_sizeOfHashVector);
159  m_totRes[moduleHash] = value;
160 }

Member Data Documentation

◆ IBLCalibrationSize

constexpr size_t PixelChargeCalibCondData::IBLCalibrationSize {16}
staticconstexpr

Definition at line 29 of file PixelChargeCalibCondData.h.

◆ m_calibrationStrategy

std::map<int, CalibrationStrategy> PixelChargeCalibCondData::m_calibrationStrategy
private

Definition at line 120 of file PixelChargeCalibCondData.h.

◆ m_legacyFit

std::array<std::vector<std::vector<PixelChargeCalib::LegacyFitParameters> >, s_NPixelDiodes> PixelChargeCalibCondData::m_legacyFit
private

Definition at line 115 of file PixelChargeCalibCondData.h.

◆ m_linFit

std::array<std::vector<std::vector<PixelChargeCalib::LinearFitParameters> >, s_NPixelDiodes> PixelChargeCalibCondData::m_linFit
private

Definition at line 116 of file PixelChargeCalibCondData.h.

◆ m_sizeOfHashVector

std::size_t PixelChargeCalibCondData::m_sizeOfHashVector = 0
private

Definition at line 111 of file PixelChargeCalibCondData.h.

◆ m_thresholds

std::array<std::vector<std::vector<PixelChargeCalib::Thresholds> >, s_NPixelDiodes> PixelChargeCalibCondData::m_thresholds
private

Definition at line 114 of file PixelChargeCalibCondData.h.

◆ m_tot2Charges

std::map<int, IBLModule> PixelChargeCalibCondData::m_tot2Charges
private

Definition at line 121 of file PixelChargeCalibCondData.h.

◆ m_totRes

std::vector<std::vector<PixelChargeCalib::Resolutions> > PixelChargeCalibCondData::m_totRes
private

Definition at line 117 of file PixelChargeCalibCondData.h.

◆ s_NPixelDiodes

constexpr static std::size_t PixelChargeCalibCondData::s_NPixelDiodes = enum2uint(InDetDD::PixelDiodeType::N_DIODETYPES)
staticconstexprprivate

Definition at line 112 of file PixelChargeCalibCondData.h.


The documentation for this class was generated from the following files:
xAOD::strategy
strategy
Definition: L2CombinedMuon_v1.cxx:107
PixelChargeCalibCondData::getLegacyFitParameters
PixelChargeCalib::LegacyFitParameters getLegacyFitParameters(InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
Definition: PixelChargeCalibCondData.cxx:120
PixelModuleData::getDefaultAnalogThresholdSigma
int getDefaultAnalogThresholdSigma(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:38
beamspotman.r
def r
Definition: beamspotman.py:676
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
PixelChargeCalibCondData::getTot2Charges
const IBLCalibration & getTot2Charges(unsigned int moduleHash, unsigned int FE) const
Definition: PixelChargeCalibCondData.cxx:243
PixelChargeCalibCondData::m_thresholds
std::array< std::vector< std::vector< PixelChargeCalib::Thresholds > >, s_NPixelDiodes > m_thresholds
Definition: PixelChargeCalibCondData.h:114
PixelModuleData::getDefaultAnalogThreshold
int getDefaultAnalogThreshold(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:15
PixelModuleData::getDefaultAnalogThresholdNoise
int getDefaultAnalogThresholdNoise(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:61
PixelChargeCalib::Resolutions
Definition: ChargeCalibParameters.h:90
PixelModuleData::getDefaultInTimeThreshold
int getDefaultInTimeThreshold(int barrel_ec, int layer) const
Definition: PixelModuleData.cxx:84
PixelChargeCalibCondData::getThresholds
PixelChargeCalib::Thresholds getThresholds(InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
Definition: PixelChargeCalibCondData.cxx:99
InDetDD::enum2uint
constexpr std::size_t enum2uint(T n, const std::string &callingFunctionName="")
Convert an enum class to size_t for use as an array index.
Definition: PixelReadoutDefinitions.h:48
InDetDD::PixelDiodeType
PixelDiodeType
Definition: PixelReadoutDefinitions.h:25
skel.it
it
Definition: skel.GENtoEVGEN.py:396
mc.diff
diff
Definition: mc.SFGenPy8_MuMu_DD.py:14
athena.value
value
Definition: athena.py:124
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PixelChargeCalibCondData::m_legacyFit
std::array< std::vector< std::vector< PixelChargeCalib::LegacyFitParameters > >, s_NPixelDiodes > m_legacyFit
Definition: PixelChargeCalibCondData.h:115
PixelChargeCalibCondData::setLinearFitParameters
void setLinearFitParameters(InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::LinearFitParameters > &parameters)
Definition: PixelChargeCalibCondData.cxx:132
InDetDD::PixelDiodeType::GANGED
@ GANGED
PixelChargeCalib::LegacyFitParameters
Definition: ChargeCalibParameters.h:18
PixelModuleData::getDefaultQ2TotC
float getDefaultQ2TotC() const
Definition: PixelModuleData.cxx:329
PixelChargeCalibCondData::m_totRes
std::vector< std::vector< PixelChargeCalib::Resolutions > > m_totRes
Definition: PixelChargeCalibCondData.h:117
InDetDD::PixelReadoutTechnology::RD53
@ RD53
PixelChargeCalibCondData::CalibrationStrategy::RUN3PIX
@ RUN3PIX
PixelChargeCalibCondData::setLegacyFitParameters
void setLegacyFitParameters(InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::LegacyFitParameters > &parameters)
Definition: PixelChargeCalibCondData.cxx:110
PixelChargeCalibCondData::s_NPixelDiodes
constexpr static std::size_t s_NPixelDiodes
Definition: PixelChargeCalibCondData.h:112
PixelChargeCalibCondData::getChargeLUTFEI4
float getChargeLUTFEI4(unsigned int moduleHash, unsigned int FE, unsigned int ToT) const
Definition: PixelChargeCalibCondData.cxx:252
PixelChargeCalibCondData::m_sizeOfHashVector
std::size_t m_sizeOfHashVector
Definition: PixelChargeCalibCondData.h:111
InDetDD::PixelDiodeType::LONG
@ LONG
lumiFormat.i
int i
Definition: lumiFormat.py:85
PixelChargeCalibCondData::m_calibrationStrategy
std::map< int, CalibrationStrategy > m_calibrationStrategy
Definition: PixelChargeCalibCondData.h:120
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
PixelChargeCalibCondData::setThresholds
void setThresholds(InDetDD::PixelDiodeType type, unsigned int moduleHash, const std::vector< PixelChargeCalib::Thresholds > &thresholds)
Definition: PixelChargeCalibCondData.cxx:89
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
PixelChargeCalibCondData::CalibrationStrategy::LUTFEI4
@ LUTFEI4
PixelChargeCalibCondData::setCalibrationStrategy
void setCalibrationStrategy(unsigned int moduleHash, CalibrationStrategy strategy)
Definition: PixelChargeCalibCondData.cxx:215
PixelChargeCalibCondData::getCalibrationStrategy
CalibrationStrategy getCalibrationStrategy(unsigned int moduleHash) const
Definition: PixelChargeCalibCondData.cxx:223
PixelChargeCalibCondData::m_tot2Charges
std::map< int, IBLModule > m_tot2Charges
Definition: PixelChargeCalibCondData.h:121
LB_AnalMapSplitter.tot
tot
Definition: LB_AnalMapSplitter.py:46
PixelChargeCalib::LinearFitParameters
Definition: ChargeCalibParameters.h:49
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
charge
double charge(const T &p)
Definition: AtlasPID.h:538
python.PyAthena.v
v
Definition: PyAthena.py:154
PixelChargeCalibCondData::CalibrationStrategy::RUN1PIX
@ RUN1PIX
PixelChargeCalib::LinearFitParameters::Q
float Q(float tot) const
Definition: ChargeCalibParameters.h:68
PixelModuleData::getDefaultQ2TotA
float getDefaultQ2TotA() const
Definition: PixelModuleData.cxx:327
PixelChargeCalibCondData::getLinearFitParameters
PixelChargeCalib::LinearFitParameters getLinearFitParameters(InDetDD::PixelDiodeType type, unsigned int moduleHash, unsigned int FE) const
Definition: PixelChargeCalibCondData.cxx:143
Thresholds
Definition: LArCalorimeter/LArCalibDataQuality/python/Thresholds.py:1
InDetDD::PixelDiodeType::NONE
@ NONE
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
MistimedStreamPhI_runStandalone.legacy
legacy
Definition: MistimedStreamPhI_runStandalone.py:110
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
physics_parameters.parameters
parameters
Definition: physics_parameters.py:144
PixelModuleData::getDefaultQ2TotE
float getDefaultQ2TotE() const
Definition: PixelModuleData.cxx:328
PixelChargeCalibCondData::IBLCalibrationSize
static constexpr size_t IBLCalibrationSize
Definition: PixelChargeCalibCondData.h:29
InDetDD::PixelDiodeType::NORMAL
@ NORMAL
PixelChargeCalibCondData::getToTLUTFEI4
float getToTLUTFEI4(unsigned int moduleHash, unsigned int FE, float Q) const
Definition: PixelChargeCalibCondData.cxx:262
PixelChargeCalibCondData::setTotResolutions
void setTotResolutions(unsigned int moduleHash, const std::vector< PixelChargeCalib::Resolutions > &value)
Definition: PixelChargeCalibCondData.cxx:156
PixelChargeCalibCondData::m_linFit
std::array< std::vector< std::vector< PixelChargeCalib::LinearFitParameters > >, s_NPixelDiodes > m_linFit
Definition: PixelChargeCalibCondData.h:116
PixelChargeCalib::LinearFitParameters::ToT
float ToT(float Q) const
Definition: ChargeCalibParameters.h:62
PixelChargeCalibCondData::IBLCalibration
std::array< float, IBLCalibrationSize > IBLCalibration
Definition: PixelChargeCalibCondData.h:30