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