|
ATLAS Offline Software
|
Go to the documentation of this file.
13 PrdTesterModule(
tree,
"RDO_TGC", msglvl), m_key{container_name}, m_tgcCabling{cabling_svc} {}
19 if (!MuonDetMgr) {
return false; }
21 if (!tgcrdoContainer.isValid()) {
25 ATH_MSG_DEBUG(
"retrieved TGC rdo Container with size " << tgcrdoContainer->size());
27 if (tgcrdoContainer->size() == 0)
ATH_MSG_DEBUG(
" TGC rdo Container empty ");
28 unsigned int n_rdo{0};
29 for (
const TgcRdo* coll : *tgcrdoContainer) {
30 ATH_MSG_DEBUG(
"processing collection with size " << coll->size());
33 bool orFlag =
m_tgcCabling->isOredChannel(rdo->subDetectorId(),
40 bool e_found =
m_tgcCabling->getElementIDfromReadoutID(Id,
63 ATH_MSG_DEBUG(
"TGC RDO: local pos.: x=" << localStripPos[0] <<
", y=" << localStripPos[1]);
Eigen::Matrix< double, 2, 1 > Vector2D
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
VectorBranch< float > & m_TGC_rdo_localPosX
bool declare_keys() override final
This class provides conversion from CSC RDO data to CSC Digits.
virtual bool stripPosition(const Identifier &id, Amg::Vector2D &pos) const override
strip position If the strip number is outside the range of valid strips, the function will return fal...
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
void push_back(const Identifier &id) override final
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
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...
TgcIdentifierBranch m_TGC_rdo_id
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
VectorBranch< float > & m_TGC_rdo_localPosY
ScalarBranch< unsigned int > & m_TGC_nRDO
void push_back(const T &value)
Adds a new element at the end of the vector.
ThreeVectorBranch m_TGC_rdo_globalPos
Eigen::Matrix< double, 3, 1 > Vector3D
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
#define ATH_MSG_WARNING(x)
An unit object of TGC ROD output.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
ServiceHandle< MuonTGC_CablingSvc > m_tgcCabling
SG::ReadHandleKey< TgcRdoContainer > m_key
virtual void localToGlobal(const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
Specified for PlaneSurface: LocalToGlobal method without dynamic memory allocation.