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 };
CastorGainWidths
Definition: CastorGainWidths.h:18
CastorTextCalibrations::produceChannelQuality
std::unique_ptr< CastorChannelQuality > produceChannelQuality(const CastorChannelQualityRcd &rcd)
Definition: CastorTextCalibrations.cc:131
CastorSaturationCorrsRcd
Definition: CastorSaturationCorrsRcd.h:4
CastorTextCalibrations::produceRecoParams
std::unique_ptr< CastorRecoParams > produceRecoParams(const CastorRecoParamsRcd &rcd)
Definition: CastorTextCalibrations.cc:139
CastorQIEDataRcd
Definition: CastorQIEDataRcd.h:24
edm::ValidityInterval
Definition: ValidityInterval.h:28
ESProducer.h
CastorTextCalibrations::~CastorTextCalibrations
~CastorTextCalibrations() override
Definition: CastorTextCalibrations.cc:84
CastorTextCalibrations::produceGains
std::unique_ptr< CastorGains > produceGains(const CastorGainsRcd &rcd)
Definition: CastorTextCalibrations.cc:119
CastorPedestalWidthsRcd
Definition: CastorPedestalWidthsRcd.h:24
edm::EventSetupRecordIntervalFinder
Definition: EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
CastorTextCalibrations::mInputs
std::map< std::string, std::string > mInputs
Definition: CastorTextCalibrations.h:56
CastorTextCalibrations::produceQIEData
std::unique_ptr< CastorQIEData > produceQIEData(const CastorQIEDataRcd &rcd)
Definition: CastorTextCalibrations.cc:127
CastorRecoParamsRcd
Definition: CastorRecoParamsRcd.h:4
CastorTextCalibrations::produceElectronicsMap
std::unique_ptr< CastorElectronicsMap > produceElectronicsMap(const CastorElectronicsMapRcd &rcd)
Definition: CastorTextCalibrations.cc:135
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
CastorTextCalibrations::producePedestals
std::unique_ptr< CastorPedestals > producePedestals(const CastorPedestalsRcd &rcd)
Definition: CastorTextCalibrations.cc:111
EventSetupRecordIntervalFinder.h
CastorPedestals
Definition: CastorPedestals.h:18
edm::ParameterSet
Definition: ParameterSet.h:47
CastorTextCalibrations::CastorTextCalibrations
CastorTextCalibrations(const edm::ParameterSet &)
Definition: CastorTextCalibrations.cc:37
CastorTextCalibrations::produceSaturationCorrs
std::unique_ptr< CastorSaturationCorrs > produceSaturationCorrs(const CastorSaturationCorrsRcd &rcd)
Definition: CastorTextCalibrations.cc:143
CastorTextCalibrations::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: CastorTextCalibrations.cc:89
ParameterSet
Definition: Functions.h:16
CastorChannelQualityRcd
Definition: CastorChannelQualityRcd.h:24
CastorRecoParams
Definition: CastorRecoParams.h:9
CastorGains
Definition: CastorGains.h:18
CastorTextCalibrations::producePedestalWidths
std::unique_ptr< CastorPedestalWidths > producePedestalWidths(const CastorPedestalWidthsRcd &rcd)
Definition: CastorTextCalibrations.cc:115
CastorChannelQuality
Definition: CastorChannelQuality.h:17
CastorTextCalibrations
Definition: CastorTextCalibrations.h:33
CastorElectronicsMapRcd
Definition: CastorElectronicsMapRcd.h:4
CastorPedestalWidths
Definition: CastorPedestalWidths.h:18
edm::ESProducer
Definition: ESProducer.h:104
CastorElectronicsMap
Definition: CastorElectronicsMap.h:30
CastorSaturationCorrs
Definition: CastorSaturationCorrs.h:9
CastorTextCalibrations::produce
void produce()
Definition: CastorTextCalibrations.h:38
ParameterSet.h
CastorQIEData
Definition: CastorQIEData.h:25
CastorGainsRcd
Definition: CastorGainsRcd.h:24
CastorTextCalibrations::produceGainWidths
std::unique_ptr< CastorGainWidths > produceGainWidths(const CastorGainWidthsRcd &rcd)
Definition: CastorTextCalibrations.cc:123
CastorPedestalsRcd
Definition: CastorPedestalsRcd.h:24
CastorGainWidthsRcd
Definition: CastorGainWidthsRcd.h:24