|
ATLAS Offline Software
|
Go to the documentation of this file.
20 if (!mmprdContainer.isValid()) {
24 ATH_MSG_DEBUG(
"retrieved MM PRD Container with size " << mmprdContainer->size());
27 unsigned int n_PRD{0};
74 <<
", ex=" << std::setw(6) << std::setprecision(2) <<
cov(0,0));
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...
MatrixBranch< short unsigned > & m_NSWMM_PRD_stripNumbers
Class to represent MM measurements.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
virtual const Amg::Vector3D & globalPosition() const override final
Returns the global position.
VectorBranch< short > & m_NSWMM_PRD_author
Eigen::Matrix< double, 2, 1 > Vector2D
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
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...
void push_back(const Identifier &id) override final
unsigned int dump(const Muon::MMPrepData &prd)
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
#define ATH_MSG_VERBOSE(x)
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
std::unordered_map< Identifier, unsigned int > m_filteredPRDs
Set of particular chambers to be dumped.
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
void push_back(size_t i, const T &value)
const std::vector< int > & stripCharges() const
returns the list of charges
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
virtual const MuonGM::MMReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
void push_back(const Amg::Vector2D &vec)
interface using the Amg::Vector3D
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.
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
Template to hold collections of MuonPrepRawData objects.
const std::vector< short int > & stripTimes() const
returns the list of times
void push_back(const T &value)
Adds a new element at the end of the vector.
VectorBranch< uint8_t > & m_NSWMM_PRD_quality
Identifier identify() const
return the identifier
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
short int time() const
Returns the time (in ns)
Eigen::Matrix< double, 3, 1 > Vector3D
MmIdentifierBranch m_NSWMM_PRD_id
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.
Identifier identify() const override final
Returns the ATLAS Identifier of the MuonReadOutElement.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
VectorBranch< int > & m_NSWMM_PRD_time