ATLAS Offline Software
Loading...
Searching...
No Matches
HGTDCluster_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5// EDM include(s):
7// Local include(s):
9
10// rdoList
11const SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> >
13
14
15void xAOD::HGTDCluster_v1::setRDOlist(std::vector<Identifier::value_type>&& rdoList) {
16 s_rdoListAcc.set(*this,rdoList);
17}
18void xAOD::HGTDCluster_v1::setRDOlist(const std::vector<Identifier>& rdoList) {
19 std::vector<Identifier::value_type> rdos(rdoList.size());
20 for (std::size_t i(0); i < rdos.size(); ++i) {
21 rdos[i] = rdoList[i].get_compact();
22 }
23 s_rdoListAcc.set(*this,rdos);
24}
25
26// totList
27const SG::AuxElement::Accessor<SG::JaggedVecElt<int> >
29
30void xAOD::HGTDCluster_v1::setToTlist(const std::vector<int>& tots) {
31 s_totListAcc.set(*this,tots);
32}
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
void setRDOlist(std::vector< Identifier::value_type > &&rdoList)
Sets the list of identifiers of the channels building the cluster.
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
static const SG::AuxElement::Accessor< SG::JaggedVecElt< int > > s_totListAcc
SG::ConstAccessor< SG::JaggedVecElt< Identifier::value_type > >::element_type rdoList() const
Returns the list of identifiers of the channels building the cluster.
void setToTlist(const std::vector< int > &tots)
Sets the list of ToT of the channels building the cluster.