CMS 3D CMS Logo

TrackPairInfoBuilder.h
Go to the documentation of this file.
1 #ifndef RecoBTag_FeatureTools_TrackPairInfoBuilder_h
2 #define RecoBTag_FeatureTools_TrackPairInfoBuilder_h
3 
8 
9 namespace btagbtvdeep {
10 
12  public:
14 
16  const reco::TransientTrack* tt,
17  const reco::Vertex& pv,
18  float mass,
19  GlobalVector jetdirection,
20  const std::pair<bool, Measurement1D>& t_ip,
21  const std::pair<bool, Measurement1D>& t_ip2d);
22 
23  const float track_pt() const { return track_pt_; }
24  const float track_eta() const { return track_eta_; }
25  const float track_phi() const { return track_phi_; }
26  const float track_dz() const { return track_dz_; }
27  const float track_dxy() const { return track_dxy_; }
28  const float pca_distance() const { return pca_distance_; }
29  const float pca_significance() const { return pca_significance_; }
30  const float pcaSeed_x() const { return pcaSeed_x_; }
31  const float pcaSeed_y() const { return pcaSeed_y_; }
32  const float pcaSeed_z() const { return pcaSeed_z_; }
33  const float pcaSeed_xerr() const { return pcaSeed_xerr_; }
34  const float pcaSeed_yerr() const { return pcaSeed_yerr_; }
35  const float pcaSeed_zerr() const { return pcaSeed_zerr_; }
36  const float pcaTrack_x() const { return pcaTrack_x_; }
37  const float pcaTrack_y() const { return pcaTrack_y_; }
38  const float pcaTrack_z() const { return pcaTrack_z_; }
39  const float pcaTrack_xerr() const { return pcaTrack_xerr_; }
40  const float pcaTrack_yerr() const { return pcaTrack_yerr_; }
41  const float pcaTrack_zerr() const { return pcaTrack_zerr_; }
42  const float dotprodTrack() const { return dotprodTrack_; }
43  const float dotprodSeed() const { return dotprodSeed_; }
44  const float pcaSeed_dist() const { return pcaSeed_dist_; }
45  const float pcaTrack_dist() const { return pcaTrack_dist_; }
46  const float track_candMass() const { return track_candMass_; }
47  const float track_ip2d() const { return track_ip2d_; }
48  const float track_ip2dSig() const { return track_ip2dSig_; }
49  const float track_ip3d() const { return track_ip3d_; }
50  const float track_ip3dSig() const { return track_ip3dSig_; }
51  const float dotprodTrackSeed2D() const { return dotprodTrackSeed2D_; }
52  const float dotprodTrackSeed2DV() const { return dotprodTrackSeed2DV_; }
53  const float dotprodTrackSeed3D() const { return dotprodTrackSeed3D_; }
54  const float dotprodTrackSeed3DV() const { return dotprodTrackSeed3DV_; }
55  const float pca_jetAxis_dist() const { return pca_jetAxis_dist_; }
56  const float pca_jetAxis_dotprod() const { return pca_jetAxis_dotprod_; }
57  const float pca_jetAxis_dEta() const { return pca_jetAxis_dEta_; }
58  const float pca_jetAxis_dPhi() const { return pca_jetAxis_dPhi_; }
59 
60  private:
61  float track_pt_;
62  float track_eta_;
63  float track_phi_;
64  float track_dz_;
65  float track_dxy_;
68  float pcaSeed_x_;
69  float pcaSeed_y_;
70  float pcaSeed_z_;
74  float pcaTrack_x_;
75  float pcaTrack_y_;
76  float pcaTrack_z_;
81  float dotprodSeed_;
85  float track_ip2d_;
87  float track_ip3d_;
97  };
98 
99 } // namespace btagbtvdeep
100 
101 #endif //RecoBTag_FeatureTools_TrackPairInfoBuilder_h
def pv(vc)
Definition: MetAnalyzer.py:7
void buildTrackPairInfo(const reco::TransientTrack *it, const reco::TransientTrack *tt, const reco::Vertex &pv, float mass, GlobalVector jetdirection, const std::pair< bool, Measurement1D > &t_ip, const std::pair< bool, Measurement1D > &t_ip2d)