CMS 3D CMS Logo

CastorHardcodeCalibrations.h
Go to the documentation of this file.
1 // ESSource to generate default HCAL/CASTOR calibration objects
2 //
3 #include <map>
4 #include <string>
5 
9 
11 class ParameterSet;
12 
13 class CastorPedestalsRcd;
15 class CastorGainsRcd;
17 class CastorQIEDataRcd;
22 
24 public:
26  ~CastorHardcodeCalibrations() override;
27 
28  void produce(){};
29 
30 protected:
32  const edm::IOVSyncValue&,
33  edm::ValidityInterval&) override;
34 
35  std::unique_ptr<CastorPedestals> producePedestals(const CastorPedestalsRcd& rcd);
36  std::unique_ptr<CastorPedestalWidths> producePedestalWidths(const CastorPedestalWidthsRcd& rcd);
37  std::unique_ptr<CastorGains> produceGains(const CastorGainsRcd& rcd);
38  std::unique_ptr<CastorGainWidths> produceGainWidths(const CastorGainWidthsRcd& rcd);
39  std::unique_ptr<CastorQIEData> produceQIEData(const CastorQIEDataRcd& rcd);
40  std::unique_ptr<CastorChannelQuality> produceChannelQuality(const CastorChannelQualityRcd& rcd);
41  std::unique_ptr<CastorElectronicsMap> produceElectronicsMap(const CastorElectronicsMapRcd& rcd);
42  std::unique_ptr<CastorRecoParams> produceRecoParams(const CastorRecoParamsRcd& rcd);
43  std::unique_ptr<CastorSaturationCorrs> produceSaturationCorrs(const CastorSaturationCorrsRcd& rcd);
44  bool h2mode_;
45 };
CastorHardcodeCalibrations::h2mode_
bool h2mode_
Definition: CastorHardcodeCalibrations.h:44
CastorHardcodeCalibrations::produceGains
std::unique_ptr< CastorGains > produceGains(const CastorGainsRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:156
CastorSaturationCorrsRcd
Definition: CastorSaturationCorrsRcd.h:4
CastorQIEDataRcd
Definition: CastorQIEDataRcd.h:24
edm::ValidityInterval
Definition: ValidityInterval.h:28
AllObjects.h
ESProducer.h
CastorHardcodeCalibrations::produceElectronicsMap
std::unique_ptr< CastorElectronicsMap > produceElectronicsMap(const CastorElectronicsMapRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:201
CastorPedestalWidthsRcd
Definition: CastorPedestalWidthsRcd.h:24
CastorHardcodeCalibrations::produceGainWidths
std::unique_ptr< CastorGainWidths > produceGainWidths(const CastorGainWidthsRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:167
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
CastorHardcodeCalibrations::producePedestals
std::unique_ptr< CastorPedestals > producePedestals(const CastorPedestalsRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:134
CastorHardcodeCalibrations::produce
void produce()
Definition: CastorHardcodeCalibrations.h:28
CastorHardcodeCalibrations::~CastorHardcodeCalibrations
~CastorHardcodeCalibrations() override
Definition: CastorHardcodeCalibrations.cc:120
CastorRecoParamsRcd
Definition: CastorRecoParamsRcd.h:4
CastorHardcodeCalibrations::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: CastorHardcodeCalibrations.cc:125
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
CastorChannelQualityRcd
Definition: CastorChannelQualityRcd.h:24
CastorHardcodeCalibrations::produceSaturationCorrs
std::unique_ptr< CastorSaturationCorrs > produceSaturationCorrs(const CastorSaturationCorrsRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:221
CastorHardcodeCalibrations::produceRecoParams
std::unique_ptr< CastorRecoParams > produceRecoParams(const CastorRecoParamsRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:210
CastorHardcodeCalibrations::produceQIEData
std::unique_ptr< CastorQIEData > produceQIEData(const CastorQIEDataRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:178
CastorHardcodeCalibrations::produceChannelQuality
std::unique_ptr< CastorChannelQuality > produceChannelQuality(const CastorChannelQualityRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:189
CastorHardcodeCalibrations::producePedestalWidths
std::unique_ptr< CastorPedestalWidths > producePedestalWidths(const CastorPedestalWidthsRcd &rcd)
Definition: CastorHardcodeCalibrations.cc:145
CastorElectronicsMapRcd
Definition: CastorElectronicsMapRcd.h:4
CastorHardcodeCalibrations::CastorHardcodeCalibrations
CastorHardcodeCalibrations(const edm::ParameterSet &)
Definition: CastorHardcodeCalibrations.cc:72
edm::ESProducer
Definition: ESProducer.h:104
ParameterSet.h
CastorGainsRcd
Definition: CastorGainsRcd.h:24
CastorHardcodeCalibrations
Definition: CastorHardcodeCalibrations.h:23
CastorPedestalsRcd
Definition: CastorPedestalsRcd.h:24
CastorGainWidthsRcd
Definition: CastorGainWidthsRcd.h:24