|
ATLAS Offline Software
|
Go to the documentation of this file.
17 if (!MuonDetMgr) {
return false; }
19 if (!MMDigitContainer.isValid()) {
24 ATH_MSG_DEBUG(
"retrieved MM Digit Container with size " << MMDigitContainer->digit_size());
26 if (MMDigitContainer->size() == 0)
ATH_MSG_DEBUG(
" MM Digit Container empty ");
27 unsigned int n_digits{0};
29 ATH_MSG_DEBUG(
"processing collection with size " << coll->size());
35 ATH_MSG_ERROR(
"MMDigitVariables::fillVariables() - Failed to retrieve MMReadoutElement for "<<
idHelperSvc()->mmIdHelper().print_to_string(Id).c_str());
42 ATH_MSG_WARNING(
"MMDigitVariables: failed to associate a valid local position for (chip response) strip n. "
43 <<
"; associated positions will be set to 0.0.");
virtual bool stripPosition(const Identifier &id, Amg::Vector2D &pos) const override final
strip position – local or global If the strip number is outside the range of valid strips,...
Eigen::Matrix< double, 2, 1 > Vector2D
MMDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
void push_back(const Identifier &id) override final
virtual const Trk::PlaneSurface & surface() const override
access to chamber surface (phi orientation), uses the first gas gap
TwoVectorBranch m_NSWMM_dig_stripLpos
ScalarBranch< unsigned int > & m_NSWMM_nDigits
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
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 Amg::Vector3D &vec)
interface using the Amg::Vector3D
void push_back(const Amg::Vector2D &vec)
interface using the Amg::Vector3D
MmIdentifierBranch m_NSWMM_dig_id
SG::ReadHandleKey< MmDigitContainer > m_key
ThreeVectorBranch m_NSWMM_dig_stripGpos
bool declare_keys() override final
Eigen::Matrix< double, 3, 1 > Vector3D
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
#define ATH_MSG_WARNING(x)
const MMReadoutElement * getMMReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
const Muon::IMuonIdHelperSvc * idHelperSvc() const
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
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.