ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
int layer_disk(const Identifier &id) const
Definition PixelID.h:607
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
Definition PixelID.h:360
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition PixelID.h:600

◆ 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 }
Class used to describe the design of a module (diode segmentation and readout scheme)
PixelReadoutTechnology getReadoutTechnology() const
int numberOfCircuits() const
Total number of circuits:
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):

◆ 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<<", "<<f.maxToT<<")";
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 }
int r
Definition globals.cxx:22

◆ 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 }