CMS 3D CMS Logo

SeedingTrackInfoBuilder.h
Go to the documentation of this file.
1 #ifndef RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
2 #define RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
3 
7 
8 namespace btagbtvdeep{
9 
11 public:
13 
14  void buildSeedingTrackInfo(const reco::TransientTrack * it , const reco::Vertex & pv, const reco::Jet & jet,/*GlobalVector jetdirection,*/
15  float mass, const std::pair<bool,Measurement1D> & ip, const std::pair<bool,Measurement1D> & ip2d,
16  float jet_distance, float jaxis_dlength, HistogramProbabilityEstimator* m_probabilityEstimator, bool m_computeProbabilities);
17 
18  const float pt() const {return pt_;}
19  const float eta() const {return eta_;}
20  const float phi() const {return phi_;}
21  const float mass() const {return mass_;}
22  const float dz() const {return dz_;}
23  const float dxy() const {return dxy_;}
24  const float ip3d() const {return ip3D_;}
25  const float sip3d() const {return sip3D_;}
26  const float ip2d() const {return ip2D_;}
27  const float sip2d() const {return sip2D_;}
28  const float ip3d_Signed() const {return ip3D_signed_;}
29  const float sip3d_Signed() const {return sip3D_signed_;}
30  const float ip2d_Signed() const {return ip2D_signed_;}
31  const float sip2d_Signed() const {return sip2D_signed_;}
32  const float chi2reduced() const {return chi2reduced_;}
33  const float nPixelHits() const {return nPixelHits_;}
34  const float nHits() const {return nHits_;}
35  const float jetAxisDistance() const {return jetAxisDistance_;}
36  const float jetAxisDlength() const {return jetAxisDlength_;}
37  const float trackProbability3D() const {return trackProbability3D_;}
38  const float trackProbability2D() const {return trackProbability2D_;}
39 
40 
41 private:
42 
43  float pt_;
44  float eta_;
45  float phi_;
46  float mass_;
47  float dz_;
48  float dxy_;
49  float ip3D_;
50  float sip3D_;
51  float ip2D_;
52  float sip2D_;
53  float ip3D_signed_;
55  float ip2D_signed_;
57  float chi2reduced_;
58  float nPixelHits_;
59  float nHits_;
64 
65 
66 
67 };
68 }
69 
70 #endif //RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
Base class for all types of Jets.
Definition: Jet.h:20
def pv(vc)
Definition: MetAnalyzer.py:7
void buildSeedingTrackInfo(const reco::TransientTrack *it, const reco::Vertex &pv, const reco::Jet &jet, float mass, const std::pair< bool, Measurement1D > &ip, const std::pair< bool, Measurement1D > &ip2d, float jet_distance, float jaxis_dlength, HistogramProbabilityEstimator *m_probabilityEstimator, bool m_computeProbabilities)