CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/CondTools/SiStrip/plugins/SiStripCablingTrackerMap.h

Go to the documentation of this file.
00001 #ifndef SiStripCablingTrackerMap_h
00002 #define SiStripCablingTrackerMap_h
00003 
00004 #include "FWCore/Utilities/interface/Exception.h"
00005 #include "FWCore/Framework/interface/EDAnalyzer.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 #include "FWCore/Framework/interface/ESHandle.h"
00009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00010 
00011 #include "CommonTools/TrackerMap/interface/TrackerMap.h"
00012 #include "CalibTracker/Records/interface/SiStripDetCablingRcd.h"
00013 
00014 #include "CalibFormats/SiStripObjects/interface/SiStripDetCabling.h"
00015 
00016 class SiStripCablingTrackerMap : public edm::EDAnalyzer
00017 {
00018   
00019  public:
00020   
00021   SiStripCablingTrackerMap(const edm::ParameterSet& conf);
00022   ~SiStripCablingTrackerMap();
00023   
00024   void beginRun(const edm::Run& run,  const edm::EventSetup& es );
00025   
00026   void endJob();
00027   
00028   void analyze(const edm::Event& e, const edm::EventSetup& c);
00029   
00030  private:
00031   
00032   edm::ParameterSet conf_;
00033   edm::ESHandle<SiStripDetCabling> SiStripDetCabling_;
00034   
00035   TrackerMap* tkMap_detCab;//0 for onTrack, 1 for offTrack, 2 for All  
00036 };
00037 
00038 #endif