5#ifndef MuonPRDTEST_sTGCRDOVARIABLES_H
6#define MuonPRDTEST_sTGCRDOVARIABLES_H
18 bool fill(
const EventContext& ctx)
override final;
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
VectorBranch< bool > & m_NSWsTGC_rdo_isDead
~sTGCRDOVariables()=default
unsigned int push_back(const EventContext &ctx, const Muon::STGC_RawData &rdo)
Adds a RDO to the output tree.
VectorBranch< uint16_t > & m_NSWsTGC_rdo_bcTag
void enableSeededDump()
Dumps only hits which are marked by the dumpAllHitsInChamber method.
ThreeVectorBranch m_NSWsTGC_rdo_globalPos
std::unordered_set< IdentifierHash > m_filteredChamb
Set of chambers to be dumped.
SG::ReadHandleKey< Muon::STGC_RawDataContainer > m_key
bool m_applyFilter
Apply a filter to dump the prds.
VectorBranch< double > & m_NSWsTGC_rdo_time
void dumpAllHitsInChamber(const MuonGM::sTgcReadoutElement &detEle)
Adds all hits in this particular chamber to the output n-tuple.
ScalarBranch< unsigned int > & m_NSWsTGC_nRDO
bool declare_keys() override final
bool m_externalPush
Flag telling whether an external prd has been pushed.
VectorBranch< double > & m_NSWsTGC_rdo_localPosX
VectorBranch< double > & m_NSWsTGC_rdo_localPosY
VectorBranch< uint16_t > & m_NSWsTGC_rdo_charge
VectorBranch< uint16_t > & m_NSWsTGC_rdo_tdo
sTgcIdentifierBranch m_NSWsTGC_rdo_id
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...
sTGCRDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
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)
Branch to store all information of the sTgcIdentifier.
Ensure that the Athena extensions are properly loaded.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.