5#ifndef MuonPRDTEST_sTGCPRDVARIABLES_H
6#define MuonPRDTEST_sTGCPRDVARIABLES_H
22 const std::string& container_name,
27 bool fill(
const EventContext& ctx)
override final;
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
std::unordered_map< Identifier, unsigned int > m_filteredPRDs
Set of particular chambers to be dumped.
VectorBranch< double > & m_NSWsTGC_PRD_covMatrix_1_1
VectorBranch< uint8_t > & m_stgcAuthor
~sTGCPRDVariables()=default
VectorBranch< double > & m_NSWsTGC_PRD_localPosY
VectorBranch< short > & m_NSWsTGC_PRD_time
bool declare_keys() override final
bool m_applyFilter
Apply a filter to dump the prds.
MatrixBranch< int > & m_NSWsTGC_PRD_stripCharge
bool m_externalPush
Flag telling whether an external prd has been pushed.
sTGCPRDVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
Standard constructor taking the MuonTesterTree as parent The container name under which the MicroMega...
void dumpAllHitsInChamber(const MuonGM::sTgcReadoutElement &detEle)
Adds all hits in this particular chamber to the output n-tuple.
VectorBranch< double > & m_NSWsTGC_PRD_covMatrix_2_2
SG::ReadHandleKey< Muon::sTgcPrepDataContainer > m_key
ScalarBranch< unsigned int > & m_NSWsTGC_nPRD
sTgcIdentifierBranch m_NSWsTGC_PRD_id
VectorBranch< double > & m_NSWsTGC_PRD_localPosX
MatrixBranch< uint16_t > & m_NSWsTGC_PRD_stripChannel
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...
VectorBranch< int > & m_NSWsTGC_PRD_charge
unsigned int push_back(const Muon::sTgcPrepData &prd)
Adds a prd to the output tree.
void enableSeededDump()
Dumps only hits which are marked by the dumpAllHitsInChamber method.
VectorBranch< int > & m_NSWsTGC_PRD_nStrips
VectorBranch< uint8_t > & m_stgcQuality
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
ThreeVectorBranch m_NSWsTGC_PRD_globalPos
MatrixBranch< short > & m_NSWsTGC_PRD_stripTime
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
TTree * tree() override final
Returns the underlying TTree object.
MatrixBranch< T > & newMatrix(const std::string &name)
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.