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
Vector3DBase
Definition: Vector3DBase.h:8
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed3DV_
float dotprodTrackSeed3DV_
Definition: TrackPairInfoBuilder.h:92
btagbtvdeep
Definition: BoostedDoubleSVTagInfoFeatures.h:4
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_dist_
float pcaTrack_dist_
Definition: TrackPairInfoBuilder.h:83
btagbtvdeep::TrackPairInfoBuilder::pca_distance
const float pca_distance() const
Definition: TrackPairInfoBuilder.h:28
btagbtvdeep::TrackPairInfoBuilder::track_dxy_
float track_dxy_
Definition: TrackPairInfoBuilder.h:65
btagbtvdeep::TrackPairInfoBuilder::track_ip2dSig
const float track_ip2dSig() const
Definition: TrackPairInfoBuilder.h:48
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dEta
const float pca_jetAxis_dEta() const
Definition: TrackPairInfoBuilder.h:57
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_x_
float pcaSeed_x_
Definition: TrackPairInfoBuilder.h:68
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_zerr
const float pcaSeed_zerr() const
Definition: TrackPairInfoBuilder.h:35
btagbtvdeep::TrackPairInfoBuilder::track_ip2d
const float track_ip2d() const
Definition: TrackPairInfoBuilder.h:47
groupFilesInBlocks.tt
int tt
Definition: groupFilesInBlocks.py:144
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_z_
float pcaSeed_z_
Definition: TrackPairInfoBuilder.h:70
btagbtvdeep::TrackPairInfoBuilder::pca_significance
const float pca_significance() const
Definition: TrackPairInfoBuilder.h:29
btagbtvdeep::TrackPairInfoBuilder::track_eta
const float track_eta() const
Definition: TrackPairInfoBuilder.h:24
btagbtvdeep::TrackPairInfoBuilder::track_ip3dSig_
float track_ip3dSig_
Definition: TrackPairInfoBuilder.h:88
btagbtvdeep::TrackPairInfoBuilder::TrackPairInfoBuilder
TrackPairInfoBuilder()
Definition: TrackPairInfoBuilder.cc:9
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed2DV
const float dotprodTrackSeed2DV() const
Definition: TrackPairInfoBuilder.h:52
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_xerr
const float pcaSeed_xerr() const
Definition: TrackPairInfoBuilder.h:33
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dPhi
const float pca_jetAxis_dPhi() const
Definition: TrackPairInfoBuilder.h:58
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_y
const float pcaTrack_y() const
Definition: TrackPairInfoBuilder.h:37
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_z
const float pcaSeed_z() const
Definition: TrackPairInfoBuilder.h:32
TwoTrackMinimumDistance.h
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_xerr_
float pcaTrack_xerr_
Definition: TrackPairInfoBuilder.h:77
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed2DV_
float dotprodTrackSeed2DV_
Definition: TrackPairInfoBuilder.h:90
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_zerr_
float pcaTrack_zerr_
Definition: TrackPairInfoBuilder.h:79
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dotprod
const float pca_jetAxis_dotprod() const
Definition: TrackPairInfoBuilder.h:56
btagbtvdeep::TrackPairInfoBuilder::pca_significance_
float pca_significance_
Definition: TrackPairInfoBuilder.h:67
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed2D_
float dotprodTrackSeed2D_
Definition: TrackPairInfoBuilder.h:89
btagbtvdeep::TrackPairInfoBuilder::dotprodTrack_
float dotprodTrack_
Definition: TrackPairInfoBuilder.h:80
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_xerr
const float pcaTrack_xerr() const
Definition: TrackPairInfoBuilder.h:39
btagbtvdeep::TrackPairInfoBuilder
Definition: TrackPairInfoBuilder.h:11
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_x
const float pcaSeed_x() const
Definition: TrackPairInfoBuilder.h:30
btagbtvdeep::TrackPairInfoBuilder::dotprodTrack
const float dotprodTrack() const
Definition: TrackPairInfoBuilder.h:42
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dEta_
float pca_jetAxis_dEta_
Definition: TrackPairInfoBuilder.h:95
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_yerr_
float pcaTrack_yerr_
Definition: TrackPairInfoBuilder.h:78
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_yerr
const float pcaSeed_yerr() const
Definition: TrackPairInfoBuilder.h:34
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_yerr
const float pcaTrack_yerr() const
Definition: TrackPairInfoBuilder.h:40
btagbtvdeep::TrackPairInfoBuilder::track_ip3d
const float track_ip3d() const
Definition: TrackPairInfoBuilder.h:49
Line.h
btagbtvdeep::TrackPairInfoBuilder::dotprodSeed
const float dotprodSeed() const
Definition: TrackPairInfoBuilder.h:43
btagbtvdeep::TrackPairInfoBuilder::track_phi
const float track_phi() const
Definition: TrackPairInfoBuilder.h:25
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_y_
float pcaSeed_y_
Definition: TrackPairInfoBuilder.h:69
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed3D_
float dotprodTrackSeed3D_
Definition: TrackPairInfoBuilder.h:91
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_zerr
const float pcaTrack_zerr() const
Definition: TrackPairInfoBuilder.h:41
btagbtvdeep::TrackPairInfoBuilder::track_pt
const float track_pt() const
Definition: TrackPairInfoBuilder.h:23
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_y_
float pcaTrack_y_
Definition: TrackPairInfoBuilder.h:75
btagbtvdeep::TrackPairInfoBuilder::track_eta_
float track_eta_
Definition: TrackPairInfoBuilder.h:62
btagbtvdeep::TrackPairInfoBuilder::track_dz_
float track_dz_
Definition: TrackPairInfoBuilder.h:64
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dist
const float pca_jetAxis_dist() const
Definition: TrackPairInfoBuilder.h:55
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dist_
float pca_jetAxis_dist_
Definition: TrackPairInfoBuilder.h:93
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_yerr_
float pcaSeed_yerr_
Definition: TrackPairInfoBuilder.h:72
btagbtvdeep::TrackPairInfoBuilder::track_ip3dSig
const float track_ip3dSig() const
Definition: TrackPairInfoBuilder.h:50
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_xerr_
float pcaSeed_xerr_
Definition: TrackPairInfoBuilder.h:71
btagbtvdeep::TrackPairInfoBuilder::track_ip2d_
float track_ip2d_
Definition: TrackPairInfoBuilder.h:85
TransientTrackRecord.h
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_x
const float pcaTrack_x() const
Definition: TrackPairInfoBuilder.h:36
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_z_
float pcaTrack_z_
Definition: TrackPairInfoBuilder.h:76
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed2D
const float dotprodTrackSeed2D() const
Definition: TrackPairInfoBuilder.h:51
IPTools.h
btagbtvdeep::TrackPairInfoBuilder::track_phi_
float track_phi_
Definition: TrackPairInfoBuilder.h:63
reco::TransientTrack
Definition: TransientTrack.h:19
btagbtvdeep::TrackPairInfoBuilder::pca_distance_
float pca_distance_
Definition: TrackPairInfoBuilder.h:66
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_dist_
float pcaSeed_dist_
Definition: TrackPairInfoBuilder.h:82
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_dist
const float pcaSeed_dist() const
Definition: TrackPairInfoBuilder.h:44
btagbtvdeep::TrackPairInfoBuilder::track_dxy
const float track_dxy() const
Definition: TrackPairInfoBuilder.h:27
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed3DV
const float dotprodTrackSeed3DV() const
Definition: TrackPairInfoBuilder.h:54
btagbtvdeep::TrackPairInfoBuilder::track_ip2dSig_
float track_ip2dSig_
Definition: TrackPairInfoBuilder.h:86
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
btagbtvdeep::TrackPairInfoBuilder::track_candMass_
float track_candMass_
Definition: TrackPairInfoBuilder.h:84
btagbtvdeep::TrackPairInfoBuilder::buildTrackPairInfo
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)
Definition: TrackPairInfoBuilder.cc:57
btagbtvdeep::TrackPairInfoBuilder::track_dz
const float track_dz() const
Definition: TrackPairInfoBuilder.h:26
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_z
const float pcaTrack_z() const
Definition: TrackPairInfoBuilder.h:38
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dPhi_
float pca_jetAxis_dPhi_
Definition: TrackPairInfoBuilder.h:96
btagbtvdeep::TrackPairInfoBuilder::dotprodSeed_
float dotprodSeed_
Definition: TrackPairInfoBuilder.h:81
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_x_
float pcaTrack_x_
Definition: TrackPairInfoBuilder.h:74
btagbtvdeep::TrackPairInfoBuilder::dotprodTrackSeed3D
const float dotprodTrackSeed3D() const
Definition: TrackPairInfoBuilder.h:53
btagbtvdeep::TrackPairInfoBuilder::pcaTrack_dist
const float pcaTrack_dist() const
Definition: TrackPairInfoBuilder.h:45
btagbtvdeep::TrackPairInfoBuilder::track_pt_
float track_pt_
Definition: TrackPairInfoBuilder.h:61
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_y
const float pcaSeed_y() const
Definition: TrackPairInfoBuilder.h:31
reco::Vertex
Definition: Vertex.h:35
btagbtvdeep::TrackPairInfoBuilder::track_ip3d_
float track_ip3d_
Definition: TrackPairInfoBuilder.h:87
btagbtvdeep::TrackPairInfoBuilder::track_candMass
const float track_candMass() const
Definition: TrackPairInfoBuilder.h:46
btagbtvdeep::TrackPairInfoBuilder::pca_jetAxis_dotprod_
float pca_jetAxis_dotprod_
Definition: TrackPairInfoBuilder.h:94
btagbtvdeep::TrackPairInfoBuilder::pcaSeed_zerr_
float pcaSeed_zerr_
Definition: TrackPairInfoBuilder.h:73