ATLAS Offline Software
Loading...
Searching...
No Matches
StripCluster_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
10static const SG::AuxElement::Accessor<std::array<float, 3> > globalPosAcc(
11 "globalPosition");
12const SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> >
14
19
24
25void xAOD::StripCluster_v1::setRDOlist(std::vector<Identifier::value_type>&& rdoList) {
26 s_rdoListAcc.set(*this,rdoList);
27}
28void xAOD::StripCluster_v1::setRDOlist(std::span<Identifier::value_type> rdoList) {
29 s_rdoListAcc.set(*this,rdoList);
30}
31
32//Custom setter for identifier inputs
33void xAOD::StripCluster_v1::setRDOlist(const std::vector<Identifier>& rdoList) {
34 std::vector<Identifier::value_type> rdos(rdoList.size());
35 for (std::size_t i(0); i < rdos.size(); ++i) {
36 rdos[i] = rdoList[i].get_compact();
37 }
38 s_rdoListAcc.set(*this,rdos);
39}
40
42 setChannelsInPhi)
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition")
static const SG::AuxElement::Accessor< std::array< float, 3 > > globalPosAcc("globalPosition")
Class describing strip clusters.
ConstVectorMap< 3 > globalPosition() const
Returns the global position of the strip cluster.
SG::ConstAccessor< SG::JaggedVecElt< Identifier::value_type > >::element_type rdoList() const
Returns the list of identifiers of the channels building the cluster.
void setRDOlist(const std::vector< Identifier > &rdolist)
Sets the list of identifiers of the channels building the cluster.
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
Eigen::Map< MeasVector< N > > VectorMap
static AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(EmTauRoI_v1, uint32_t, roiWord, setRoIWord) uint32_t EmTauRoI_v1 const SG::AuxElement::Accessor< std::vector< float > > values("thrValues")
This is a convenience function for accessing the threshold pattern part of the RoI.
Eigen::Map< const MeasVector< N > > ConstVectorMap