CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
35  private:
37 
39  float trackEta_;
40  float trackEtaRel_;
41  float trackPtRel_;
42  float trackPPar_;
43  float trackDeltaR_;
50 
53  };
54 
55 } // namespace btagbtvdeep
56 
57 #endif //RecoBTag_FeatureTools_TrackInfoBuilder_h
void buildTrackInfo(const reco::Candidate *candidate, const math::XYZVector &jetDir, GlobalVector refjetdirection, const reco::Vertex &pv)
const float getTrackEta() const
const float getTrackMomentum() const
const float getTrackEtaRel() const
const float getTrackDeltaR() const
const float getTrackPParRatio() const
edm::ESHandle< TransientTrackBuilder > builder_
const float getTrackSip2dSig() const
const float getTrackPPar() const
TrackInfoBuilder(edm::ESHandle< TransientTrackBuilder > &build)
const float getTrackPtRatio() const
const float getTrackSip3dVal() const
const float getTrackJetDistVal() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
const float getTrackJetDistSig() const
const float getTrackPtRel() const
const float getTrackSip2dVal() const
const float getTrackSip3dSig() const