ATLAS Offline Software
Loading...
Searching...
No Matches
BuildTruthTausAlg.cxx
Go to the documentation of this file.
1#include "BuildTruthTausAlg.h"
2#include "GaudiKernel/EventContext.h"
3
4namespace TauAnalysisTools {
5
6 BuildTruthTausAlg::BuildTruthTausAlg(const std::string& name, ISvcLocator* svcLoc)
7 : AthReentrantAlgorithm(name, svcLoc)
8 {}
9
11 {
12 ATH_CHECK(m_buildTruthTaus.retrieve());
13 return StatusCode::SUCCESS;
14 }
15
16 StatusCode BuildTruthTausAlg::execute(const EventContext& ctx) const
17 {
18 TauAnalysisTools::BuildTruthTaus::TruthTausEvent taus;
19
20 ATH_CHECK(m_buildTruthTaus->retrieveTruthTaus(taus, ctx));
21
22 return StatusCode::SUCCESS;
23 }
24
25}
#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