|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/IToolSvc.h"
21 const std::string &
name,
23 m_testPlots(0,
"test/",
"test"),
24 m_ChargedParticlePlots(0,
"ChargedParticle/",
"ChargedParticle"),
25 m_GeneratorLevelPlots(0,
"GeneratorLevel/",
"GeneratorLevel"),
26 m_SimulationLevelPlots(0,
"SimulationLevel/",
"SimulationLevel"),
27 m_ProductionVertexPlots(0,
"ProductionVertex/",
"ProductionVertex"),
28 m_EventInfoPlots(0,
"EventInfo/",
"EventInfo"),
30 m_number_GeneratorLevel(nullptr),
31 m_number_SimulationLevel(nullptr),
47 return StatusCode::SUCCESS;
52 std::vector<HistData>
hists =
plots.retrieveBookedHistograms();
59 return StatusCode::SUCCESS;
64 std::string dir_test(
"nplots/");
75 return StatusCode::SUCCESS;
81 const EventContext& ctx = Gaudi::Hive::currentContext();
97 for (
const auto particle : *TruthParticles)
117 m_number->Fill((
double)TruthParticles->size());
118 return StatusCode::SUCCESS;
130 return StatusCode::SUCCESS;
const std::vector< TLorentzVector > GetGeneratorLevel(const xAOD::TruthParticleContainer *cont)
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
void check_eventNumber(SG::ReadHandle< xAOD::EventInfo > evt)
const std::vector< TLorentzVector > GetSimulationLevel(const xAOD::TruthParticleContainer *cont)
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
void fill(const xAOD::IParticle *part)
::StatusCode StatusCode
StatusCode definition for legacy code.
int check_mcChannelNumber(SG::ReadHandle< xAOD::EventInfo > evt, int ref)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Class describing a truth vertex in the MC record.
void fillProdVtx(const xAOD::TruthVertex *vtx)