Go to the documentation of this file.00001 #ifndef RECOMET_METPRODUCERS_HCALHALODATAPRODUCER_H
00002 #define RECOMET_METPRODUCERS_HCALHALODATAPRODUCER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
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
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
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/EDProduct.h"
00041 #include "DataFormats/Common/interface/Handle.h"
00042 #include "DataFormats/Common/interface/View.h"
00043 #include "DataFormats/Common/interface/TriggerResults.h"
00044 #include "DataFormats/DetId/interface/DetId.h"
00045 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00046 #include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
00047 #include "DataFormats/GeometrySurface/interface/Cylinder.h"
00048 #include "DataFormats/GeometrySurface/interface/Plane.h"
00049 #include "DataFormats/GeometrySurface/interface/Cone.h"
00050 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00051 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00052 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00053 #include "DataFormats/GeometryVector/interface/LocalVector.h"
00054 #include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
00055 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00056 #include "DataFormats/HcalRecHit/interface/HBHERecHit.h"
00057 #include "DataFormats/HcalRecHit/interface/HFRecHit.h"
00058 #include "DataFormats/HcalRecHit/interface/HORecHit.h"
00059 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h"
00060
00061 #include "FWCore/Framework/interface/Frameworkfwd.h"
00062 #include "FWCore/Framework/interface/Event.h"
00063 #include "FWCore/Framework/interface/MakerMacros.h"
00064 #include "FWCore/Framework/interface/EventSetup.h"
00065 #include "FWCore/Framework/interface/ESHandle.h"
00066 #include "FWCore/Framework/interface/EDProducer.h"
00067
00068 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00069 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00070 #include "FWCore/PluginManager/interface/ModuleDef.h"
00071
00072 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
00073 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00074 #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
00075 #include "Geometry/Records/interface/CaloGeometryRecord.h"
00076 #include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
00077 #include "MagneticField/Engine/interface/MagneticField.h"
00078
00079 #include "TrackingTools/GeomPropagators/interface/Propagator.h"
00080 #include "TrackingTools/GeomPropagators/interface/AnalyticalPropagator.h"
00081 #include "TrackPropagation/SteppingHelixPropagator/interface/SteppingHelixPropagator.h"
00082 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00083
00084 namespace reco
00085 {
00086 class HcalHaloDataProducer : public edm::EDProducer {
00087
00088 public:
00089 explicit HcalHaloDataProducer(const edm::ParameterSet&);
00090 ~HcalHaloDataProducer();
00091
00092 private:
00093
00094 virtual void beginJob() ;
00095 virtual void endJob() ;
00096 virtual void produce(edm::Event&, const edm::EventSetup&);
00097 virtual void beginRun(edm::Run&, const edm::EventSetup&);
00098 virtual void endRun(edm::Run&, const edm::EventSetup&);
00099
00100
00101 edm::InputTag IT_HBHERecHit;
00102 edm::InputTag IT_HORecHit;
00103 edm::InputTag IT_HFRecHit;
00104
00105 float HBRecHitEnergyThreshold;
00106 float HERecHitEnergyThreshold;
00107 float SumHcalEnergyThreshold;
00108 int NHitsHcalThreshold;
00109 };
00110 }
00111
00112 #endif
00113