4#ifndef MUONTESTER_IMUONTESTERBRANCH_H
5#define MUONTESTER_IMUONTESTERBRANCH_H
29 virtual bool fill(
const EventContext& ctx) = 0;
37 virtual std::string
name()
const = 0;
45 virtual const TTree*
tree()
const = 0;
Property holding a SG store/key/clid from which a ReadHandle is made.
virtual ~IAuxElementDecorationBranch()=default
virtual void push_back(const SG::AuxElement *ele)=0
Reads out a generic auxillary element and add its information to the output vector.
virtual void operator+=(const SG::AuxElement &ele)=0
virtual void push_back(const SG::AuxElement &ele)=0
virtual void operator+=(const SG::AuxElement *ele)=0
Most basic interface class used by the MuonTester tree.
virtual std::string name() const =0
Returns the name of the branch.
virtual TTree * tree()=0
Returns the pointer to the underlying TTree object.
virtual bool init()=0
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
virtual bool fill(const EventContext &ctx)=0
The fill method checks if enough information is provided such that the branch is cleared from the inf...
SG::VarHandleKey * DataDependency
virtual ~IMuonTesterBranch()=default
virtual const TTree * tree() const =0
virtual std::vector< DataDependency > data_dependencies()=0
Returns a vector of all Event data dependencies needed by the Branch to work.
virtual void push_back(const xAOD::IParticle &p)=0
virtual void push_back(const xAOD::IParticle *p)=0
Similar to the IAuxElementDecoration branch but only accepting IParticles.
virtual void operator+=(const xAOD::IParticle *p)=0
virtual void operator+=(const xAOD::IParticle &p)=0
virtual ~IParticleDecorationBranch()=default
Base class for elements of a container that can have aux data.
A property holding a SG store/key/clid from which a VarHandle is made.
Class providing the definition of the 4-vector interface.
Class to store array like branches into the n-tuples.