|
ATLAS Offline Software
|
Go to the documentation of this file.
13 if (!MuonDetMgr) {
return false; }
15 ATH_MSG_VERBOSE(
"MuonDetectorManager from Conditions Store accessed" << MuonDetMgr);
20 if (!mdtSdoContainer.isValid()) {
25 for (
const auto& coll : *mdtSdoContainer) {
32 std::vector<MuonSimData::Deposit> deposits;
40 int barcode = deposits[0].first.barcode();
41 double MuonMCdata_firstentry = deposits[0].second.firstEntry();
42 double MuonMCdata_secondentry = deposits[0].second.secondEntry();
45 ATH_MSG_DEBUG(
"MDT SDO localPosX=" << std::setw(9) << std::setprecision(2) << MuonMCdata_firstentry
46 <<
", localPosY=" << std::setw(9) << std::setprecision(2) << MuonMCdata_secondentry);
void push_back(const Identifier &id) override final
const MuonGM::MuonDetectorManager * getDetMgr(const EventContext &ctx) const
MdtSDOVariables(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ScalarBranch< unsigned int > & m_mdt_nsdo
bool declare_keys() override final
SG::ReadHandleKey< MuonSimDataCollection > m_sdo_key
#define ATH_MSG_VERBOSE(x)
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
void deposits(std::vector< Deposit > &deposits) const
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
ThreeVectorBranch m_mdt_sdo_globalPos
VectorBranch< int > & m_mdt_sdo_barcode
MdtIdentifierBranch m_mdt_sdo_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...
void push_back(const T &value)
Adds a new element at the end of the vector.
VectorBranch< int > & m_mdt_sdo_word
VectorBranch< float > & m_mdt_sdo_localPosY
VectorBranch< float > & m_mdt_sdo_globalTime
The MuonDetectorManager stores the transient representation of the Muon Spectrometer geometry and pro...
VectorBranch< float > & m_mdt_sdo_localPosX
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Handle class for reading from StoreGate.
const Amg::Vector3D globalPosition() const