|
ATLAS Offline Software
|
Go to the documentation of this file.
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;
70 #endif // MuonPRDTEST_MMPRDVARIABLES_H
void dumpAllHitsInChamber(const MuonGM::MMReadoutElement &detEle)
Adds all hits in this particular chamber to the output n-tuple.
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...
Ensure that the Athena extensions are properly loaded.
MatrixBranch< short unsigned > & m_NSWMM_PRD_stripNumbers
VectorBranch< short > & m_NSWMM_PRD_author
MuonPrepDataContainerT< MMPrepData > MMPrepDataContainer
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...
unsigned int dump(const Muon::MMPrepData &prd)
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
bool const RAWDATA *ch2 const
This class provides conversion from CSC RDO data to CSC Digits.
TTree * tree() override final
Returns the underlying TTree object.
std::unordered_map< Identifier, unsigned int > m_filteredPRDs
Set of particular chambers to be dumped.
Branch to store all information of the MmIdentifier.
ThreeVectorBranch m_NSWMM_PRD_globalPos
SG::ReadHandleKey< Muon::MMPrepDataContainer > m_key
MatrixBranch< int > & m_NSWMM_PRD_stripCharges
bool m_applyFilter
Apply a filter to dump the prds.
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
VectorBranch< uint8_t > & m_NSWMM_PRD_quality
unsigned int push_back(const Muon::MMPrepData &prd)
Adds a prd to the output tree.
ScalarBranch< unsigned int > & m_NSWMM_nPRD
MatrixBranch< short int > & m_NSWMM_PRD_stripTimes
ScalarBranch< T > & newScalar(const std::string &name)
MmIdentifierBranch m_NSWMM_PRD_id
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
~MMPRDVariables()=default
VectorBranch< int > & m_NSWMM_PRD_nStrips
bool declare_keys() override final
TwoVectorBranch m_NSWMM_PRD_localPos
VectorBranch< float > & m_NSWMM_PRD_covMatrix_1_1
bool m_externalPush
Flag telling whether an external prd has been pushed.
void enableSeededDump()
Dumps only hits which are marked by the dumpAllHitsInChamber method.
MatrixBranch< T > & newMatrix(const std::string &name)
VectorBranch< int > & m_NSWMM_PRD_time