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 
21 class SiPixelGainCalibrationForHLTService final : public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT,SiPixelGainCalibrationForHLTRcd>
22 {
23 
24  public:
27 
28  void calibrate(uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int * electron) override;
29 
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 };
40 #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
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
SiPixelGainCalibrationForHLTService(const edm::ParameterSet &conf)
double b
Definition: hdecay.h:120
col
Definition: cuy.py:1010
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