CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibCalorimetry/HcalPlugins/src/HcalTextCalibrations.h

Go to the documentation of this file.
00001 //
00002 // Original Author:  Fedor Ratnikov Oct 21, 2005
00003 // $Id: HcalTextCalibrations.h,v 1.13 2011/02/15 10:41:19 rofierzy Exp $
00004 //
00005 //
00006 #include <map>
00007 #include <string>
00008 
00009 #include "FWCore/Framework/interface/ESProducer.h"
00010 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 
00013 #include "CondFormats/HcalObjects/interface/AllObjects.h"
00014 class ParameterSet;
00015 
00016 class HcalPedestalsRcd;
00017 class HcalPedestalWidthsRcd;
00018 class HcalGainsRcd;
00019 class HcalGainWidthsRcd;
00020 class HcalQIEDataRcd;
00021 class HcalChannelQualityRcd;
00022 class HcalElectronicsMapRcd;
00023 class HcalRespCorrsRcd;
00024 class HcalTimeCorrsRcd;
00025 class HcalLUTCorrsRcd;
00026 class HcalPFCorrsRcd;
00027 class HcalZSThresholdsRcd;
00028 class HcalL1TriggerObjectsRcd;
00029 class HcalValidationCorrsRcd;
00030 class HcalLutMetadataRcd;
00031 class HcalDcsRcd;
00032 class HcalDcsMapRcd;
00033 class HcalCholeskyMatricesRcd;
00034 class HcalCovarianceMatricesRcd;
00035 class HcalRecoParamsRcd;
00036 class HcalLongRecoParamsRcd;
00037 class HcalMCParamsRcd;
00038 
00039 class HcalTextCalibrations : public edm::ESProducer,
00040                        public edm::EventSetupRecordIntervalFinder
00041 {
00042 public:
00043   HcalTextCalibrations (const edm::ParameterSet& );
00044   ~HcalTextCalibrations ();
00045 
00046   void produce () {};
00047   
00048 protected:
00049   virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey&,
00050                               const edm::IOVSyncValue& , 
00051                               edm::ValidityInterval&) ;
00052 
00053   std::auto_ptr<HcalPedestals> producePedestals (const HcalPedestalsRcd& rcd);
00054   std::auto_ptr<HcalPedestalWidths> producePedestalWidths (const HcalPedestalWidthsRcd& rcd);
00055   std::auto_ptr<HcalGains> produceGains (const HcalGainsRcd& rcd);
00056   std::auto_ptr<HcalGainWidths> produceGainWidths (const HcalGainWidthsRcd& rcd);
00057   std::auto_ptr<HcalQIEData> produceQIEData (const HcalQIEDataRcd& rcd);
00058   std::auto_ptr<HcalChannelQuality> produceChannelQuality (const HcalChannelQualityRcd& rcd);
00059   std::auto_ptr<HcalElectronicsMap> produceElectronicsMap (const HcalElectronicsMapRcd& rcd);
00060 
00061   std::auto_ptr<HcalRespCorrs> produceRespCorrs (const HcalRespCorrsRcd& rcd);
00062   std::auto_ptr<HcalZSThresholds> produceZSThresholds (const HcalZSThresholdsRcd& rcd);
00063   std::auto_ptr<HcalL1TriggerObjects> produceL1TriggerObjects (const HcalL1TriggerObjectsRcd& rcd);
00064   std::auto_ptr<HcalTimeCorrs> produceTimeCorrs (const HcalTimeCorrsRcd& rcd);
00065   std::auto_ptr<HcalLUTCorrs> produceLUTCorrs (const HcalLUTCorrsRcd& rcd);
00066   std::auto_ptr<HcalPFCorrs> producePFCorrs (const HcalPFCorrsRcd& rcd);
00067 
00068   std::auto_ptr<HcalRecoParams> produceRecoParams (const HcalRecoParamsRcd& rcd);
00069   std::auto_ptr<HcalLongRecoParams> produceLongRecoParams (const HcalLongRecoParamsRcd& rcd);
00070   std::auto_ptr<HcalMCParams> produceMCParams (const HcalMCParamsRcd& rcd);
00071 
00072   std::auto_ptr<HcalValidationCorrs> produceValidationCorrs (const HcalValidationCorrsRcd& rcd);
00073   std::auto_ptr<HcalLutMetadata> produceLutMetadata (const HcalLutMetadataRcd& rcd);
00074   std::auto_ptr<HcalDcsValues> produceDcsValues (HcalDcsRcd const & rcd);
00075   std::auto_ptr<HcalDcsMap> produceDcsMap (const HcalDcsMapRcd& rcd);
00076   std::auto_ptr<HcalCholeskyMatrices> produceCholeskyMatrices (const HcalCholeskyMatricesRcd& rcd);
00077   std::auto_ptr<HcalCovarianceMatrices> produceCovarianceMatrices (const HcalCovarianceMatricesRcd& rcd);
00078 
00079  private:
00080   std::map <std::string, std::string> mInputs;
00081 };
00082