bool addVariable(const std::string &variable, const bool declareDep=false)
Adds a variable of the primitive data type that can be directly read-off from the xAOD::IParticle as ...
SG::ReadHandleKey< xAOD::IParticleContainer > m_key
Class providing the definition of the 4-vector interface.
void declare_decorator(const std::string &decorName)
Declares the dependency on a decorator.
bool declare_keys() override final
size_t push_back(const xAOD::IParticle *p)
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
SG::ReadDecorHandleKeyArray< xAOD::IParticleContainer > m_decorKeys