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 
25 {
26 public:
29 
30  void produce () {};
31 
32 protected:
34  const edm::IOVSyncValue& ,
36 
37  std::unique_ptr<CastorPedestals> producePedestals (const CastorPedestalsRcd& rcd);
38  std::unique_ptr<CastorPedestalWidths> producePedestalWidths (const CastorPedestalWidthsRcd& rcd);
39  std::unique_ptr<CastorGains> produceGains (const CastorGainsRcd& rcd);
40  std::unique_ptr<CastorGainWidths> produceGainWidths (const CastorGainWidthsRcd& rcd);
41  std::unique_ptr<CastorQIEData> produceQIEData (const CastorQIEDataRcd& rcd);
42  std::unique_ptr<CastorChannelQuality> produceChannelQuality (const CastorChannelQualityRcd& rcd);
43  std::unique_ptr<CastorElectronicsMap> produceElectronicsMap (const CastorElectronicsMapRcd& rcd);
44  std::unique_ptr<CastorRecoParams> produceRecoParams (const CastorRecoParamsRcd& rcd);
45  std::unique_ptr<CastorSaturationCorrs> produceSaturationCorrs (const CastorSaturationCorrsRcd& rcd);
46  bool h2mode_;
47 };
48 
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)
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)