ATLAS Offline Software
Loading...
Searching...
No Matches
StripCluster_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef XAODINDETMEASUREMENT_VERSION_STRIPCLUSTER_V1_H
6#define XAODINDETMEASUREMENT_VERSION_STRIPCLUSTER_V1_H
7
9#include "Identifier/Identifier.h"
12#include <span>
13
14namespace xAOD {
15
18
20
21 public:
23 StripCluster_v1() = default;
25 virtual ~StripCluster_v1() = default;
26
29
34 unsigned int numDimensions() const override final { return 1; }
35
39
42 rdoList() const;
43
46 int channelsInPhi() const;
47
49
52
54 void setRDOlist(const std::vector<Identifier>& rdolist);
55
57 void setRDOlist(std::vector<Identifier::value_type>&& rdolist);
58
60 void setRDOlist(std::span<Identifier::value_type> rdolist);
61
64
66 static const SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> > rdoListAcc() { return s_rdoListAcc; }
67protected:
68 static const SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> > s_rdoListAcc;
69};
70
71
72inline
75 return s_rdoListAcc(*this);
76}
77
78} // namespace xAOD
81
82#endif
An STL vector of pointers that by default owns its pointed-to elements.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition DataVector.h:649
Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.
Helper class to provide constant type-safe access to aux data.
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.
virtual ~StripCluster_v1()=default
Virtual destructor.
void setRDOlist(const std::vector< Identifier > &rdolist)
Sets the list of identifiers of the channels building the cluster.
int channelsInPhi() const
Returns the dimensions of the cluster in numbers of channels in phi (x), respectively.
StripCluster_v1()=default
Default constructor.
xAOD::UncalibMeasType type() const override final
Returns the type of the strip cluster as a simple enumeration.
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > rdoListAcc()
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
void setChannelsInPhi(int channelsInPhi)
Sets the dimensions of the cluster in numbers of channels in phi (x).
UncalibratedMeasurement_v1()=default
Default constructor.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Eigen::Map< MeasVector< N > > VectorMap
UncalibMeasType
Define the type of the uncalibrated measurement.
Eigen::Map< const MeasVector< N > > ConstVectorMap