|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MCTRUTHSIMALGS_MERGETRUTHPARTICLESTOOL_H
6 #define MCTRUTHSIMALGS_MERGETRUTHPARTICLESTOOL_H
12 #include "Gaudi/Property.h"
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/ToolHandle.h"
16 #include "GaudiKernel/SystemOfUnits.h"
26 const std::string&
name,
57 #endif //MCTRUTHSIMALGS_MERGETRUTHPARTICLESTOOL_H
virtual StatusCode processAllSubEvents(const EventContext &ctx) override final
Merge the Truth TruthParticleContainers using the PileUpMergeSvc.
MergeTruthParticlesTool(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< bool > m_includeSignalTruthParticles
Gaudi::Property< std::string > m_inputTruthParticleCollKey
ServiceHandle< PileUpMergeSvc > m_pMergeSvc
virtual StatusCode mergeEvent(const EventContext &ctx) override final
called at the end of the subevts loop.
virtual StatusCode processBunchXing(int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) override final
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
StatusCode initialize() override final
Initialize.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode prepareEvent(const EventContext &ctx, unsigned int nInputEvents) override final
called before the subevts loop.
virtual StatusCode processTruthParticleContainer(const xAOD::TruthParticleContainer *inputTruthParticleContainer, xAOD::TruthParticleContainer *outputTruthParticleContainer, int eventNumber)
TruthParticleContainer Loop.
StatusCode record(const xAOD::TruthParticleContainer *pTruthParticles, const std::string &truthParticleContainerName) const
xAOD::TruthParticleContainer * m_inTimeOutputTruthParticleContainer
an algorithm to merge truth particles collections in the overlay store
the preferred mechanism to access information from the different event stores in a pileup job.
Gaudi::Property< std::string > m_inTimeOutputTruthParticleCollKey