test
CMS 3D CMS Logo

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