CMS 3D CMS Logo

CastorTextCalibrations.h
Go to the documentation of this file.
1 #include <map>
2 #include <string>
3 
7 
8 class ParameterSet;
9 
10 class CastorPedestals;
12 //class CastorGains;
13 //class CastorGainWidths;
14 class CastorQIEData;
15 //class CastorChannelQuality;
17 
18 class CastorPedestalsRcd;
20 class CastorGainsRcd;
22 class CastorQIEDataRcd;
27 class CastorGains;
28 class CastorGainWidths;
30 class CastorRecoParams;
32 
34 public:
36  ~CastorTextCalibrations() override;
37 
38  void produce(){};
39 
40 protected:
42  const edm::IOVSyncValue&,
43  edm::ValidityInterval&) override;
44 
45  std::unique_ptr<CastorPedestals> producePedestals(const CastorPedestalsRcd& rcd);
46  std::unique_ptr<CastorPedestalWidths> producePedestalWidths(const CastorPedestalWidthsRcd& rcd);
47  std::unique_ptr<CastorGains> produceGains(const CastorGainsRcd& rcd);
48  std::unique_ptr<CastorGainWidths> produceGainWidths(const CastorGainWidthsRcd& rcd);
49  std::unique_ptr<CastorQIEData> produceQIEData(const CastorQIEDataRcd& rcd);
50  std::unique_ptr<CastorChannelQuality> produceChannelQuality(const CastorChannelQualityRcd& rcd);
51  std::unique_ptr<CastorElectronicsMap> produceElectronicsMap(const CastorElectronicsMapRcd& rcd);
52  std::unique_ptr<CastorRecoParams> produceRecoParams(const CastorRecoParamsRcd& rcd);
53  std::unique_ptr<CastorSaturationCorrs> produceSaturationCorrs(const CastorSaturationCorrsRcd& rcd);
54 
55 private:
56  std::map<std::string, std::string> mInputs;
57 };
std::unique_ptr< CastorPedestals > producePedestals(const CastorPedestalsRcd &rcd)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
std::unique_ptr< CastorGainWidths > produceGainWidths(const CastorGainWidthsRcd &rcd)
std::unique_ptr< CastorPedestalWidths > producePedestalWidths(const CastorPedestalWidthsRcd &rcd)
std::unique_ptr< CastorRecoParams > produceRecoParams(const CastorRecoParamsRcd &rcd)
std::map< std::string, std::string > mInputs
std::unique_ptr< CastorChannelQuality > produceChannelQuality(const CastorChannelQualityRcd &rcd)
std::unique_ptr< CastorSaturationCorrs > produceSaturationCorrs(const CastorSaturationCorrsRcd &rcd)
std::unique_ptr< CastorElectronicsMap > produceElectronicsMap(const CastorElectronicsMapRcd &rcd)
CastorTextCalibrations(const edm::ParameterSet &)
std::unique_ptr< CastorQIEData > produceQIEData(const CastorQIEDataRcd &rcd)
std::unique_ptr< CastorGains > produceGains(const CastorGainsRcd &rcd)