|
ATLAS Offline Software
|
Go to the documentation of this file.
16 if (!mmSdoContainer.isValid()) {
20 unsigned int n_sdo{0};
21 for (
const auto& coll : *mmSdoContainer) {
29 std::vector<MuonSimData::Deposit> deposits;
37 int barcode = deposits[0].first.barcode();
38 double MuonMCdata_firstentry = deposits[0].second.firstEntry();
39 double MuonMCdata_secondentry = deposits[0].second.secondEntry();
42 ATH_MSG_DEBUG(
"MM SDO local position X=" << std::setw(9) << std::setprecision(2) << MuonMCdata_firstentry
43 <<
", local position Y=" << std::setw(9) << std::setprecision(2) << MuonMCdata_secondentry);
ThreeVectorBranch m_NSWMM_dig_globalPos
VectorBranch< float > & m_NSWMM_sdo_localPosY
MmIdentifierBranch m_NSWMM_sdo_id
void push_back(const Identifier &id) override final
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...
ScalarBranch< unsigned int > & m_NSWMM_nsdo
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
bool declare_keys() override final
VectorBranch< float > & m_NSWMM_sdo_localPosX
VectorBranch< int > & m_NSWMM_sdo_barcode
SG::ReadHandleKey< MuonSimDataCollection > m_key
void push_back(const T &value)
Adds a new element at the end of the vector.
VectorBranch< float > & m_NSWMM_sdo_globaltime
Eigen::Matrix< double, 3, 1 > Vector3D
VectorBranch< int > & m_NSWMM_sdo_word
MMSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
const Amg::Vector3D globalPosition() const