File indexing completed on 2024-09-07 04:35:05
0001 #ifndef CalibTracker_SiPixelESProducers_SiPixelGainCalibrationOfflineService_H
0002 #define CalibTracker_SiPixelESProducers_SiPixelGainCalibrationOfflineService_H
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #include "CalibTracker/SiPixelESProducers/interface/SiPixelGainCalibrationServiceBase.h"
0017
0018 #include "CondFormats/SiPixelObjects/interface/SiPixelGainCalibrationOffline.h"
0019 #include "CondFormats/DataRecord/interface/SiPixelGainCalibrationOfflineRcd.h"
0020
0021 class SiPixelGainCalibrationOfflineService
0022 : public SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd> {
0023 public:
0024 explicit SiPixelGainCalibrationOfflineService(const edm::ParameterSet& conf, edm::ConsumesCollector iC)
0025 : SiPixelGainCalibrationServicePayloadGetter<SiPixelGainCalibrationOffline, SiPixelGainCalibrationOfflineRcd>(
0026 conf, std::move(iC)) {}
0027
0028
0029 float getPedestal(const uint32_t& detID, const int& col, const int& row) override;
0030 float getGain(const uint32_t& detID, const int& col, const int& row) override;
0031 bool isDead(const uint32_t& detID, const int& col, const int& row) override;
0032 bool isDeadColumn(const uint32_t& detID, const int& col, const int& row) override;
0033 bool isNoisy(const uint32_t& detID, const int& col, const int& row) override;
0034 bool isNoisyColumn(const uint32_t& detID, const int& col, const int& row) override;
0035 };
0036 #endif