CMS 3D CMS Logo

SeedingTrackInfoBuilder.h
Go to the documentation of this file.
1 #ifndef RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
2 #define RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
3 
7 
8 namespace btagbtvdeep {
9 
11  public:
13 
15  const reco::Vertex& pv,
16  const reco::Jet& jet, /*GlobalVector jetdirection,*/
17  float mass,
18  const std::pair<bool, Measurement1D>& ip,
19  const std::pair<bool, Measurement1D>& ip2d,
20  float jet_distance,
21  float jaxis_dlength,
22  HistogramProbabilityEstimator* m_probabilityEstimator,
23  bool m_computeProbabilities);
24 
25  const float pt() const { return pt_; }
26  const float eta() const { return eta_; }
27  const float phi() const { return phi_; }
28  const float mass() const { return mass_; }
29  const float dz() const { return dz_; }
30  const float dxy() const { return dxy_; }
31  const float ip3d() const { return ip3D_; }
32  const float sip3d() const { return sip3D_; }
33  const float ip2d() const { return ip2D_; }
34  const float sip2d() const { return sip2D_; }
35  const float ip3d_Signed() const { return ip3D_signed_; }
36  const float sip3d_Signed() const { return sip3D_signed_; }
37  const float ip2d_Signed() const { return ip2D_signed_; }
38  const float sip2d_Signed() const { return sip2D_signed_; }
39  const float chi2reduced() const { return chi2reduced_; }
40  const float nPixelHits() const { return nPixelHits_; }
41  const float nHits() const { return nHits_; }
42  const float jetAxisDistance() const { return jetAxisDistance_; }
43  const float jetAxisDlength() const { return jetAxisDlength_; }
44  const float trackProbability3D() const { return trackProbability3D_; }
45  const float trackProbability2D() const { return trackProbability2D_; }
46 
47  private:
48  float pt_;
49  float eta_;
50  float phi_;
51  float mass_;
52  float dz_;
53  float dxy_;
54  float ip3D_;
55  float sip3D_;
56  float ip2D_;
57  float sip2D_;
58  float ip3D_signed_;
60  float ip2D_signed_;
62  float chi2reduced_;
63  float nPixelHits_;
64  float nHits_;
69  };
70 } // namespace btagbtvdeep
71 
72 #endif //RecoBTag_FeatureTools_SeedingTrackInfoBuilder_h
btagbtvdeep
Definition: BoostedDoubleSVTagInfoFeatures.h:4
btagbtvdeep::SeedingTrackInfoBuilder::eta_
float eta_
Definition: SeedingTrackInfoBuilder.h:49
btagbtvdeep::SeedingTrackInfoBuilder::dxy_
float dxy_
Definition: SeedingTrackInfoBuilder.h:53
btagbtvdeep::SeedingTrackInfoBuilder::jetAxisDlength
const float jetAxisDlength() const
Definition: SeedingTrackInfoBuilder.h:43
reco::Jet
Base class for all types of Jets.
Definition: Jet.h:20
btagbtvdeep::SeedingTrackInfoBuilder
Definition: SeedingTrackInfoBuilder.h:10
btagbtvdeep::SeedingTrackInfoBuilder::nHits
const float nHits() const
Definition: SeedingTrackInfoBuilder.h:41
btagbtvdeep::SeedingTrackInfoBuilder::trackProbability3D
const float trackProbability3D() const
Definition: SeedingTrackInfoBuilder.h:44
btagbtvdeep::SeedingTrackInfoBuilder::phi
const float phi() const
Definition: SeedingTrackInfoBuilder.h:27
btagbtvdeep::SeedingTrackInfoBuilder::ip2d
const float ip2d() const
Definition: SeedingTrackInfoBuilder.h:33
btagbtvdeep::SeedingTrackInfoBuilder::ip3D_
float ip3D_
Definition: SeedingTrackInfoBuilder.h:54
btagbtvdeep::SeedingTrackInfoBuilder::nHits_
float nHits_
Definition: SeedingTrackInfoBuilder.h:64
btagbtvdeep::SeedingTrackInfoBuilder::dz
const float dz() const
Definition: SeedingTrackInfoBuilder.h:29
btagbtvdeep::SeedingTrackInfoBuilder::ip3D_signed_
float ip3D_signed_
Definition: SeedingTrackInfoBuilder.h:58
btagbtvdeep::SeedingTrackInfoBuilder::trackProbability3D_
float trackProbability3D_
Definition: SeedingTrackInfoBuilder.h:67
btagbtvdeep::SeedingTrackInfoBuilder::nPixelHits_
float nPixelHits_
Definition: SeedingTrackInfoBuilder.h:63
btagbtvdeep::SeedingTrackInfoBuilder::sip2d
const float sip2d() const
Definition: SeedingTrackInfoBuilder.h:34
btagbtvdeep::SeedingTrackInfoBuilder::sip3D_
float sip3D_
Definition: SeedingTrackInfoBuilder.h:55
btagbtvdeep::SeedingTrackInfoBuilder::jetAxisDistance_
float jetAxisDistance_
Definition: SeedingTrackInfoBuilder.h:65
btagbtvdeep::SeedingTrackInfoBuilder::dz_
float dz_
Definition: SeedingTrackInfoBuilder.h:52
btagbtvdeep::SeedingTrackInfoBuilder::chi2reduced
const float chi2reduced() const
Definition: SeedingTrackInfoBuilder.h:39
btagbtvdeep::SeedingTrackInfoBuilder::buildSeedingTrackInfo
void buildSeedingTrackInfo(const reco::TransientTrack *it, const reco::Vertex &pv, const reco::Jet &jet, float mass, const std::pair< bool, Measurement1D > &ip, const std::pair< bool, Measurement1D > &ip2d, float jet_distance, float jaxis_dlength, HistogramProbabilityEstimator *m_probabilityEstimator, bool m_computeProbabilities)
Definition: SeedingTrackInfoBuilder.cc:34
HistogramProbabilityEstimator.h
btagbtvdeep::SeedingTrackInfoBuilder::jetAxisDlength_
float jetAxisDlength_
Definition: SeedingTrackInfoBuilder.h:66
btagbtvdeep::SeedingTrackInfoBuilder::sip2D_
float sip2D_
Definition: SeedingTrackInfoBuilder.h:57
btagbtvdeep::SeedingTrackInfoBuilder::jetAxisDistance
const float jetAxisDistance() const
Definition: SeedingTrackInfoBuilder.h:42
btagbtvdeep::SeedingTrackInfoBuilder::sip3d
const float sip3d() const
Definition: SeedingTrackInfoBuilder.h:32
btagbtvdeep::SeedingTrackInfoBuilder::trackProbability2D
const float trackProbability2D() const
Definition: SeedingTrackInfoBuilder.h:45
btagbtvdeep::SeedingTrackInfoBuilder::pt_
float pt_
Definition: SeedingTrackInfoBuilder.h:48
btagbtvdeep::SeedingTrackInfoBuilder::eta
const float eta() const
Definition: SeedingTrackInfoBuilder.h:26
btagbtvdeep::SeedingTrackInfoBuilder::trackProbability2D_
float trackProbability2D_
Definition: SeedingTrackInfoBuilder.h:68
MetAnalyzer.pv
def pv(vc)
Definition: MetAnalyzer.py:7
btagbtvdeep::SeedingTrackInfoBuilder::mass_
float mass_
Definition: SeedingTrackInfoBuilder.h:51
btagbtvdeep::SeedingTrackInfoBuilder::sip2D_signed_
float sip2D_signed_
Definition: SeedingTrackInfoBuilder.h:61
HistogramProbabilityEstimator
Definition: HistogramProbabilityEstimator.h:18
btagbtvdeep::SeedingTrackInfoBuilder::chi2reduced_
float chi2reduced_
Definition: SeedingTrackInfoBuilder.h:62
TransientTrackRecord.h
btagbtvdeep::SeedingTrackInfoBuilder::dxy
const float dxy() const
Definition: SeedingTrackInfoBuilder.h:30
btagbtvdeep::SeedingTrackInfoBuilder::nPixelHits
const float nPixelHits() const
Definition: SeedingTrackInfoBuilder.h:40
btagbtvdeep::SeedingTrackInfoBuilder::sip2d_Signed
const float sip2d_Signed() const
Definition: SeedingTrackInfoBuilder.h:38
btagbtvdeep::SeedingTrackInfoBuilder::ip2d_Signed
const float ip2d_Signed() const
Definition: SeedingTrackInfoBuilder.h:37
btagbtvdeep::SeedingTrackInfoBuilder::SeedingTrackInfoBuilder
SeedingTrackInfoBuilder()
Definition: SeedingTrackInfoBuilder.cc:11
IPTools.h
reco::TransientTrack
Definition: TransientTrack.h:19
btagbtvdeep::SeedingTrackInfoBuilder::ip2D_signed_
float ip2D_signed_
Definition: SeedingTrackInfoBuilder.h:60
metsig::jet
Definition: SignAlgoResolutions.h:47
btagbtvdeep::SeedingTrackInfoBuilder::phi_
float phi_
Definition: SeedingTrackInfoBuilder.h:50
btagbtvdeep::SeedingTrackInfoBuilder::mass
const float mass() const
Definition: SeedingTrackInfoBuilder.h:28
btagbtvdeep::SeedingTrackInfoBuilder::ip3d_Signed
const float ip3d_Signed() const
Definition: SeedingTrackInfoBuilder.h:35
btagbtvdeep::SeedingTrackInfoBuilder::sip3d_Signed
const float sip3d_Signed() const
Definition: SeedingTrackInfoBuilder.h:36
btagbtvdeep::SeedingTrackInfoBuilder::sip3D_signed_
float sip3D_signed_
Definition: SeedingTrackInfoBuilder.h:59
btagbtvdeep::SeedingTrackInfoBuilder::pt
const float pt() const
Definition: SeedingTrackInfoBuilder.h:25
btagbtvdeep::SeedingTrackInfoBuilder::ip2D_
float ip2D_
Definition: SeedingTrackInfoBuilder.h:56
btagbtvdeep::SeedingTrackInfoBuilder::ip3d
const float ip3d() const
Definition: SeedingTrackInfoBuilder.h:31
reco::Vertex
Definition: Vertex.h:35