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 
35 {
36 public:
38  ~CastorTextCalibrations () override;
39 
40  void produce () {};
41 
42 protected:
44  const edm::IOVSyncValue& ,
45  edm::ValidityInterval&) override ;
46 
47  std::unique_ptr<CastorPedestals> producePedestals (const CastorPedestalsRcd& rcd);
48  std::unique_ptr<CastorPedestalWidths> producePedestalWidths (const CastorPedestalWidthsRcd& rcd);
49  std::unique_ptr<CastorGains> produceGains (const CastorGainsRcd& rcd);
50  std::unique_ptr<CastorGainWidths> produceGainWidths (const CastorGainWidthsRcd& rcd);
51  std::unique_ptr<CastorQIEData> produceQIEData (const CastorQIEDataRcd& rcd);
52  std::unique_ptr<CastorChannelQuality> produceChannelQuality (const CastorChannelQualityRcd& rcd);
53  std::unique_ptr<CastorElectronicsMap> produceElectronicsMap (const CastorElectronicsMapRcd& rcd);
54  std::unique_ptr<CastorRecoParams> produceRecoParams (const CastorRecoParamsRcd& rcd);
55  std::unique_ptr<CastorSaturationCorrs> produceSaturationCorrs (const CastorSaturationCorrsRcd& rcd);
56 
57  private:
58  std::map <std::string, std::string> mInputs;
59 };
60 
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)