4#ifndef MUONTESTERTREE_EVENTHASHBRANCH_H
5#define MUONTESTERTREE_EVENTHASHBRANCH_H
18 bool fill(
const EventContext& ctx)
override final;
19 bool init() override final;
23 TTree*
tree() override final;
ArrayBranch< ULong64_t > m_cache
TTree * tree() override final
Returns the pointer to the underlying TTree object.
std::string name() const override final
Returns the name of the branch.
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...
EventHashBranch(TTree *tree, const std::string &evtKey="EventInfo")
bool is_dumped(const EventContext &ctx) const
Returns true whether the current event is dumped to the N-tuple or not.
const EventContext * m_last_dump
bool init() override final
The init method checks whether the branch name has already registered to the MuonTree and tries then ...
std::vector< DataDependency > data_dependencies() override final
Returns a vector of all Event data dependencies needed by the Branch to work.
~EventHashBranch()=default
SG::ReadHandleKey< xAOD::EventInfo > m_evtKey
Most basic interface class used by the MuonTester tree.
SG::VarHandleKey * DataDependency
Class to store array like branches into the n-tuples.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.