ATLAS Offline Software
PhysicsAnalysis
JetTagging
FlavorTagDiscriminants
FlavorTagDiscriminants
HbbTagTool.h
Go to the documentation of this file.
1
// for text editors: this file is -*- C++ -*-
2
/*
3
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
4
*/
5
6
#ifndef HBB_TAG_TOOL_H
7
#define HBB_TAG_TOOL_H
8
9
#include "
AsgTools/AsgTool.h
"
10
#include "
JetInterface/IJetDecorator.h
"
11
12
namespace
FlavorTagDiscriminants
{
13
14
class
HbbTag;
15
16
struct
HbbTagProperties
{
17
std::string
nnFile
;
18
};
19
20
class
HbbTagTool
:
public
asg::AsgTool
,
virtual
public
IJetDecorator
21
{
22
ASG_TOOL_CLASS
(
HbbTagTool
,
IJetDecorator
)
23
public
:
24
HbbTagTool
(
const
std::string&
name
);
25
~HbbTagTool
();
26
27
StatusCode
initialize
()
override
;
28
29
// returns 0 for success
30
StatusCode
decorate
(
const
xAOD::JetContainer
&
jets
)
const override
;
31
private
:
32
HbbTagProperties
m_props
;
33
std::unique_ptr<HbbTag>
m_hbb
;
34
};
35
36
}
37
#endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition:
AsgTool.h:47
FlavorTagDiscriminants
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Definition:
AssociationEnums.h:11
IJetDecorator
Interface for adding a decoration to a jet container.
Definition:
IJetDecorator.h:21
FlavorTagDiscriminants::HbbTagTool::m_hbb
std::unique_ptr< HbbTag > m_hbb
Definition:
HbbTagTool.h:33
IJetDecorator.h
FlavorTagDiscriminants::HbbTagTool::decorate
StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Definition:
HbbTagTool.cxx:25
FlavorTagDiscriminants::HbbTagTool::~HbbTagTool
~HbbTagTool()
Definition:
HbbTagTool.cxx:17
FlavorTagDiscriminants::HbbTagProperties::nnFile
std::string nnFile
Definition:
HbbTagTool.h:17
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
FlavorTagDiscriminants::HbbTagTool::HbbTagTool
HbbTagTool(const std::string &name)
Definition:
HbbTagTool.cxx:10
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
FlavorTagDiscriminants::HbbTagTool::m_props
HbbTagProperties m_props
Definition:
HbbTagTool.h:32
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:192
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition:
AsgToolMacros.h:68
FlavorTagDiscriminants::HbbTagTool::initialize
StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition:
HbbTagTool.cxx:19
defineDB.jets
list jets
Definition:
JetTagCalibration/share/defineDB.py:24
FlavorTagDiscriminants::HbbTagTool
Definition:
HbbTagTool.h:21
AsgTool.h
FlavorTagDiscriminants::HbbTagProperties
Definition:
HbbTagTool.h:16
Generated on Sun Jun 30 2024 21:16:40 for ATLAS Offline Software by
1.8.18