5#ifndef MDTSimHitVariables_H
6#define MDTSimHitVariables_H
17 bool fill(
const EventContext& ctx)
override final;
AtlasHitsVector< MDTSimHit > MDTSimHitCollection
MdtIdentifierBranch m_MDT_id
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...
bool declare_keys() override final
MDTSimHitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
ThreeVectorBranch m_MDT_detector_globalPosition
ThreeVectorBranch m_MDT_hitLocalPosition
VectorBranch< int > & m_MDT_trackId
ScalarBranch< unsigned int > & m_MDT_nSimHits
VectorBranch< float > & m_MDT_kineticEnergy
SG::ReadHandleKey< MDTSimHitCollection > m_simHitKey
ThreeVectorBranch m_MDT_hitGlobalPosition
VectorBranch< float > & m_MDT_driftRadius
~MDTSimHitVariables()=default
VectorBranch< float > & m_MDT_globalTime
VectorBranch< float > & m_MDT_StepLength
VectorBranch< int > & m_MDT_particleEncoding
VectorBranch< float > & m_MDT_depositEnergy
VectorBranch< int > & m_MDT_truthEl
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Branch to store all information of the MDT identifier.
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
TTree * tree() override final
Returns the underlying TTree object.
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
ScalarBranch< T > & newScalar(const std::string &name)