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 ,const math::XYZVector& jetDir, GlobalVector refjetdirection, const reco::Vertex & pv);
17  const float getTrackDeltaR() const {return trackDeltaR_;}
18  const float getTrackEta() const {return trackEta_;}
19  const float getTrackEtaRel() const {return trackEtaRel_;}
20  const float getTrackJetDistSig() const {return trackJetDistSig_;}
21  const float getTrackJetDistVal() const {return trackJetDistVal_;}
22  const float getTrackMomentum() const {return trackMomentum_;}
23  const float getTrackPPar() const {return trackPPar_;}
24  const float getTrackPParRatio() const {return trackPParRatio_;}
25  const float getTrackPtRatio() const {return trackPtRatio_;}
26  const float getTrackPtRel() const {return trackPtRel_;}
27  const float getTrackSip2dSig() const {return trackSip2dSig_;}
28  const float getTrackSip2dVal() const {return trackSip2dVal_;}
29  const float getTrackSip3dSig() const {return trackSip3dSig_;}
30  const float getTrackSip3dVal() const {return trackSip3dVal_;}
31 
32 private:
33 
35 
37  float trackEta_;
38  float trackEtaRel_;
39  float trackPtRel_;
40  float trackPPar_;
41  float trackDeltaR_;
48 
51 
52 };
53 
54 }
55 
56 #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)
def pv(vc)
Definition: MetAnalyzer.py:7
const float getTrackPtRatio() const
const float getTrackSip3dVal() const
const float getTrackJetDistVal() const
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:30
const float getTrackJetDistSig() const
const float getTrackPtRel() const
const float getTrackSip2dVal() const
const float getTrackSip3dSig() const