|
ATLAS Offline Software
|
Go to the documentation of this file.
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) {
35 ATH_MSG_ERROR(
"MDTDigitVariables::fillVariables() - Failed to retrieve MDTReadoutElement for "<<
idHelperSvc()->mdtIdHelper().print_to_string(Id).c_str());
MdtIdentifierBranch m_MDT_digit_id
ThreeVectorBranch m_MDT_dig_localTubePos
void push_back(const Identifier &id) override final
VectorBranch< float > & m_MDT_dig_charge
int numberOfMultilayers(const Identifier &id) const
ThreeVectorBranch m_MDT_dig_globalPos
VectorBranch< float > & m_MDT_dig_time
size_t size() const
Duplicate of fullSize for backwards compatability.
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
ScalarBranch< int > & m_MDT_nDigits
MdtDigitVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
SG::ReadHandleKey< MdtDigitContainer > m_digitKey
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
size_type digit_size() const
const MdtReadoutElement * getMdtReadoutElement(const Identifier &id) const
access via extended identifier (requires unpacking)
bool declare_keys() override final
VectorBranch< int > & m_MDT_dig_numberOfMultilayers
void push_back(const T &value)
Adds a new element at the end of the vector.
Use IdentifiableContainer with MdtDigitCollection.
Identifier channelID(int stationName, int stationEta, int stationPhi, int multilayer, int tubeLayer, int tube) const
virtual const MdtIdHelper & mdtIdHelper() const =0
access to MdtIdHelper
Eigen::Matrix< double, 3, 1 > Vector3D
Amg::Vector3D tubePos(const Identifier &id) const
Returns the global position of the given tube.
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
const Muon::IMuonIdHelperSvc * idHelperSvc() const
virtual const Amg::Transform3D & transform(const Identifier &id) const override final
Return local to global transform associated with this identifier.
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...