CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalOmdsCalibrations.h
Go to the documentation of this file.
1 //
2 // Original Author: Gena Kukartsev Mar 11, 2009
3 // Adapted from HcalTextCalibrations
4 //
5 //
6 #include <map>
7 #include <string>
8 
12 
14 class ParameterSet;
15 
16 class HcalPedestalsRcd;
18 class HcalGainsRcd;
19 class HcalGainWidthsRcd;
20 class HcalQIEDataRcd;
23 class HcalRespCorrsRcd;
27 class HcalLutMetadataRcd;
28 class HcalDcsRcd;
29 
32 {
33 public:
36 
37  void produce () {};
38 
39 protected:
41  const edm::IOVSyncValue& ,
43 
44  std::auto_ptr<HcalPedestals> producePedestals (const HcalPedestalsRcd& rcd);
45  std::auto_ptr<HcalPedestalWidths> producePedestalWidths (const HcalPedestalWidthsRcd& rcd);
46  std::auto_ptr<HcalGains> produceGains (const HcalGainsRcd& rcd);
47  std::auto_ptr<HcalGainWidths> produceGainWidths (const HcalGainWidthsRcd& rcd);
48  std::auto_ptr<HcalQIEData> produceQIEData (const HcalQIEDataRcd& rcd);
49  std::auto_ptr<HcalChannelQuality> produceChannelQuality (const HcalChannelQualityRcd& rcd);
50  std::auto_ptr<HcalElectronicsMap> produceElectronicsMap (const HcalElectronicsMapRcd& rcd);
51 
52  std::auto_ptr<HcalRespCorrs> produceRespCorrs (const HcalRespCorrsRcd& rcd);
53  std::auto_ptr<HcalZSThresholds> produceZSThresholds (const HcalZSThresholdsRcd& rcd);
54  std::auto_ptr<HcalL1TriggerObjects> produceL1TriggerObjects (const HcalL1TriggerObjectsRcd& rcd);
55  std::auto_ptr<HcalValidationCorrs> produceValidationCorrs (const HcalValidationCorrsRcd& rcd);
56  std::auto_ptr<HcalLutMetadata> produceLutMetadata (const HcalLutMetadataRcd& rcd);
57  std::auto_ptr<HcalDcsValues> produceDcsValues (const HcalDcsRcd& rcd);
58 
59  private:
60  std::map <std::string, std::string> mInputs;
61  std::map <std::string, std::string> mVersion;
62  std::map <std::string, int> mSubversion;
63  std::map <std::string, int> mIOVBegin;
64  std::map <std::string, std::string> mAccessor;
65  std::map <std::string, std::string> mQuery;
66 };
67 
std::auto_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
std::map< std::string, std::string > mQuery
std::auto_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
std::map< std::string, int > mSubversion
std::auto_ptr< HcalDcsValues > produceDcsValues(const HcalDcsRcd &rcd)
std::map< std::string, int > mIOVBegin
std::auto_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
HcalOmdsCalibrations(const edm::ParameterSet &)
std::auto_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
std::map< std::string, std::string > mAccessor
std::auto_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
std::map< std::string, std::string > mInputs
std::auto_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
std::map< std::string, std::string > mVersion
std::auto_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
std::auto_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
std::auto_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
std::auto_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
std::auto_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
std::auto_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)