CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
15  const reco::Vertex& pv,
16  const reco::Jet& jet, /*GlobalVector jetdirection,*/
17  float mass,
18  const std::pair<bool, Measurement1D>& ip,
19  const std::pair<bool, Measurement1D>& ip2d,
20  float jet_distance,
21  float jaxis_dlength,
22  HistogramProbabilityEstimator* m_probabilityEstimator,
23  bool m_computeProbabilities);
24 
25  const float pt() const { return pt_; }
26  const float eta() const { return eta_; }
27  const float phi() const { return phi_; }
28  const float mass() const { return mass_; }
29  const float dz() const { return dz_; }
30  const float dxy() const { return dxy_; }
31  const float ip3d() const { return ip3D_; }
32  const float sip3d() const { return sip3D_; }
33  const float ip2d() const { return ip2D_; }
34  const float sip2d() const { return sip2D_; }
35  const float ip3d_Signed() const { return ip3D_signed_; }
36  const float sip3d_Signed() const { return sip3D_signed_; }
37  const float ip2d_Signed() const { return ip2D_signed_; }
38  const float sip2d_Signed() const { return sip2D_signed_; }
39  const float chi2reduced() const { return chi2reduced_; }
40  const float nPixelHits() const { return nPixelHits_; }
41  const float nHits() const { return nHits_; }
42  const float jetAxisDistance() const { return jetAxisDistance_; }
43  const float jetAxisDlength() const { return jetAxisDlength_; }
44  const float trackProbability3D() const { return trackProbability3D_; }
45  const float trackProbability2D() const { return trackProbability2D_; }
46 
47  private:
48  float pt_;
49  float eta_;
50  float phi_;
51  float mass_;
52  float dz_;
53  float dxy_;
54  float ip3D_;
55  float sip3D_;
56  float ip2D_;
57  float sip2D_;
58  float ip3D_signed_;
60  float ip2D_signed_;
62  float chi2reduced_;
63  float nPixelHits_;
64  float nHits_;
69  };
70 } // namespace btagbtvdeep
71 
72 #endif //RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
Base class for all types of Jets.
Definition: Jet.h:20
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)