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);
const Muon::IMuonIdHelperSvc * idHelperSvc() const
PrdTesterModule(MuonTesterTree &tree, const std::string &grp_name, MSG::Level msglvl)
ThreeVectorBranch m_TGC_dig_globalPos
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...
ScalarBranch< unsigned int > & m_tgc_nsdo
bool declare_keys() override final
VectorBranch< int > & m_tgc_sdo_word
VectorBranch< int > & m_tgc_sdo_barcode
SG::ReadHandleKey< MuonSimDataCollection > m_key
VectorBranch< float > & m_tgc_sdo_localPosX
TgcIdentifierBranch m_tgc_sdo_id
TgcSDOVariables(MuonTesterTree &tree, const std::string &container_name, MSG::Level msglvl)
VectorBranch< float > & m_tgc_sdo_globaltime
void deposits(std::vector< Deposit > &deposits) const
const Amg::Vector3D globalPosition() const
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 bool isValid() override final
Can the handle be successfully dereferenced?