11#ifndef ATHEXTHINNING_WRITETHINNEDDATA_H
12#define ATHEXTHINNING_WRITETHINNEDDATA_H
35#include "GaudiKernel/ServiceHandle.h"
53 class ThinningDecisionBase;
72 virtual StatusCode
execute()
override;
73 virtual StatusCode
finalize()
override;
91 StatusCode
test(
const EventContext& ctx,
92 int testNum,
const std::string& testName );
114 {
this,
"ParticlesKey1",
"",
"" };
116 {
this,
"ParticlesKey2",
"",
"" };
119 {
this,
"IParticlesKeys", {},
"" };
122 {
this,
"IParticlesKey3",
"",
"" };
126 {
this,
"Decay",
"TwoBodyDecay",
"Input location of Decay" };
129 {
this,
"DecayKeys", {},
"" };
133 {
this,
"Elephantino",
"PinkElephantino",
"Input location of Elephantino" };
136 {
this,
"ElephantinoKeys", {},
"" };
An STL vector of pointers that by default owns its pointed-to elements.
Property holding a SG store/key/clid from which a ReadHandle is made.
HandleKey object for adding thinning to an object.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
StringProperty m_elephantinoName
Elephantino input location.
StatusCode test(const EventContext &ctx, int testNum, const std::string &testName)
Exercise the following thinning tests: [testName = "test1"] retrieve a AthExParticles container remov...
StatusCode doThinningTest2(const EventContext &ctx, const SG::ThinningHandleKey< AthExParticles > &particlesKey) const
Apply the real thinning.
StringProperty m_particlesName
Particles input location.
virtual StatusCode initialize() override
WriteThinnedData()
Default constructor:
SG::ReadHandleKeyArray< AthExElephantino > m_elephantinoKeys
SG::ThinningHandleKey< AthExParticles > m_particlesKey1
StringProperty m_decayName
Decay input location.
WriteThinnedData(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ThinningHandleKey< AthExParticles > m_particlesKey2
SG::ReadHandleKeyArray< AthExIParticles > m_iparticlesKeys
SG::ReadHandleKeyArray< AthExDecay > m_decayKeys
SG::ThinningHandleKey< AthExIParticles > m_iparticlesKey3
virtual StatusCode execute() override
BooleanArrayProperty m_filter
Filter to apply on the Particles.
StatusCode doThinningTest3(const EventContext &ctx, const SG::ThinningHandleKey< AthExIParticles > &iparticlesKey) const
Apply the real thinning.
StatusCode doThinningTest1(const EventContext &ctx, const SG::ThinningHandleKey< AthExParticles > &particlesKey) const
Apply the real thinning.
virtual ~WriteThinnedData()
Destructor:
virtual StatusCode finalize() override
HandleKey object for adding thinning to an object.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray