CMS 3D CMS Logo

SiPixelGainCalibrationForHLTSimService.h
Go to the documentation of this file.
1 #ifndef CalibTracker_SiPixelESProducers_SiPixelGainCalibrationForHLTSimService_H
2 #define CalibTracker_SiPixelESProducers_SiPixelGainCalibrationForHLTSimService_H
3 
4 // ************************************************************************
5 // ************************************************************************
6 // ******* SiPixelOfflineCalibrationForHLTSimService *******
7 // ******* Author: Freya Blekman *******
8 // ******* based on code by: Evan Friis (evan.friis@cern.ch) *******
9 // ******* *******
10 // ******* Retrives gain calibration data from offline DB *******
11 // ******* at lowest (gain:column,pedestal:column) granularity *******
12 // ******* *******
13 // ************************************************************************
14 // ************************************************************************
15 //
16 // Gain Calibration base class
18 
21 
23  : public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT,
24  SiPixelGainCalibrationForHLTSimRcd> {
25 public:
28  conf, std::move(iC)){};
29 
30  // column granularity
31  float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
32  float getGain(const uint32_t& detID, const int& col, const int& row) override;
33  bool isDead(const uint32_t& detID, const int& col, const int& row) override; //also return dead by column.
34  bool isDeadColumn(const uint32_t& detID, const int& col, const int& row) override;
35  bool isNoisy(const uint32_t& detID, const int& col, const int& row) override;
36  bool isNoisyColumn(const uint32_t& detID, const int& col, const int& row) override;
37 };
38 #endif
bool isDead(const uint32_t &detID, const int &col, const int &row) override
SiPixelGainCalibrationForHLTSimService(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
bool isNoisyColumn(const uint32_t &detID, const int &col, const int &row) override
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
col
Definition: cuy.py:1009
bool isDeadColumn(const uint32_t &detID, const int &col, const int &row) override
def move(src, dest)
Definition: eostools.py:511
float getPedestal(const uint32_t &detID, const int &col, const int &row) override