CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IsolatedPixelTrackCandidateProducer.h
Go to the documentation of this file.
1 #ifndef Calibration_IsolatedPixelTrackCandidateProducer_h
2 #define Calibration_IsolatedPixelTrackCandidateProducer_h
3 
4 /* \class IsolatedPixelTrackCandidateProducer
5  *
6  *
7  */
8 
14 
17 
18 //#include "DataFormats/Common/interface/Provenance.h"
19 
24 // L1Extra
28 //vertices
32 
36 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
37 
40 
42 
43 public:
44 
47 
48 
49  virtual void beginRun(const edm::Run&, const edm::EventSetup&) override;
50  virtual void produce(edm::Event& evt, const edm::EventSetup& es) override;
51 
52  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
53  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
54 
55 private:
56  struct seedAtEC {
57  seedAtEC(unsigned int i, bool f, double et, double fi) : index(i), ok(f), eta(et), phi(fi) { }
58  unsigned int index;
59  bool ok;
60  double eta, phi;
61  };
62 
66  const std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
67 
69  const double prelimCone_;
71  const double vtxCutSeed_;
72  const double vtxCutIsol_;
73  const double tauAssocCone_;
74  const double tauUnbiasCone_;
75  const double minPTrackValue_;
76  const double maxPForIsolationValue_;
77  const double ebEtaBoundary_;
78 
79  // these are read from the EventSetup, cannot be const
80  double rEB_;
81  double zEE_;
82  double bfVal_;
83 };
84 
85 
86 #endif
std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
int i
Definition: DBlmapReader.cc:9
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
virtual void beginRun(const edm::Run &, const edm::EventSetup &) override
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_
const edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_l1_
IsolatedPixelTrackCandidateProducer(const edm::ParameterSet &ps)
seedAtEC(unsigned int i, bool f, double et, double fi)
double f[11][100]
const edm::EDGetTokenT< reco::VertexCollection > tok_vert_
double getDistInCM(double eta1, double phi1, double eta2, double phi2)
virtual void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: Run.h:43