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 };
std::unique_ptr< CastorQIEData > produceQIEData(const CastorQIEDataRcd &rcd)
std::unique_ptr< CastorRecoParams > produceRecoParams(const CastorRecoParamsRcd &rcd)
std::unique_ptr< CastorChannelQuality > produceChannelQuality(const CastorChannelQualityRcd &rcd)
std::unique_ptr< CastorPedestalWidths > producePedestalWidths(const CastorPedestalWidthsRcd &rcd)
CastorHardcodeCalibrations(const edm::ParameterSet &)
std::unique_ptr< CastorPedestals > producePedestals(const CastorPedestalsRcd &rcd)
std::unique_ptr< CastorSaturationCorrs > produceSaturationCorrs(const CastorSaturationCorrsRcd &rcd)
std::unique_ptr< CastorGainWidths > produceGainWidths(const CastorGainWidthsRcd &rcd)
std::unique_ptr< CastorElectronicsMap > produceElectronicsMap(const CastorElectronicsMapRcd &rcd)
std::unique_ptr< CastorGains > produceGains(const CastorGainsRcd &rcd)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override