7#include "GaudiKernel/IToolSvc.h"
20 const std::string &name,
const IInterface *parent) :
45 return StatusCode::SUCCESS;
50 std::vector<HistData> hists = plots.retrieveBookedHistograms();
52 for (
auto& hist : hists)
54 ATH_MSG_INFO(
"Initializing " << hist.first <<
" " << hist.first->GetName() <<
" " << hist.second <<
"...");
57 return StatusCode::SUCCESS;
62 std::string dir_test(
"nplots/");
73 return StatusCode::SUCCESS;
90 const std::vector< TLorentzVector > SelectedGeneratorLevel =
m_GeneratorSelector->GetGeneratorLevel(TruthParticles);
91 const std::vector< TLorentzVector > SelectedSimulationLevel =
m_GeneratorSelector->GetSimulationLevel(TruthParticles);
94 for (
const auto particle : *TruthParticles)
97 if (particle->charge()){
115 return StatusCode::SUCCESS;
127 return StatusCode::SUCCESS;
#define ATH_CHECK
Evaluate an expression and check for errors.
ServiceHandle< StoreGateSvc > & evtStore()
size_type size() const noexcept
Returns the number of elements in the collection.
TruthVertex_v1 TruthVertex
Typedef to implementation.
TruthParticleContainer_v1 TruthParticleContainer
Declare the latest version of the truth particle container.