Go to the documentation of this file.00001 #ifndef Calibration_IsolatedPixelTrackCandidateProducer_h
00002 #define Calibration_IsolatedPixelTrackCandidateProducer_h
00003
00004
00005
00006
00007
00008
00009 #include "FWCore/Framework/interface/Frameworkfwd.h"
00010 #include "FWCore/Framework/interface/EDProducer.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 #include "FWCore/Framework/interface/Event.h"
00013 #include "FWCore/Framework/interface/EventSetup.h"
00014
00015 #include "DataFormats/Common/interface/Ref.h"
00016 #include "DataFormats/DetId/interface/DetId.h"
00017
00018
00019
00020 #include "DataFormats/TrackReco/interface/Track.h"
00021 #include "DataFormats/L1Trigger/interface/L1JetParticle.h"
00022 #include "DataFormats/HcalIsolatedTrack/interface/IsolatedPixelTrackCandidate.h"
00023
00024 class IsolatedPixelTrackCandidateProducer : public edm::EDProducer {
00025
00026 public:
00027
00028 IsolatedPixelTrackCandidateProducer (const edm::ParameterSet& ps);
00029 ~IsolatedPixelTrackCandidateProducer();
00030
00031
00032 virtual void beginRun(const edm::Run&, const edm::EventSetup&) override;
00033 virtual void produce(edm::Event& evt, const edm::EventSetup& es) override;
00034
00035 double getDistInCM(double eta1, double phi1, double eta2, double phi2);
00036 std::pair<double, double> GetEtaPhiAtEcal(const edm::EventSetup& iSetup, double etaIP, double phiIP, double pT, int charge, double vtxZ);
00037
00038 private:
00039
00040 edm::InputTag hltGTseedlabel_;
00041 edm::InputTag l1eTauJetsSource_;
00042 std::vector<edm::InputTag> pixelTracksSources_;
00043 edm::InputTag vertexLabel_;
00044 edm::ParameterSet parameters;
00045
00046 double prelimCone_;
00047 double pixelIsolationConeSizeAtEC_;
00048 double vtxCutSeed_;
00049 double vtxCutIsol_;
00050 double tauAssocCone_;
00051 double tauUnbiasCone_;
00052 std::string bfield_;
00053 double minPTrackValue_;
00054 double maxPForIsolationValue_;
00055 double rEB_;
00056 double zEE_;
00057 double ebEtaBoundary_;
00058 };
00059
00060
00061 #endif