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 // $Id$
5 //
6 //
7 #include <map>
8 #include <string>
9 
13 
15 class ParameterSet;
16 
17 class HcalPedestalsRcd;
19 class HcalGainsRcd;
20 class HcalGainWidthsRcd;
21 class HcalQIEDataRcd;
24 class HcalRespCorrsRcd;
28 class HcalLutMetadataRcd;
29 class HcalDcsRcd;
30 
33 {
34 public:
37 
38  void produce () {};
39 
40 protected:
42  const edm::IOVSyncValue& ,
44 
45  std::auto_ptr<HcalPedestals> producePedestals (const HcalPedestalsRcd& rcd);
46  std::auto_ptr<HcalPedestalWidths> producePedestalWidths (const HcalPedestalWidthsRcd& rcd);
47  std::auto_ptr<HcalGains> produceGains (const HcalGainsRcd& rcd);
48  std::auto_ptr<HcalGainWidths> produceGainWidths (const HcalGainWidthsRcd& rcd);
49  std::auto_ptr<HcalQIEData> produceQIEData (const HcalQIEDataRcd& rcd);
50  std::auto_ptr<HcalChannelQuality> produceChannelQuality (const HcalChannelQualityRcd& rcd);
51  std::auto_ptr<HcalElectronicsMap> produceElectronicsMap (const HcalElectronicsMapRcd& rcd);
52 
53  std::auto_ptr<HcalRespCorrs> produceRespCorrs (const HcalRespCorrsRcd& rcd);
54  std::auto_ptr<HcalZSThresholds> produceZSThresholds (const HcalZSThresholdsRcd& rcd);
55  std::auto_ptr<HcalL1TriggerObjects> produceL1TriggerObjects (const HcalL1TriggerObjectsRcd& rcd);
56  std::auto_ptr<HcalValidationCorrs> produceValidationCorrs (const HcalValidationCorrsRcd& rcd);
57  std::auto_ptr<HcalLutMetadata> produceLutMetadata (const HcalLutMetadataRcd& rcd);
58  std::auto_ptr<HcalDcsValues> produceDcsValues (const HcalDcsRcd& rcd);
59 
60  private:
61  std::map <std::string, std::string> mInputs;
62  std::map <std::string, std::string> mVersion;
63  std::map <std::string, int> mSubversion;
64  std::map <std::string, int> mIOVBegin;
65  std::map <std::string, std::string> mAccessor;
66  std::map <std::string, std::string> mQuery;
67 };
68 
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)