ATLAS Offline Software
Loading...
Searching...
No Matches
QGPartonTruthInfo.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#ifndef JETTAGINFO_QGPARTONTRUTHINFO_H
6#define JETTAGINFO_QGPARTONTRUTHINFO_H
8#include <string>
9#include <map>
10
11namespace Analysis
12{
13
18{
19public:
22
25
28
31
33 virtual ~QGPartonTruthInfo();
34
36 virtual QGPartonTruthInfo* clone() const;
37
39 const std::string& jetTruthLabel() const;
40
48 void setJetTruthLabel(const std::string& jetTruthLabel);
49
51 void deltaRToParton(double dR);
52 double deltaRToParton() const;
53
54private:
55 std::string m_jetTruthLabel;
57
58}; // End class
59
61{
62 return new QGPartonTruthInfo(*this);
63}
64
65inline const std::string& QGPartonTruthInfo::jetTruthLabel() const
66{
67 return m_jetTruthLabel;
68}
69
74
75} // End namespace
76#endif
77
#define x
BaseTagInfo()
default constructor
QGPartonTruthInfo & operator=(const QGPartonTruthInfo &rhs)
assigenment operator
const std::string & jetTruthLabel() const
return the truth label
virtual ~QGPartonTruthInfo()
default destructor
QGPartonTruthInfo()
default constructor
virtual QGPartonTruthInfo * clone() const
clone method
void setJetTruthLabel(const std::string &jetTruthLabel)
set the truth label The string with which to set the truth label is stored in the JetTruthMatch algto...
The namespace of all packages in PhysicsAnalysis/JetTagging.
std::string TagInfoType