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, std::move(iC)){};
27 
28  void calibrate(
29  uint32_t detID, DigiIterator b, DigiIterator e, float conversionFactor, float offset, int* electron) override;
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 #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:32
SiPixelGainCalibrationForHLTService::SiPixelGainCalibrationForHLTService
SiPixelGainCalibrationForHLTService(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
Definition: SiPixelGainCalibrationForHLTService.h:24
cuy.col
col
Definition: cuy.py:1009
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
SiPixelGainCalibrationServicePayloadGetter
Definition: SiPixelGainCalibrationServiceBase.h:59
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:47
HPSPFTauProducerPuppi_cfi.electron
electron
Definition: HPSPFTauProducerPuppi_cfi.py:13
SiPixelGainCalibrationServiceBase.h
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
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
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37