ATLAS Offline Software
PhysicsAnalysis
DerivationFramework
DerivationFrameworkMCTruth
DerivationFrameworkMCTruth
HadronOriginDecorator.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
* @file DerivationFrameworkTop/TopHeavyFlavorFilterAugmentation.h
7
* @date Apr. 2015
8
* @brief tool to add a variable to the TruthParticles corresponding to the HF hadrons origin flag
9
*/
10
11
12
#ifndef DerivationFrameworkMCTruth_HadronOriginDecorator_H
13
#define DerivationFrameworkMCTruth_HadronOriginDecorator_H
14
15
#include <string>
16
17
#include "
AthenaBaseComps/AthAlgTool.h
"
18
#include "GaudiKernel/ToolHandle.h"
19
#include "
DerivationFrameworkInterfaces/IAugmentationTool.h
"
20
21
namespace
DerivationFramework
{
22
23
class
HadronOriginClassifier;
24
25
class
HadronOriginDecorator
:
public
AthAlgTool
,
public
IAugmentationTool
{
26
27
28
public
:
29
HadronOriginDecorator
(
const
std::string&
t
,
const
std::string&
n
,
const
IInterface*
p
);
30
~HadronOriginDecorator
();
31
StatusCode
initialize
();
32
StatusCode
finalize
();
33
virtual
StatusCode
addBranches
()
const
;
34
35
36
37
private
:
38
39
40
std::string
m_TruthEventName
;
41
ToolHandle<DerivationFramework::HadronOriginClassifier>
m_Tool
;
42
43
44
};
45
46
}
47
48
49
#endif
DerivationFramework::HadronOriginDecorator::~HadronOriginDecorator
~HadronOriginDecorator()
Definition:
HadronOriginDecorator.cxx:21
IAugmentationTool.h
DerivationFramework::HadronOriginDecorator::m_TruthEventName
std::string m_TruthEventName
Definition:
HadronOriginDecorator.h:40
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
DerivationFramework::HadronOriginDecorator::m_Tool
ToolHandle< DerivationFramework::HadronOriginClassifier > m_Tool
Definition:
HadronOriginDecorator.h:41
DerivationFramework::IAugmentationTool
Definition:
IAugmentationTool.h:24
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
DerivationFramework::HadronOriginDecorator::HadronOriginDecorator
HadronOriginDecorator(const std::string &t, const std::string &n, const IInterface *p)
Definition:
HadronOriginDecorator.cxx:11
beamspotman.n
n
Definition:
beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
DerivationFramework
THE reconstruction tool.
Definition:
ParticleSortingAlg.h:24
DerivationFramework::HadronOriginDecorator::addBranches
virtual StatusCode addBranches() const
Pass the thinning service
Definition:
HadronOriginDecorator.cxx:38
DerivationFramework::HadronOriginDecorator
Definition:
HadronOriginDecorator.h:25
AthAlgTool
Definition:
AthAlgTool.h:26
DerivationFramework::HadronOriginDecorator::initialize
StatusCode initialize()
Definition:
HadronOriginDecorator.cxx:23
DerivationFramework::HadronOriginDecorator::finalize
StatusCode finalize()
Definition:
HadronOriginDecorator.cxx:34
Generated on Thu Nov 7 2024 21:16:02 for ATLAS Offline Software by
1.8.18