CMS 3D CMS Logo

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 
47 public:
48 
51 
52  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
53 
54  void beginRun(const edm::Run&, const edm::EventSetup&) override;
55  void produce(edm::Event& evt, const edm::EventSetup& es) override;
56 
57  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
58  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
59 
60 private:
61  struct seedAtEC {
62  seedAtEC(unsigned int i, bool f, double et, double fi) : index(i), ok(f), eta(et), phi(fi) { }
63  unsigned int index;
64  bool ok;
65  double eta, phi;
66  };
67 
71  const std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
72 
74  const double prelimCone_;
76  const double vtxCutSeed_;
77  const double vtxCutIsol_;
78  const double tauAssocCone_;
79  const double tauUnbiasCone_;
80  const double minPTrackValue_;
81  const double maxPForIsolationValue_;
82  const double ebEtaBoundary_;
83 
84  // these are read from the EventSetup, cannot be const
85  double rEB_;
86  double zEE_;
87  double bfVal_;
88 };
89 
90 
91 #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:44
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_