test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
22 class SiPixelGainCalibrationForHLTSimService : public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT,SiPixelGainCalibrationForHLTSimRcd>
23 {
24 
25  public:
28 
29  // column granularity
30  float getPedestal ( const uint32_t& detID,const int& col, const int& row);
31  float getGain ( const uint32_t& detID,const int& col, const int& row);
32  bool isDead ( const uint32_t& detID,const int& col, const int& row); //also return dead by column.
33  bool isDeadColumn ( const uint32_t& detID,const int& col, const int& row);
34  bool isNoisy ( const uint32_t& detID,const int& col, const int& row);
35  bool isNoisyColumn ( const uint32_t& detID,const int& col, const int& row);
36 
37 };
38 #endif
float getGain(const uint32_t &detID, const int &col, const int &row)
bool isNoisy(const uint32_t &detID, const int &col, const int &row)
float getPedestal(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)
SiPixelGainCalibrationForHLTSimService(const edm::ParameterSet &conf)
int col
Definition: cuy.py:1008
bool isDeadColumn(const uint32_t &detID, const int &col, const int &row)