Go to the documentation of this file.00001 #ifndef RECOMET_METPRODUCERS_ECALHALODATAPRODUCER_H
00002 #define RECOMET_METPRODUCERS_ECALHALODATAPRODUCER_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/EcalHaloData.h"
00034 #include "RecoMET/METAlgorithms/interface/EcalHaloAlgo.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/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/EcalDetId/interface/EcalSubdetector.h"
00045 #include "DataFormats/EcalDetId/interface/EBDetId.h"
00046 #include "DataFormats/EcalDetId/interface/EEDetId.h"
00047 #include "DataFormats/EcalDetId/interface/ESDetId.h"
00048 #include "DataFormats/EcalDigi/interface/ESDataFrame.h"
00049 #include "DataFormats/EcalDigi/interface/EEDataFrame.h"
00050 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00051 #include "DataFormats/EcalRecHit/interface/EcalRecHit.h"
00052 #include "DataFormats/EgammaCandidates/interface/Conversion.h"
00053 #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
00054 #include "DataFormats/EgammaCandidates/interface/Photon.h"
00055 #include "DataFormats/EgammaCandidates/interface/PhotonFwd.h"
00056 #include "DataFormats/HepMCCandidate/interface/PdfInfo.h"
00057 #include "DataFormats/GeometrySurface/interface/Cylinder.h"
00058 #include "DataFormats/GeometrySurface/interface/Plane.h"
00059 #include "DataFormats/GeometrySurface/interface/Cone.h"
00060 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00061 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
00062 #include "DataFormats/GeometryVector/interface/LocalPoint.h"
00063 #include "DataFormats/GeometryVector/interface/LocalVector.h"
00064 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00065 #include "DataFormats/TrackReco/interface/Track.h"
00066 #include "DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h"
00067
00068 #include "FWCore/Framework/interface/Frameworkfwd.h"
00069 #include "FWCore/Framework/interface/Event.h"
00070 #include "FWCore/Framework/interface/MakerMacros.h"
00071 #include "FWCore/Framework/interface/EventSetup.h"
00072 #include "FWCore/Framework/interface/ESHandle.h"
00073 #include "FWCore/Framework/interface/EDProducer.h"
00074
00075 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00076 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00077 #include "FWCore/PluginManager/interface/ModuleDef.h"
00078
00079 #include "Geometry/CaloGeometry/interface/CaloSubdetectorGeometry.h"
00080 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
00081 #include "Geometry/CaloGeometry/interface/CaloCellGeometry.h"
00082 #include "Geometry/CommonDetUnit/interface/GeomDet.h"
00083 #include "Geometry/Records/interface/CaloGeometryRecord.h"
00084 #include "MagneticField/Records/interface/IdealMagneticFieldRecord.h"
00085 #include "MagneticField/Engine/interface/MagneticField.h"
00086
00087 #include "TrackingTools/GeomPropagators/interface/AnalyticalPropagator.h"
00088 #include "TrackPropagation/SteppingHelixPropagator/interface/SteppingHelixPropagator.h"
00089 #include "TrackingTools/TransientTrack/interface/TransientTrack.h"
00090
00091 namespace reco
00092 {
00093 class EcalHaloDataProducer : public edm::EDProducer {
00094
00095 public:
00096 explicit EcalHaloDataProducer(const edm::ParameterSet&);
00097 ~EcalHaloDataProducer();
00098
00099 private:
00100
00101 virtual void produce(edm::Event&, const edm::EventSetup&) override;
00102
00103
00104 edm::InputTag IT_EBRecHit;
00105 edm::InputTag IT_EERecHit;
00106 edm::InputTag IT_ESRecHit;
00107
00108
00109 edm::InputTag IT_SuperCluster;
00110 edm::InputTag IT_Photon;
00111
00112 float EBRecHitEnergyThreshold;
00113 float EERecHitEnergyThreshold;
00114 float ESRecHitEnergyThreshold;
00115 float SumEcalEnergyThreshold;
00116 int NHitsEcalThreshold;
00117
00118 double RoundnessCut;
00119 double AngleCut;
00120 };
00121 }
00122
00123 #endif
00124