CMS 3D CMS Logo

TrackInfoBuilder.h
Go to the documentation of this file.
1 #ifndef RecoBTag_FeatureTools_TrackInfoBuilder_h
2 #define RecoBTag_FeatureTools_TrackInfoBuilder_h
3 
8 
9 namespace btagbtvdeep {
10 
11  // adapted from DeepNtuples
13  public:
15 
16  void buildTrackInfo(const reco::Candidate* candidate,
17  const math::XYZVector& jetDir,
18  GlobalVector refjetdirection,
19  const reco::Vertex& pv);
20  const float getTrackDeltaR() const { return trackDeltaR_; }
21  const float getTrackEta() const { return trackEta_; }
22  const float getTrackEtaRel() const { return trackEtaRel_; }
23  const float getTrackJetDistSig() const { return trackJetDistSig_; }
24  const float getTrackJetDistVal() const { return trackJetDistVal_; }
25  const float getTrackMomentum() const { return trackMomentum_; }
26  const float getTrackPPar() const { return trackPPar_; }
27  const float getTrackPParRatio() const { return trackPParRatio_; }
28  const float getTrackPtRatio() const { return trackPtRatio_; }
29  const float getTrackPtRel() const { return trackPtRel_; }
30  const float getTrackSip2dSig() const { return trackSip2dSig_; }
31  const float getTrackSip2dVal() const { return trackSip2dVal_; }
32  const float getTrackSip3dSig() const { return trackSip3dSig_; }
33  const float getTrackSip3dVal() const { return trackSip3dVal_; }
34  const float getTrackJetDecayLen() const { return trackJetDecayLen_; }
35 
36  private:
38 
40  float trackEta_;
41  float trackEtaRel_;
42  float trackPtRel_;
43  float trackPPar_;
44  float trackDeltaR_;
51 
55  };
56 
57 } // namespace btagbtvdeep
58 
59 #endif //RecoBTag_FeatureTools_TrackInfoBuilder_h
void buildTrackInfo(const reco::Candidate *candidate, const math::XYZVector &jetDir, GlobalVector refjetdirection, const reco::Vertex &pv)
const float getTrackJetDistVal() const
const float getTrackSip3dVal() const
const float getTrackJetDecayLen() const
const float getTrackMomentum() const
const float getTrackDeltaR() const
const float getTrackEta() const
const float getTrackPParRatio() const
const float getTrackPtRatio() const
edm::ESHandle< TransientTrackBuilder > builder_
const float getTrackSip2dVal() const
TrackInfoBuilder(edm::ESHandle< TransientTrackBuilder > &build)
const float getTrackPtRel() const
const float getTrackSip3dSig() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
const float getTrackSip2dSig() const
const float getTrackPPar() const
const float getTrackEtaRel() const
const float getTrackJetDistSig() const