ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
TauID
TauAnalysisTools
src
BuildTruthTausAlg.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
BuildTruthTausAlg.h
"
5
#include "GaudiKernel/EventContext.h"
6
7
namespace
TauAnalysisTools
{
8
9
BuildTruthTausAlg::BuildTruthTausAlg
(
const
std::string& name, ISvcLocator* svcLoc)
10
:
AthReentrantAlgorithm
(name, svcLoc)
11
{}
12
13
StatusCode
BuildTruthTausAlg::initialize
()
14
{
15
ATH_CHECK
(
m_buildTruthTaus
.retrieve());
16
return
StatusCode::SUCCESS;
17
}
18
19
StatusCode
BuildTruthTausAlg::execute
(
const
EventContext& ctx)
const
20
{
21
TauAnalysisTools::BuildTruthTaus::TruthTausEvent
taus
;
22
23
ATH_CHECK
(
m_buildTruthTaus
->retrieveTruthTaus(
taus
, ctx));
24
25
return
StatusCode::SUCCESS;
26
}
27
28
}
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
BuildTruthTausAlg.h
taus
static Double_t taus
Definition
LArPhysWaveHECTool.cxx:37
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
TauAnalysisTools::BuildTruthTausAlg::BuildTruthTausAlg
BuildTruthTausAlg(const std::string &name, ISvcLocator *svcLoc)
Definition
BuildTruthTausAlg.cxx:9
TauAnalysisTools::BuildTruthTausAlg::initialize
StatusCode initialize() override
Definition
BuildTruthTausAlg.cxx:13
TauAnalysisTools::BuildTruthTausAlg::execute
StatusCode execute(const EventContext &) const override
Definition
BuildTruthTausAlg.cxx:19
TauAnalysisTools::BuildTruthTausAlg::m_buildTruthTaus
ToolHandle< TauAnalysisTools::BuildTruthTaus > m_buildTruthTaus
Definition
BuildTruthTausAlg.h:17
TauAnalysisTools
Definition
PhysValMET.h:37
Generated on
for ATLAS Offline Software by
1.17.0