module to blindly dump a particle container to the Tree
bool addVariableGeV(T defaultValue, const std::string &variable, const std::string &accName="")
SG::ReadHandleKey< xAOD::IParticleContainer > m_key
bool addVariableGeV(const std::string &variable, const std::string &accName="")
bool declare_keys() override final
ParticleVariables(MuonTesterTree &tree, const std::string &containerKey, const std::string &outName, MSG::Level msglvl)
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
std::shared_ptr< IParticleFourMomBranch > m_branch
bool addVariable(const std::string &variable, const std::string &accName="")
bool addVariable(T defaultValue, const std::string &variable, const std::string &accName="")