ATLAS Offline Software
GbbNNTagInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /***************************************************************************
6  GbbNNTagInfo.h - Description
7  -------------------
8  begin : April 2011
9  authors : Maria Laura Gonzalez Silva
10  email : laugs@cern.ch
11  changes : May 2012 - update to new Likelihood Gbb tagger
12 
13  ***************************************************************************/
14 
15 #ifndef JETTAGINFO_GBBNNTAGINFO_H
16 #define JETTAGINFO_GBBNNTAGINFO_H
17 
18 #include "JetTagInfo/BaseTagInfo.h"
19 #include <vector>
20 #include <iostream>
21 
22 
23 
24 namespace Trk
25 {
26  class RecVertex;
27 }
28 
29 namespace Analysis
30 {
31 
32 
33 class GbbNNTagInfo : public BaseTagInfo
34 {
35 public:
37  GbbNNTagInfo();
38 
40  GbbNNTagInfo(const TagInfoType& x);
41 
43  GbbNNTagInfo(const GbbNNTagInfo& rhs);
44 
47 
49  virtual ~GbbNNTagInfo();
50  virtual GbbNNTagInfo* clone() const;
51 
52  // virtual GbbNNTagInfo* clone() const;
53 
55  int nMatchingTracks() const;
56 
58  double trkJetWidth() const;
59 
61  double trkJetMaxDeltaR() const;
62 
63 
64 
67  void settrkJetWidth(double trkJetWidth);
69 
70 
71 private:
72 
74  double m_trkJetWidth;
76 
77 
78 }; // End class
79 
80 inline void GbbNNTagInfo::setnMatchingTracks(int nMatchingTracks)
81 {
83 }
84 
85 inline void GbbNNTagInfo::settrkJetWidth(double trkJetWidth)
86 {
88 }
89 
90 inline void GbbNNTagInfo::settrkJetMaxDeltaR(double trkJetMaxDeltaR)
91 {
93 }
94 
96 {
97  return m_nMatchingTracks;
98 }
99 
100 inline double GbbNNTagInfo::trkJetWidth() const
101 {
102  return m_trkJetWidth;
103 }
104 
105 inline double GbbNNTagInfo::trkJetMaxDeltaR() const
106 {
107  return m_trkJetMaxDeltaR;
108 }
109 
111 {
112  return new GbbNNTagInfo(*this);
113 }
114 
115 
116 
117 } // End namespace
118 #endif
Analysis::GbbNNTagInfo::operator=
GbbNNTagInfo & operator=(const GbbNNTagInfo &rhs)
assigenment operator
Definition: GbbNNTagInfo.cxx:61
Analysis::GbbNNTagInfo
Definition: GbbNNTagInfo.h:34
Analysis::GbbNNTagInfo::GbbNNTagInfo
GbbNNTagInfo()
default constructor
Definition: GbbNNTagInfo.cxx:29
Analysis::GbbNNTagInfo::nMatchingTracks
int nMatchingTracks() const
A variable to store number of tracks matching jet.
Definition: GbbNNTagInfo.h:95
Analysis::GbbNNTagInfo::m_trkJetWidth
double m_trkJetWidth
Definition: GbbNNTagInfo.h:74
Analysis::GbbNNTagInfo::trkJetMaxDeltaR
double trkJetMaxDeltaR() const
A second variable to store Max{DeltaR(trk,trk)}.
Definition: GbbNNTagInfo.h:105
x
#define x
Analysis::GbbNNTagInfo::m_trkJetMaxDeltaR
double m_trkJetMaxDeltaR
Definition: GbbNNTagInfo.h:75
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition: BaseTagInfo.h:40
Analysis::GbbNNTagInfo::setnMatchingTracks
void setnMatchingTracks(int nMatchingTracks)
Set-methods for the private data members of the class.
Definition: GbbNNTagInfo.h:80
Analysis::GbbNNTagInfo::clone
virtual GbbNNTagInfo * clone() const
a clone method for the proper workings of the copy constructor
Definition: GbbNNTagInfo.h:110
Analysis::TagInfoType
std::string TagInfoType
Definition: JetTagInfoBase.h:19
BaseTagInfo.h
Analysis::GbbNNTagInfo::settrkJetWidth
void settrkJetWidth(double trkJetWidth)
Definition: GbbNNTagInfo.h:85
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::GbbNNTagInfo::trkJetWidth
double trkJetWidth() const
A second variable to store TrackJet Width.
Definition: GbbNNTagInfo.h:100
Analysis::GbbNNTagInfo::settrkJetMaxDeltaR
void settrkJetMaxDeltaR(double trkJetMaxDeltaR)
Definition: GbbNNTagInfo.h:90
Analysis::GbbNNTagInfo::m_nMatchingTracks
int m_nMatchingTracks
Definition: GbbNNTagInfo.h:73
Analysis::GbbNNTagInfo::~GbbNNTagInfo
virtual ~GbbNNTagInfo()
default destructor
Definition: GbbNNTagInfo.cxx:73