ATLAS Offline Software
Loading...
Searching...
No Matches
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
7namespace TauAnalysisTools {
8
9 BuildTruthTausAlg::BuildTruthTausAlg(const std::string& name, ISvcLocator* svcLoc)
10 : AthReentrantAlgorithm(name, svcLoc)
11 {}
12
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}
#define ATH_CHECK
Evaluate an expression and check for errors.
static Double_t taus
An algorithm that can be simultaneously executed in multiple threads.
BuildTruthTausAlg(const std::string &name, ISvcLocator *svcLoc)
StatusCode execute(const EventContext &) const override
ToolHandle< TauAnalysisTools::BuildTruthTaus > m_buildTruthTaus