5#ifndef MuonPRDTEST_MMPRDVARIABLES_H
6#define MuonPRDTEST_MMPRDVARIABLES_H
22 const std::string& prd_container_name,
27 bool fill(
const EventContext& ctx)
override final;
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...
MatrixBranch< short unsigned > & m_NSWMM_PRD_stripNumbers
VectorBranch< uint8_t > & m_NSWMM_PRD_quality
void enableSeededDump()
Dumps only hits which are marked by the dumpAllHitsInChamber method.
unsigned int push_back(const Muon::MMPrepData &prd)
Adds a prd to the output tree.
VectorBranch< float > & m_NSWMM_PRD_covMatrix_1_1
MmIdentifierBranch m_NSWMM_PRD_id
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
VectorBranch< int > & m_NSWMM_PRD_nStrips
void dumpAllHitsInChamber(const MuonGM::MMReadoutElement &detEle)
Adds all hits in this particular chamber to the output n-tuple.
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_key
MatrixBranch< short int > & m_NSWMM_PRD_stripTimes
bool m_applyFilter
Apply a filter to dump the prds.
MMPRDVariables(MuonTesterTree &tree, const std::string &prd_container_name, MSG::Level msglvl)
Standard constructor taking the MuonTesterTree as parent The container name under which the MicroMega...
VectorBranch< short > & m_NSWMM_PRD_author
VectorBranch< int > & m_NSWMM_PRD_time
bool declare_keys() override final
~MMPRDVariables()=default
ScalarBranch< unsigned int > & m_NSWMM_nPRD
TwoVectorBranch m_NSWMM_PRD_localPos
MatrixBranch< int > & m_NSWMM_PRD_stripCharges
bool m_externalPush
Flag telling whether an external prd has been pushed.
std::unordered_map< Identifier, unsigned int > m_filteredPRDs
Set of particular chambers to be dumped.
ThreeVectorBranch m_NSWMM_PRD_globalPos
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.
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)
Ensure that the Athena extensions are properly loaded.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.