test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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);
29 
30 
31  // column granularity
32  float getPedestal ( const uint32_t& detID,const int& col, const int& row);
33  float getGain ( const uint32_t& detID,const int& col, const int& row);
34  bool isDead ( const uint32_t& detID,const int& col, const int& row); //also return dead by column.
35  bool isDeadColumn ( const uint32_t& detID,const int& col, const int& row);
36  bool isNoisy ( const uint32_t& detID,const int& col, const int& row);
37  bool isNoisyColumn ( const uint32_t& detID,const int& col, const int& row);
38 
39 };
40 #endif
edm::DetSet< PixelDigi >::const_iterator DigiIterator
bool isDeadColumn(const uint32_t &detID, const int &col, const int &row)
float getGain(const uint32_t &detID, const int &col, const int &row)
bool isNoisyColumn(const uint32_t &detID, const int &col, const int &row)
bool isDead(const uint32_t &detID, const int &col, const int &row)
float getPedestal(const uint32_t &detID, const int &col, const int &row)
SiPixelGainCalibrationForHLTService(const edm::ParameterSet &conf)
double b
Definition: hdecay.h:120
void calibrate(uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int *electron)
int col
Definition: cuy.py:1008
bool isNoisy(const uint32_t &detID, const int &col, const int &row)