CMS 3D CMS Logo

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 
15 
18 
19 //#include "DataFormats/Common/interface/Provenance.h"
20 
25 // L1Extra
29 //vertices
33 
37 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
38 
41 
43 public:
46 
47  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
48 
49  void beginRun(const edm::Run&, const edm::EventSetup&) override;
50  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 #endif
std::pair< double, double > GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ)
const std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
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)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
seedAtEC(unsigned int i, bool f, double et, double fi)
double f[11][100]
const edm::EDGetTokenT< reco::VertexCollection > tok_vert_
et
define resolution functions of each parameter
double getDistInCM(double eta1, double phi1, double eta2, double phi2)
void produce(edm::Event &evt, const edm::EventSetup &es) override
Definition: Run.h:45