CMS 3D CMS Logo

SiPixelGainCalibrationForHLTService.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiPixelESProducers_SiPixelGainCalibrationForHLTService_H
2 #define CalibTracker_SiPixelESProducers_SiPixelGainCalibrationForHLTService_H
3 
4 // ************************************************************************
5 // ************************************************************************
6 // ******* SiPixelOfflineCalibrationForHLTService *******
7 // ******* Author: Evan Friis (evan.friis@cern.ch) *******
8 // ******* *******
9 // ******* Retrives gain calibration data from offline DB *******
10 // ******* at lowest (gain:column,pedestal:column) granularity *******
11 // ******* *******
12 // ************************************************************************
13 // ************************************************************************
14 //
15 // Gain Calibration base class
17 
20 
22  : public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT, SiPixelGainCalibrationForHLTRcd> {
23 public:
26  conf, std::move(iC)){};
27 
28  void calibrate(
29  uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int* electron) override;
30 
31  // column granularity
32  float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
33  float getGain(const uint32_t& detID, const int& col, const int& row) override;
34  bool isDead(const uint32_t& detID, const int& col, const int& row) override; //also return dead by column.
35  bool isDeadColumn(const uint32_t& detID, const int& col, const int& row) override;
36  bool isNoisy(const uint32_t& detID, const int& col, const int& row) override;
37  bool isNoisyColumn(const uint32_t& detID, const int& col, const int& row) override;
38 };
39 #endif
edm::DetSet< PixelDigi >::const_iterator DigiIterator
void calibrate(uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int *electron) override
float getPedestal(const uint32_t &detID, const int &col, const int &row) override
SiPixelGainCalibrationForHLTService(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
float getGain(const uint32_t &detID, const int &col, const int &row) override
bool isDead(const uint32_t &detID, const int &col, const int &row) override
double b
Definition: hdecay.h:118
col
Definition: cuy.py:1009
bool isDeadColumn(const uint32_t &detID, const int &col, const int &row) override
bool isNoisyColumn(const uint32_t &detID, const int &col, const int &row) override
def move(src, dest)
Definition: eostools.py:511