16 if (!MuonDetMgr) {
return false; }
25 unsigned int n_digits{0};
28 ATH_MSG_DEBUG(
"processing collection with size " << coll->size());
29 for (
unsigned int digitNum = 0; digitNum < coll->size(); ++digitNum) {
30 const MdtDigit* digit = coll->at(digitNum);
35 ATH_MSG_ERROR(
"MDTDigitVariables::fillVariables() - Failed to retrieve MDTReadoutElement for "<<
idHelperSvc()->mdtIdHelper().print_to_string(Id).c_str());
size_t size() const
Duplicate of fullSize for backwards compatability.
Use IdentifiableContainer with MdtDigitCollection.
size_type digit_size() const
int numberOfMultilayers(const Identifier &id) const
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube) const
Amg::Vector3D tubePos(const Identifier &id) const
Returns the global position of the given tube.
virtual const Amg::Transform3D & transform(const Identifier &id) const override final
Return local to global transform associated with this identifier.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
MdtDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
MdtIdentifierBranch m_MDT_digit_id
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...
VectorBranch< float > & m_MDT_dig_time
SG::ReadHandleKey< MdtDigitContainer > m_digitKey
VectorBranch< float > & m_MDT_dig_charge
ScalarBranch< int > & m_MDT_nDigits
ThreeVectorBranch m_MDT_dig_localTubePos
ThreeVectorBranch m_MDT_dig_globalPos
VectorBranch< int > & m_MDT_dig_numberOfMultilayers
bool declare_keys() override final
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
const Muon::IMuonIdHelperSvc * idHelperSvc() const
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
TTree * tree() override final
Returns the underlying TTree object.
virtual const MdtIdHelper & mdtIdHelper() const =0
access to MdtIdHelper
Eigen::Matrix< double, 3, 1 > Vector3D