CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoMET/METProducers/interface/HcalHaloDataProducer.h

Go to the documentation of this file.
00001 #ifndef RECOMET_METPRODUCERS_HCALHALODATAPRODUCER_H
00002 #define RECOMET_METPRODUCERS_HCALHALODATAPRODUCER_H
00003 
00004 /*
00005   [class]:  HcalHaloDataProducer
00006   [authors]: R. Remington, The University of Florida
00007   [description]: EDProducer which runs HcalHaloAlgo and stores HcalHaloData object to the event. 
00008   [date]: October 15, 2009
00009 */  
00010 
00011 
00012 //Standard C++ classes
00013 #include <iostream>
00014 #include <string>
00015 #include <map>
00016 #include <vector>
00017 #include <utility>
00018 #include <ostream>
00019 #include <fstream>
00020 #include <algorithm>
00021 #include <cmath>
00022 #include <memory>
00023 #include <iomanip>
00024 #include <cstdlib>
00025 
00026 // user include files
00027 #include "FWCore/Framework/interface/Frameworkfwd.h"
00028 #include "FWCore/Framework/interface/EDProducer.h"
00029 #include "FWCore/Framework/interface/Event.h"
00030 #include "FWCore/Framework/interface/MakerMacros.h"
00031 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00032 
00033 #include "DataFormats/METReco/interface/HcalHaloData.h"
00034 #include "RecoMET/METAlgorithms/interface/HcalHaloAlgo.h"
00035 //Included Classes (semi-alphabetical)
00036 #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
00037 #include "DataFormats/Candidate/interface/CandidateFwd.h"
00038 #include "DataFormats/Candidate/interface/Candidate.h"
00039 #include "DataFormats/CLHEP/interface/AlgebraicObjects.h"
00040 #include "DataFormats/Common/interface/Handle.h"
00041 #include "DataFormats/Common/interface/View.h"
00042 #include "DataFormats/Common/interface/TriggerResults.h"
00043 #include "DataFormats/DetId/interface/DetId.h"
00044 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00045 #include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
00046 #include "DataFormats/GeometrySurface/interface/Cylinder.h"
00047 #include "DataFormats/GeometrySurface/interface/Plane.h"
00048 #include "DataFormats/GeometrySurface/interface/Cone.h"
00049 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00050 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00051 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00052 #include "DataFormats/GeometryVector/interface/LocalVector.h"
00053 #include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
00054 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00055 #include "DataFormats/HcalRecHit/interface/HBHERecHit.h"
00056 #include "DataFormats/HcalRecHit/interface/HFRecHit.h"
00057 #include "DataFormats/HcalRecHit/interface/HORecHit.h"
00058 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
00059 
00060 #include "FWCore/Framework/interface/Frameworkfwd.h"
00061 #include "FWCore/Framework/interface/Event.h"
00062 #include "FWCore/Framework/interface/MakerMacros.h"
00063 #include "FWCore/Framework/interface/EventSetup.h"
00064 #include "FWCore/Framework/interface/ESHandle.h"
00065 #include "FWCore/Framework/interface/EDProducer.h"
00066 
00067 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00068 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00069 #include "FWCore/PluginManager/interface/ModuleDef.h"
00070 
00071 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
00072 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00073 #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
00074 #include "Geometry/Records/interface/CaloGeometryRecord.h"
00075 #include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
00076 #include "MagneticField/Engine/interface/MagneticField.h"
00077 
00078 #include "TrackingTools/GeomPropagators/interface/Propagator.h"
00079 #include "TrackingTools/GeomPropagators/interface/AnalyticalPropagator.h"
00080 #include "TrackPropagation/SteppingHelixPropagator/interface/SteppingHelixPropagator.h"
00081 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00082 
00083 namespace reco
00084 {
00085   class HcalHaloDataProducer : public edm::EDProducer {
00086     
00087   public:
00088     explicit HcalHaloDataProducer(const edm::ParameterSet&);
00089     ~HcalHaloDataProducer();
00090     
00091   private:
00092     
00093     virtual void beginJob() ;
00094     virtual void endJob() ;
00095     virtual void produce(edm::Event&, const edm::EventSetup&);
00096     virtual void beginRun(edm::Run&, const edm::EventSetup&);
00097     virtual void endRun(edm::Run&, const edm::EventSetup&);
00098     
00099     //RecHit Level
00100     edm::InputTag IT_HBHERecHit;
00101     edm::InputTag IT_HORecHit;
00102     edm::InputTag IT_HFRecHit;
00103 
00104     float HBRecHitEnergyThreshold;
00105     float HERecHitEnergyThreshold;
00106     float SumHcalEnergyThreshold;
00107     int NHitsHcalThreshold;
00108   };
00109 }
00110 
00111 #endif
00112