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