15 if (!MuonDetMgr) {
return false; }
25 unsigned int n_digits{0};
27 ATH_MSG_DEBUG(
"processing collection with size " << coll->size());
28 for (
const TgcDigit* digit : *coll) {
34 ATH_MSG_ERROR(
"TGCDigitVariables::fillVariables() - Failed to retrieve TGCReadoutElement for "<<
idHelperSvc()->tgcIdHelper().print_to_string(Id).c_str());
size_t size() const
Duplicate of fullSize for backwards compatability.
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const TgcReadoutElement * getTgcReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
A TgcReadoutElement corresponds to a single TGC chamber; therefore typically a TGC station contains s...
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...
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
const Muon::IMuonIdHelperSvc * idHelperSvc() const
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ThreeVectorBranch m_TGC_dig_globalPos
TgcDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
ScalarBranch< unsigned int > & m_TGC_nDigits
TgcIdentifierBranch m_TGC_dig_id
TwoVectorBranch m_TGC_dig_localPos
VectorBranch< uint8_t > & m_TGC_dig_bcId
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...
bool declare_keys() override final
SG::ReadHandleKey< TgcDigitContainer > m_key
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
TTree * tree() override final
Returns the underlying TTree object.
Use IdentifiableContainer with TgcDigitCollection.
size_type digit_size() const
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.
Eigen::Matrix< double, 2, 1 > Vector2D
Eigen::Matrix< double, 3, 1 > Vector3D