5#ifndef CSCSimHitVariables_H
6#define CSCSimHitVariables_H
15 bool fill(
const EventContext& ctx)
override final;
CSCSimHitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< int > & m_CSC_trackId
bool declare_keys() override final
VectorBranch< float > & m_CSC_depositEnergy
ThreeVectorBranch m_CSC_hitGlobalPosition
ScalarBranch< unsigned int > & m_CSC_nSimHits
VectorBranch< float > & m_CSC_globalTime
VectorBranch< float > & m_CSC_kineticEnergy
ThreeVectorBranch m_CSC_detector_globalPosition
CscIdentifierBranch m_CSC_id
SG::ReadHandleKey< CSCSimHitCollection > m_key
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< int > & m_CSC_truthEl
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Branch to store all information of the CscIdentifier.
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)
Property holding a SG store/key/clid from which a ReadHandle is made.