ATLAS Offline Software
HadFlavorTagInfo.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  HadFlavorTagInfo.h - Description
7  -------------------
8  begin : April 2011
9  authors : Maria Laura Gonzalez Silva
10  email : laugs@cern.ch
11  changes :
12 
13  ***************************************************************************/
14 
15 #ifndef JETTAGINFO_HADFLAVORTAGINFO_H
16 #define JETTAGINFO_HADFLAVORTAGINFO_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 
34 {
35 public:
38 
41 
44 
47 
49  virtual ~HadFlavorTagInfo();
50  virtual HadFlavorTagInfo* clone() const;
51 
52  // virtual HadFlavorTagInfo* clone() const;
53 
55  int nMatchingTracks() const;
56 
58  double trkJetWidth() const;
59 
61  double trkJetDRKtaxes() const;
62 
63 
64 
67  void settrkJetWidth(double trkJetWidth);
68  void settrkJetDRKtaxes(double trkJetDRKtaxes);
69 
70 
71 private:
72 
74  double m_trkJetWidth;
76 
77 
78 }; // End class
79 
80 inline void HadFlavorTagInfo::setnMatchingTracks(int nMatchingTracks)
81 {
83 }
84 
85 inline void HadFlavorTagInfo::settrkJetWidth(double trkJetWidth)
86 {
88 }
89 
90 inline void HadFlavorTagInfo::settrkJetDRKtaxes(double trkJetDRKtaxes)
91 {
93 }
94 
96 {
97  return m_nMatchingTracks;
98 }
99 
100 inline double HadFlavorTagInfo::trkJetWidth() const
101 {
102  return m_trkJetWidth;
103 }
104 
105 inline double HadFlavorTagInfo::trkJetDRKtaxes() const
106 {
107  return m_trkJetDRKtaxes;
108 }
109 
111 {
112  return new HadFlavorTagInfo(*this);
113 }
114 
115 
116 
117 } // End namespace
118 #endif
Analysis::HadFlavorTagInfo::nMatchingTracks
int nMatchingTracks() const
A variable to store number of tracks matching jet.
Definition: HadFlavorTagInfo.h:95
x
#define x
Analysis::HadFlavorTagInfo::trkJetWidth
double trkJetWidth() const
A second variable to store TrackJet Width.
Definition: HadFlavorTagInfo.h:100
Analysis::HadFlavorTagInfo
Definition: HadFlavorTagInfo.h:34
Analysis::HadFlavorTagInfo::m_trkJetDRKtaxes
double m_trkJetDRKtaxes
Definition: HadFlavorTagInfo.h:75
Analysis::BaseTagInfo
Class BasetagInfo: Implements methods defined in ITagInfo.
Definition: BaseTagInfo.h:40
Analysis::HadFlavorTagInfo::settrkJetWidth
void settrkJetWidth(double trkJetWidth)
Definition: HadFlavorTagInfo.h:85
Analysis::TagInfoType
std::string TagInfoType
Definition: JetTagInfoBase.h:19
BaseTagInfo.h
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::HadFlavorTagInfo::m_nMatchingTracks
int m_nMatchingTracks
Definition: HadFlavorTagInfo.h:73
Analysis::HadFlavorTagInfo::HadFlavorTagInfo
HadFlavorTagInfo()
default constructor
Definition: HadFlavorTagInfo.cxx:29
Analysis::HadFlavorTagInfo::operator=
HadFlavorTagInfo & operator=(const HadFlavorTagInfo &rhs)
assigenment operator
Definition: HadFlavorTagInfo.cxx:61
Analysis::HadFlavorTagInfo::trkJetDRKtaxes
double trkJetDRKtaxes() const
A second variable to store Max{DeltaR(trk,trk)}.
Definition: HadFlavorTagInfo.h:105
Analysis::HadFlavorTagInfo::settrkJetDRKtaxes
void settrkJetDRKtaxes(double trkJetDRKtaxes)
Definition: HadFlavorTagInfo.h:90
Analysis::HadFlavorTagInfo::m_trkJetWidth
double m_trkJetWidth
Definition: HadFlavorTagInfo.h:74
Analysis::HadFlavorTagInfo::setnMatchingTracks
void setnMatchingTracks(int nMatchingTracks)
Set-methods for the private data members of the class.
Definition: HadFlavorTagInfo.h:80
Analysis::HadFlavorTagInfo::~HadFlavorTagInfo
virtual ~HadFlavorTagInfo()
default destructor
Definition: HadFlavorTagInfo.cxx:73
Analysis::HadFlavorTagInfo::clone
virtual HadFlavorTagInfo * clone() const
a clone method for the proper workings of the copy constructor
Definition: HadFlavorTagInfo.h:110