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 {
19
20 TauAnalysisTools::BuildTruthTaus::TruthTausEvent taus;
21
22 ATH_CHECK(m_buildTruthTaus->retrieveTruthTaus(taus, ctx));
23
24 return StatusCode::SUCCESS;
25 }
26
27}
#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
Declare the interface that the class provides.