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 
10 namespace btagbtvdeep{
11 
13 public:
15 
16  void buildTrackPairInfo(const reco::TransientTrack * it , const reco::TransientTrack * tt, const reco::Vertex & pv, float mass, GlobalVector jetdirection,
17  const std::pair<bool,Measurement1D> & t_ip, const std::pair<bool,Measurement1D> & t_ip2d );
18 
19  const float track_pt() const {return track_pt_;}
20  const float track_eta() const {return track_eta_;}
21  const float track_phi() const {return track_phi_;}
22  const float track_dz() const {return track_dz_;}
23  const float track_dxy() const {return track_dxy_;}
24  const float pca_distance() const {return pca_distance_;}
25  const float pca_significance() const {return pca_significance_; }
26  const float pcaSeed_x() const {return pcaSeed_x_;}
27  const float pcaSeed_y() const {return pcaSeed_y_;}
28  const float pcaSeed_z() const {return pcaSeed_z_;}
29  const float pcaSeed_xerr() const {return pcaSeed_xerr_;}
30  const float pcaSeed_yerr() const {return pcaSeed_yerr_;}
31  const float pcaSeed_zerr() const {return pcaSeed_zerr_;}
32  const float pcaTrack_x() const {return pcaTrack_x_;}
33  const float pcaTrack_y() const {return pcaTrack_y_;}
34  const float pcaTrack_z() const {return pcaTrack_z_;}
35  const float pcaTrack_xerr() const {return pcaTrack_xerr_;}
36  const float pcaTrack_yerr() const {return pcaTrack_yerr_;}
37  const float pcaTrack_zerr() const {return pcaTrack_zerr_;}
38  const float dotprodTrack() const {return dotprodTrack_;}
39  const float dotprodSeed() const {return dotprodSeed_;}
40  const float pcaSeed_dist() const {return pcaSeed_dist_;}
41  const float pcaTrack_dist() const {return pcaTrack_dist_;}
42  const float track_candMass() const {return track_candMass_;}
43  const float track_ip2d() const {return track_ip2d_;}
44  const float track_ip2dSig() const {return track_ip2dSig_;}
45  const float track_ip3d() const {return track_ip3d_;}
46  const float track_ip3dSig() const {return track_ip3dSig_; }
47  const float dotprodTrackSeed2D() const {return dotprodTrackSeed2D_;}
48  const float dotprodTrackSeed2DV() const {return dotprodTrackSeed2DV_;}
49  const float dotprodTrackSeed3D() const {return dotprodTrackSeed3D_;}
50  const float dotprodTrackSeed3DV() const {return dotprodTrackSeed3DV_;}
51  const float pca_jetAxis_dist() const {return pca_jetAxis_dist_;}
52  const float pca_jetAxis_dotprod() const {return pca_jetAxis_dotprod_;}
53  const float pca_jetAxis_dEta() const {return pca_jetAxis_dEta_;}
54  const float pca_jetAxis_dPhi() const {return pca_jetAxis_dPhi_;}
55 
56 
57 
58 
59 private:
60 
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 
100 }
101 
102 #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)