|
ATLAS Offline Software
|
Go to the documentation of this file.
15 if (!tgcSdoContainer.isValid()) {
19 unsigned int n_sdo{0};
20 for (
const auto& coll : *tgcSdoContainer) {
30 std::vector<MuonSimData::Deposit> deposits;
35 int barcode = deposits[0].first.barcode();
36 double MuonMCdata_firstentry = deposits[0].second.firstEntry();
37 double MuonMCdata_secondentry = deposits[0].second.secondEntry();
40 ATH_MSG_DEBUG(
"TGC SDO localPosX=" << std::setw(9) << std::setprecision(2) << MuonMCdata_firstentry
41 <<
", localPosY=" << std::setw(9) << std::setprecision(2) << MuonMCdata_secondentry);
TgcIdentifierBranch m_tgc_sdo_id
VectorBranch< int > & m_tgc_sdo_word
SG::ReadHandleKey< MuonSimDataCollection > m_key
VectorBranch< float > & m_tgc_sdo_localPosX
ThreeVectorBranch m_TGC_dig_globalPos
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 push_back(const Identifier &id) override final
void deposits(std::vector< Deposit > &deposits) const
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
VectorBranch< float > & m_tgc_sdo_localPosY
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.
ScalarBranch< unsigned int > & m_tgc_nsdo
bool declare_keys() override final
VectorBranch< float > & m_tgc_sdo_globaltime
const Muon::IMuonIdHelperSvc * idHelperSvc() const
VectorBranch< int > & m_tgc_sdo_barcode
const Amg::Vector3D globalPosition() const
TgcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)