CMS 3D CMS Logo

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 
23  : public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationForHLT,
24  SiPixelGainCalibrationForHLTSimRcd> {
25 public:
28  conf, std::move(iC)){};
29 
30  // column granularity
31  float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
32  float getGain(const uint32_t& detID, const int& col, const int& row) override;
33  bool isDead(const uint32_t& detID, const int& col, const int& row) override; //also return dead by column.
34  bool isDeadColumn(const uint32_t& detID, const int& col, const int& row) override;
35  bool isNoisy(const uint32_t& detID, const int& col, const int& row) override;
36  bool isNoisyColumn(const uint32_t& detID, const int& col, const int& row) override;
37 };
38 #endif
SiPixelGainCalibrationForHLTSimService::isNoisyColumn
bool isNoisyColumn(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTSimService.cc:83
SiPixelGainCalibrationForHLTSimService::SiPixelGainCalibrationForHLTSimService
SiPixelGainCalibrationForHLTSimService(const edm::ParameterSet &conf, edm::ConsumesCollector iC)
Definition: SiPixelGainCalibrationForHLTSimService.h:26
SiPixelGainCalibrationForHLTSimService::isDead
bool isDead(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTSimService.cc:41
cuy.col
col
Definition: cuy.py:1009
SiPixelGainCalibrationForHLT.h
SiPixelGainCalibrationForHLTSimRcd
Definition: SiPixelGainCalibrationForHLTSimRcd.h:24
SiPixelGainCalibrationServicePayloadGetter
Definition: SiPixelGainCalibrationServiceBase.h:59
SiPixelGainCalibrationForHLT
Definition: SiPixelGainCalibrationForHLT.h:29
SiPixelGainCalibrationForHLTSimService::getPedestal
float getPedestal(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTSimService.cc:19
edm::ParameterSet
Definition: ParameterSet.h:47
SiPixelGainCalibrationForHLTSimService::getGain
float getGain(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTSimService.cc:30
SiPixelGainCalibrationForHLTSimService::isDeadColumn
bool isDeadColumn(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTSimService.cc:69
SiPixelGainCalibrationServiceBase.h
eostools.move
def move(src, dest)
Definition: eostools.py:511
std
Definition: JetResolutionObject.h:76
SiPixelGainCalibrationForHLTSimRcd.h
SiPixelGainCalibrationForHLTSimService
Definition: SiPixelGainCalibrationForHLTSimService.h:22
SiPixelGainCalibrationForHLTSimService::isNoisy
bool isNoisy(const uint32_t &detID, const int &col, const int &row) override
Definition: SiPixelGainCalibrationForHLTSimService.cc:55
edm::ConsumesCollector
Definition: ConsumesCollector.h:45