5#ifndef MuonPRDTEST_MMRDOVARIABLES_H
6#define MuonPRDTEST_MMRDOVARIABLES_H
18 bool fill(
const EventContext& ctx)
override final;
VectorBranch< int > & m_NSWMM_rdo_charge
bool declare_keys() override final
std::unordered_map< Identifier, unsigned int > m_filteredRDOs
Set of particular chambers to be dumped.
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...
MmIdentifierBranch m_NSWMM_rdo_id
bool m_externalPush
Flag telling whether an external prd has been pushed.
void dumpAllHitsInChamber(const MuonGM::MMReadoutElement &detEle)
Adds all hits in this particular chamber to the output n-tuple.
ScalarBranch< unsigned int > & m_NSWMM_nRDO
VectorBranch< double > & m_NSWMM_rdo_localPosY
VectorBranch< double > & m_NSWMM_rdo_localPosX
bool m_applyFilter
Apply a filter to dump the prds.
VectorBranch< uint16_t > & m_NSWMM_rdo_relBcid
MMRDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< int > & m_NSWMM_rdo_time
unsigned int push_back(const EventContext &ctx, const Muon::MM_RawData &rdo)
Adds a RDO to the output tree.
SG::ReadHandleKey< Muon::MM_RawDataContainer > m_rdokey
ThreeVectorBranch m_NSWMM_rdo_globalPos
~MMRDOVariables()=default
void enableSeededDump()
Dumps only hits which are marked by the dumpAllHitsInChamber method.
std::unordered_set< IdentifierHash > m_filteredChamb
Set of chambers to be dumped.
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)
Ensure that the Athena extensions are properly loaded.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.