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