5#ifndef MuonPRDTEST_MMDigitVARIABLES_H
6#define MuonPRDTEST_MMDigitVARIABLES_H
19 bool fill(
const EventContext& ctx)
override final;
Use IdentifiableContainer with MmDigitCollection.
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...
ThreeVectorBranch m_NSWMM_dig_stripGpos
MmIdentifierBranch m_NSWMM_dig_id
ScalarBranch< unsigned int > & m_NSWMM_nDigits
VectorBranch< float > & m_NSWMM_dig_charge
VectorBranch< float > & m_NSWMM_dig_time
bool declare_keys() override final
TwoVectorBranch m_NSWMM_dig_stripLpos
MMDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
SG::ReadHandleKey< MmDigitContainer > m_key
~MMDigitVariables()=default
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
Branch to store all information of the MmIdentifier.
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)