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){};
28 
29  void calibrate(
30  uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int* electron) override;
31 
32  // column granularity
33  float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
34  float getGain(const uint32_t& detID, const int& col, const int& row) override;
35  bool isDead(const uint32_t& detID, const int& col, const int& row) override; //also return dead by column.
36  bool isDeadColumn(const uint32_t& detID, const int& col, const int& row) override;
37  bool isNoisy(const uint32_t& detID, const int& col, const int& row) override;
38  bool isNoisyColumn(const uint32_t& detID, const int& col, const int& row) override;
39 };
40 #endif
SiPixelGainCalibrationForHLTService::calibrate
void calibrate(uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int *electron) override
Definition: SiPixelGainCalibrationForHLTService.cc:20
SiPixelGainCalibrationForHLTRcd
Definition: SiPixelGainCalibrationForHLTRcd.h:24
SiPixelGainCalibrationForHLTService::getPedestal
float getPedestal(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTService.cc:49
SiPixelGainCalibrationServiceBase::DigiIterator
edm::DetSet< PixelDigi >::const_iterator DigiIterator
Definition: SiPixelGainCalibrationServiceBase.h:31
cuy.col
col
Definition: cuy.py:1010
SiPixelGainCalibrationForHLTService
Definition: SiPixelGainCalibrationForHLTService.h:21
SiPixelGainCalibrationForHLT.h
SiPixelGainCalibrationForHLTService::isNoisy
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTService.cc:85
SiPixelGainCalibrationForHLTService::~SiPixelGainCalibrationForHLTService
~SiPixelGainCalibrationForHLTService() override
Definition: SiPixelGainCalibrationForHLTService.h:27
SiPixelGainCalibrationServicePayloadGetter
Definition: SiPixelGainCalibrationServiceBase.h:58
SiPixelGainCalibrationForHLT
Definition: SiPixelGainCalibrationForHLT.h:29
b
double b
Definition: hdecay.h:118
SiPixelGainCalibrationForHLTRcd.h
SiPixelGainCalibrationForHLTService::getGain
float getGain(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTService.cc:60
SiPixelGainCalibrationForHLTService::isDead
bool isDead(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTService.cc:71
edm::ParameterSet
Definition: ParameterSet.h:36
SiPixelGainCalibrationForHLTService::SiPixelGainCalibrationForHLTService
SiPixelGainCalibrationForHLTService(const edm::ParameterSet &conf)
Definition: SiPixelGainCalibrationForHLTService.h:24
HPSPFTauProducerPuppi_cfi.electron
electron
Definition: HPSPFTauProducerPuppi_cfi.py:13
SiPixelGainCalibrationServiceBase.h
SiPixelGainCalibrationForHLTService::isDeadColumn
bool isDeadColumn(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTService.cc:99
SiPixelGainCalibrationForHLTService::isNoisyColumn
bool isNoisyColumn(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTService.cc:113
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition: hltrates_dqm_sourceclient-live_cfg.py:82
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37