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