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 beginJob ();
00033 virtual void beginRun(edm::Run&, const edm::EventSetup&);
00034 virtual void produce(edm::Event& evt, const edm::EventSetup& es);
00035
00036 double getDistInCM(double eta1, double phi1, double eta2, double phi2);
00037 std::pair<double, double> GetEtaPhiAtEcal(const edm::EventSetup& iSetup, double etaIP, double phiIP, double pT, int charge, double vtxZ);
00038
00039 private:
00040
00041 edm::InputTag hltGTseedlabel_;
00042 edm::InputTag l1eTauJetsSource_;
00043 std::vector<edm::InputTag> pixelTracksSources_;
00044 edm::InputTag vertexLabel_;
00045 edm::ParameterSet parameters;
00046
00047 double prelimCone_;
00048 double pixelIsolationConeSizeAtEC_;
00049 double vtxCutSeed_;
00050 double vtxCutIsol_;
00051 double tauAssocCone_;
00052 double tauUnbiasCone_;
00053 std::string bfield_;
00054 double minPTrackValue_;
00055 double maxPForIsolationValue_;
00056 double rEB_;
00057 double zEE_;
00058 double ebEtaBoundary_;
00059 };
00060
00061
00062 #endif