5#ifndef MuonPRDTEST_CSCRDOVARIABLES_H
6#define MuonPRDTEST_CSCRDOVARIABLES_H
20 bool fill(
const EventContext& ctx)
override final;
28 throw std::runtime_error(
"casting IdHelper to CscIdHelper failed");
ThreeVectorBranch m_CSC_rdo_globalPos
bool declare_keys() override final
void setHelper(const MuonIdHelper *idhelper)
SG::ReadHandleKey< CscRawDataContainer > 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...
CSCRDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl, const MuonIdHelper *idhelper, const Muon::ICSC_RDO_Decoder *rdo_decoder)
ScalarBranch< unsigned int > & m_CSC_nRDO
VectorBranch< float > & m_CSC_rdo_localPosX
CscIdentifierBranch m_CSC_rdo_id
VectorBranch< float > & m_CSC_rdo_localPosY
const Muon::ICSC_RDO_Decoder * m_rdo_decoder
~CSCRDOVariables()=default
VectorBranch< int > & m_CSC_rdo_time
const CscIdHelper * m_CscIdHelper
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)
This class provides conversion from RDO data to CSC RDO Author: Ketevi A.
Property holding a SG store/key/clid from which a ReadHandle is made.