ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODInDetMeasurement
Root
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):
6
#include "
xAODCore/AuxStoreAccessorMacros.h
"
7
// Local include(s):
8
#include "
xAODInDetMeasurement/versions/HGTDCluster_v1.h
"
9
10
// rdoList
11
const
SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> >
12
xAOD::HGTDCluster_v1::s_rdoListAcc
(
"rdoList"
);
13
14
15
void
xAOD::HGTDCluster_v1::setRDOlist
(std::vector<Identifier::value_type>&&
rdoList
) {
16
s_rdoListAcc
.set(*
this
,
rdoList
);
17
}
18
void
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
27
const
SG::AuxElement::Accessor<SG::JaggedVecElt<int> >
28
xAOD::HGTDCluster_v1::s_totListAcc
(
"totList"
);
29
30
void
xAOD::HGTDCluster_v1::setToTlist
(
const
std::vector<int>& tots) {
31
s_totListAcc
.set(*
this
,tots);
32
}
AuxStoreAccessorMacros.h
HGTDCluster_v1.h
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration.
xAOD::HGTDCluster_v1::setRDOlist
void setRDOlist(std::vector< Identifier::value_type > &&rdoList)
Sets the list of identifiers of the channels building the cluster.
Definition
HGTDCluster_v1.cxx:15
xAOD::HGTDCluster_v1::s_rdoListAcc
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
Definition
HGTDCluster_v1.h:82
xAOD::HGTDCluster_v1::s_totListAcc
static const SG::AuxElement::Accessor< SG::JaggedVecElt< int > > s_totListAcc
Definition
HGTDCluster_v1.h:83
xAOD::HGTDCluster_v1::rdoList
SG::ConstAccessor< SG::JaggedVecElt< Identifier::value_type > >::element_type rdoList() const
Returns the list of identifiers of the channels building the cluster.
Definition
HGTDCluster_v1.h:90
xAOD::HGTDCluster_v1::setToTlist
void setToTlist(const std::vector< int > &tots)
Sets the list of ToT of the channels building the cluster.
Definition
HGTDCluster_v1.cxx:30
Generated on
for ATLAS Offline Software by
1.17.0