5#ifndef MUONPRDTEST_CSCSDOVARIABLES_H
6#define MUONPRDTEST_CSCSDOVARIABLES_H
17 bool fill(
const EventContext& ctx)
override final;
CscIdentifierBranch m_csc_sdo_id
ScalarBranch< unsigned int > & m_csc_nsdo
VectorBranch< int > & m_csc_sdo_word
VectorBranch< float > & m_csc_sdo_localPosY
CscSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
ThreeVectorBranch m_CSC_dig_globalPos
bool declare_keys() override final
VectorBranch< int > & m_csc_sdo_barcode
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...
~CscSDOVariables()=default
VectorBranch< double > & m_csc_sdo_charge
VectorBranch< float > & m_csc_sdo_localPosX
SG::ReadHandleKey< CscSimDataCollection > m_key
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)