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 
15 
18 
19 //#include "DataFormats/Common/interface/Provenance.h"
20 
25 // L1Extra
28 // l1t
32 //vertices
36 
40 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
41 
44 
46 public:
49 
50  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
51 
52  void beginRun(const edm::Run&, const edm::EventSetup&) override;
53  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 #endif
void produce(edm::Event &evt, const edm::EventSetup &es) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
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)
et
define resolution functions of each parameter
Definition: Run.h:45
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_