CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/Calibration/HcalIsolatedTrackReco/interface/ECALRegFEDSelector.h

Go to the documentation of this file.
00001 #ifndef Calibration_ECALRegFEDSelector_h
00002 #define Calibration_ECALRegFEDSelector_h
00003 
00004 // system include files
00005 #include <memory>
00006 
00007 // user include files
00008 #include "FWCore/Framework/interface/Frameworkfwd.h"
00009 #include "FWCore/Framework/interface/EDProducer.h"
00010 
00011 #include "FWCore/Framework/interface/Event.h"
00012 #include "FWCore/Framework/interface/MakerMacros.h"
00013 
00014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00015 #include "FWCore/Framework/interface/ESHandle.h"
00016 
00017 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
00018 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
00019 #include "DataFormats/FEDRawData/interface/FEDNumbering.h"
00020 
00021 #include "DataFormats/EcalDetId/interface/EcalDetIdCollections.h"
00022 
00023 #include "Geometry/EcalMapping/interface/EcalElectronicsMapping.h"
00024 #include "Geometry/EcalMapping/interface/EcalMappingRcd.h"
00025 #include "RecoEcal/EgammaCoreTools/interface/EcalEtaPhiRegion.h"
00026 
00027 #include "DataFormats/EcalRawData/interface/EcalListOfFEDS.h"
00028 
00029 class ECALRegFEDSelector : public edm::EDProducer {
00030  public:
00031   ECALRegFEDSelector(const edm::ParameterSet&);
00032   ~ECALRegFEDSelector();
00033   const EcalElectronicsMapping* ec_mapping;
00034 
00035   edm::InputTag seedLabel_;
00036   double delta_;
00037   bool fedSaved[1200];
00038   
00039   edm::InputTag rawInLabel_;
00040   
00041  private:
00042   virtual void beginJob() ;
00043   virtual void produce(edm::Event&, const edm::EventSetup&);
00044   virtual void endJob() ;
00045   
00046 };
00047 
00048 #endif
00049