ATLAS Offline Software
Classes | Functions
PixelChargeCalib Namespace Reference

Classes

struct  ChargeCalibrationBundle
 bundles of parameters used together in the PixelChargeCalibCondAlg More...
 
class  IChargeCalibrationParser
 
struct  LegacyFitParameters
 
struct  LinearFitParameters
 
class  LUTChargeCalibParser
 
struct  Resolutions
 
class  Run2ChargeCalibParser
 
class  Run3ChargeCalibParser
 
struct  Thresholds
 

Functions

std::ostream & operator<< (std::ostream &out, const LegacyFitParameters &legFitPar)
 
std::ostream & operator<< (std::ostream &out, const LinearFitParameters &linFitParam)
 
std::ostream & operator<< (std::ostream &out, const Thresholds &t)
 
std::ostream & operator<< (std::ostream &out, const Resolutions &r)
 
std::pair< int, int > getBecAndLayer (const PixelID *pPixelId, IdentifierHash hash)
 
std::pair< size_t, InDetDD::PixelReadoutTechnologynumChipsAndTechnology (const InDetDD::SiDetectorElement *element)
 

Function Documentation

◆ getBecAndLayer()

std::pair< int, int > PixelChargeCalib::getBecAndLayer ( const PixelID pPixelId,
IdentifierHash  hash 
)

Definition at line 13 of file PixelChargeCalibUtils.cxx.

13  {
14  const Identifier waferId = pPixelId->wafer_id(hash);
15  return {pPixelId->barrel_ec(waferId), pPixelId->layer_disk(waferId)};
16  }

◆ numChipsAndTechnology()

std::pair< size_t, InDetDD::PixelReadoutTechnology > PixelChargeCalib::numChipsAndTechnology ( const InDetDD::SiDetectorElement element)

Definition at line 19 of file PixelChargeCalibUtils.cxx.

19  {
20  static constexpr int halfModuleThreshold{8};
21  const InDetDD::PixelModuleDesign *pDesign = static_cast<const InDetDD::PixelModuleDesign*>(&element->design());
22  const unsigned int n = (pDesign->numberOfCircuits() < halfModuleThreshold) ? pDesign->numberOfCircuits() : 2 * pDesign->numberOfCircuits();
23  return {n, pDesign->getReadoutTechnology()};
24  }

◆ operator<<() [1/4]

std::ostream & PixelChargeCalib::operator<< ( std::ostream &  out,
const LegacyFitParameters legFitPar 
)

Definition at line 18 of file ChargeCalibParameters.cxx.

18  {
19  out<<"("<<f.A<<", "<<f.E<<", "<<f.C<<")";
20  return out;
21  }

◆ operator<<() [2/4]

std::ostream & PixelChargeCalib::operator<< ( std::ostream &  out,
const LinearFitParameters linFitParam 
)

Definition at line 22 of file ChargeCalibParameters.cxx.

22  {
23  out<<"("<<f.F<<", "<<f.G<<")";
24  return out;
25  }

◆ operator<<() [3/4]

std::ostream & PixelChargeCalib::operator<< ( std::ostream &  out,
const Resolutions r 
)

Definition at line 30 of file ChargeCalibParameters.cxx.

30  {
31  out<<"("<<r.res1<<", "<<r.res2<<")";
32  return out;
33  }

◆ operator<<() [4/4]

std::ostream & PixelChargeCalib::operator<< ( std::ostream &  out,
const Thresholds t 
)

Definition at line 26 of file ChargeCalibParameters.cxx.

26  {
27  out<<"("<<t.value<<", "<<t.sigma<<", "<<t.noise<<", "<<t.inTimeValue<<")";
28  return out;
29  }
beamspotman.r
def r
Definition: beamspotman.py:676
python.CaloRecoConfig.f
f
Definition: CaloRecoConfig.py:127
InDetDD::PixelModuleDesign
Definition: PixelModuleDesign.h:48
PixelID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: PixelID.h:619
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PixelID::wafer_id
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Definition: PixelID.h:364
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
beamspotman.n
n
Definition: beamspotman.py:731
InDetDD::PixelModuleDesign::numberOfCircuits
int numberOfCircuits() const
Total number of circuits:
Definition: PixelModuleDesign.h:297
PixelID::layer_disk
int layer_disk(const Identifier &id) const
Definition: PixelID.h:626
InDetDD::PixelModuleDesign::getReadoutTechnology
PixelReadoutTechnology getReadoutTechnology() const
Definition: PixelModuleDesign.h:368
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109
InDetDD::SiDetectorElement::design
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):