ATLAS Offline Software
PixelOfflineCalibData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // PixelOfflineCalibData.h, (c) ATLAS Detector software
8 
9 #ifndef PIXELOFFLINECALIBDATA_H
10 #define PIXELOFFLINECALIBDATA_H
11 
12 #include "AthenaKernel/CLASS_DEF.h"
16 
17 #include "AthenaKernel/CondCont.h"
18 
19 
29 namespace PixelCalib {
30 
32 
33  public:
38 
39 
42 
43  bool update(const PixelClusterErrorData& idat);
45  bool update(const PixelClusterOnTrackErrorData& idat);
46 
47  int size() const;
48 
49  // get the pointer to pixel cluster error data
56 
57  // Get/Set the numerical constants
58  int GetNumberOfConstants() const;
59 
60  std::vector<float> GetConstants() const;
61  void SetConstants(const std::vector<float> &constants);
62 
63  void Dump();
64 
65  private:
69 };
70 
71 //CLASS_DEF(PixelOfflineCalibData, 27089939, 1)
72 
77 }
78 
79 
80 
82  *m_clustererrordata = idat;
83  return true;
84 }
85 
89  return true;
90 }
91 
94  return true;
95 }
96 
98  return m_clustererrordata;
99 }
100 
103 }
104 
108 }
109 
111  return m_clustererrordata;
112 }
113 
116 }
117 
118 inline const PixelClusterOnTrackErrorData*
121 }
122 
123 
124 //================ Destructor =================================================
126 delete m_clustererrordata;
129 }
130 
131 }
132 
135 
136 #endif
137 
PixelClusterOnTrackErrorData.h
CondCont.h
Hold mappings of ranges to condition objects.
PixelClusterErrorData.h
PixelCalib::PixelOfflineCalibData::PixelOfflineCalibData
PixelOfflineCalibData()
Constructor:
Definition: PixelOfflineCalibData.h:73
PixelCalib::PixelOfflineCalibData::size
int size() const
PixelCalib::PixelOfflineCalibData::getPixelClusterErrorData
PixelClusterErrorData * getPixelClusterErrorData()
Definition: PixelOfflineCalibData.h:97
PixelCalib::PixelOfflineCalibData::m_clusterontrackerrordata
PixelClusterOnTrackErrorData * m_clusterontrackerrordata
Definition: PixelOfflineCalibData.h:68
PixelCalib::PixelOfflineCalibData::~PixelOfflineCalibData
~PixelOfflineCalibData()
default destructor
Definition: PixelOfflineCalibData.h:125
PixelCalib::PixelOfflineCalibData::getPixelClusterOnTrackErrorData
PixelClusterOnTrackErrorData * getPixelClusterOnTrackErrorData()
Definition: PixelOfflineCalibData.h:106
PixelCalib::PixelOfflineCalibData::m_clustererrordata
PixelClusterErrorData * m_clustererrordata
Definition: PixelOfflineCalibData.h:66
PixelCalib::PixelOfflineCalibData::update
bool update(const PixelClusterErrorData &idat)
Definition: PixelOfflineCalibData.h:81
PixelCalib::PixelOfflineCalibData
Definition: PixelOfflineCalibData.h:31
PixelOfflineCalibData
PixelCalib::PixelOfflineCalibData::operator=
PixelOfflineCalibData & operator=(const PixelOfflineCalibData &rhs)=delete
PixelCalib::PixelOfflineCalibData::GetNumberOfConstants
int GetNumberOfConstants() const
PixelCalib
Definition: PixelChargeInterpolationCalibration.h:14
PixelChargeInterpolationParameters.h
PixelCalib::PixelClusterOnTrackErrorData
Definition: PixelClusterOnTrackErrorData.h:25
PixelCalib::PixelClusterErrorData
Definition: PixelClusterErrorData.h:27
PixelCalib::PixelOfflineCalibData::GetConstants
std::vector< float > GetConstants() const
Definition: PixelOfflineCalibData.cxx:15
PixelCalib::PixelOfflineCalibData::PixelOfflineCalibData
PixelOfflineCalibData(const PixelOfflineCalibData &rhs)=delete
PixelCalib::PixelOfflineCalibData::getPixelChargeInterpolationParameters
PixelChargeInterpolationParameters * getPixelChargeInterpolationParameters()
Definition: PixelOfflineCalibData.h:101
PixelCalib::PixelOfflineCalibData::Dump
void Dump()
Definition: PixelOfflineCalibData.cxx:158
CondCont
Hold mapping of ranges to condition objects.
Definition: CondCont.h:811
constants
Definition: Calorimeter/CaloClusterCorrection/python/constants.py:1
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
PixelCalib::PixelOfflineCalibData::SetConstants
void SetConstants(const std::vector< float > &constants)
Definition: PixelOfflineCalibData.cxx:164
PixelCalib::PixelOfflineCalibData::m_chargeinterpolationparameters
PixelChargeInterpolationParameters * m_chargeinterpolationparameters
Definition: PixelOfflineCalibData.h:67
PixelCalib::PixelChargeInterpolationParameters
Definition: PixelChargeInterpolationParameters.h:26
CLASS_DEF.h
macros to associate a CLID to a type