CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
14 
17 
18 //#include "DataFormats/Common/interface/Provenance.h"
19 
24 // L1Extra
28 //vertices
32 
36 //#include "DataFormats/L1GlobalTrigger/interface/L1GtLogicParser.h"
37 
40 
42 
43 public:
44 
47 
48 
49  virtual void beginJob ();
50  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
51  virtual void produce(edm::Event& evt, const edm::EventSetup& es);
52 
53  double getDistInCM(double eta1, double phi1, double eta2, double phi2);
54  std::pair<double, double> GetEtaPhiAtEcal(double etaIP, double phiIP, double pT, int charge, double vtxZ);
55 
56 private:
57  struct seedAtEC {
58  seedAtEC(unsigned int i, bool f, double et, double fi) {index=i; ok=f;
59  eta=et; phi=fi;}
60  unsigned int index;
61  bool ok;
62  double eta, phi;
63  };
64  std::vector<edm::InputTag> pixelTracksSources_;
69 
70  std::vector<edm::EDGetTokenT<reco::TrackCollection> > toks_pix_;
71 
72  double prelimCone_;
74  double vtxCutSeed_;
75  double vtxCutIsol_;
76  double tauAssocCone_;
81  double rEB_;
82  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)
int i
Definition: DBlmapReader.cc:9
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
IsolatedPixelTrackCandidateProducer(const edm::ParameterSet &ps)
std::vector< edm::EDGetTokenT< reco::TrackCollection > > toks_pix_
edm::EDGetTokenT< reco::VertexCollection > tok_vert_
seedAtEC(unsigned int i, bool f, double et, double fi)
edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_l1_
double f[11][100]
virtual void produce(edm::Event &evt, const edm::EventSetup &es)
double getDistInCM(double eta1, double phi1, double eta2, double phi2)
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > tok_hlt_
Definition: Run.h:41