CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/CalibMuon/CSCCalibration/interface/CSCNoiseMatrixConditions.h

Go to the documentation of this file.
00001 #ifndef _CSCNOISEMATRIXCONDITIONS_H
00002 #define _CSCNOISEMATRIXCONDITIONS_H
00003 
00004 #include <memory>
00005 #include "FWCore/Framework/interface/SourceFactory.h"
00006 #include "FWCore/Framework/interface/Frameworkfwd.h"
00007 #include "FWCore/Framework/interface/ESProducer.h"
00008 #include "FWCore/Framework/interface/Event.h"
00009 #include "FWCore/Framework/interface/MakerMacros.h"
00010 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
00011 #include "FWCore/Framework/interface/ESHandle.h"
00012 #include "FWCore/Framework/interface/EventSetup.h"
00013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00014 
00015 #include <DataFormats/MuonDetId/interface/CSCDetId.h>
00016 #include "CondFormats/CSCObjects/interface/CSCNoiseMatrix.h"
00017 #include "CondFormats/DataRecord/interface/CSCNoiseMatrixRcd.h"
00018 
00019 class CSCNoiseMatrixConditions: public edm::ESProducer, public edm::EventSetupRecordIntervalFinder  {
00020  public:
00021   CSCNoiseMatrixConditions(const edm::ParameterSet&);
00022   ~CSCNoiseMatrixConditions();
00023   
00024   static CSCNoiseMatrix * prefillNoiseMatrix();
00025   
00026 
00027   typedef const  CSCNoiseMatrix * ReturnType;
00028   
00029   ReturnType produceNoiseMatrix(const CSCNoiseMatrixRcd&);
00030   
00031  private:
00032   // ----------member data ---------------------------
00033   void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue&, edm::ValidityInterval & );
00034   CSCNoiseMatrix *cnMatrix ;
00035 
00036 };
00037 
00038 #endif