ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODInDetMeasurement
xAODInDetMeasurement
versions
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
8
#include "
GeoPrimitives/GeoPrimitives.h
"
9
#include "Identifier/Identifier.h"
10
#include "
xAODMeasurementBase/versions/UncalibratedMeasurement_v1.h
"
11
#include "
AthContainers/JaggedVecAccessor.h
"
12
#include <span>
13
14
namespace
xAOD
{
15
18
19
class
StripCluster_v1
:
public
UncalibratedMeasurement_v1
{
20
21
public
:
23
StripCluster_v1
() =
default
;
25
virtual
~StripCluster_v1
() =
default
;
26
29
31
xAOD::UncalibMeasType
type
()
const
override final {
32
return
xAOD::UncalibMeasType::StripClusterType
;
33
}
34
unsigned
int
numDimensions
()
const
override final {
return
1; }
35
37
ConstVectorMap<3>
globalPosition
()
const
;
38
VectorMap<3>
globalPosition
();
39
41
SG::ConstAccessor<SG::JaggedVecElt<Identifier::value_type>
>::element_type
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
63
void
setChannelsInPhi
(
int
channelsInPhi
);
64
66
static
const
SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> >
rdoListAcc
() {
return
s_rdoListAcc
; }
67
protected
:
68
static
const
SG::AuxElement::Accessor<SG::JaggedVecElt<Identifier::value_type> >
s_rdoListAcc
;
69
};
70
71
72
inline
73
SG::ConstAccessor<SG::JaggedVecElt<Identifier::value_type>
>::element_type
74
StripCluster_v1::rdoList
()
const
{
75
return
s_rdoListAcc
(*
this
);
76
}
77
78
}
// namespace xAOD
79
#include "
AthContainers/DataVector.h
"
80
DATAVECTOR_BASE
(
xAOD::StripCluster_v1
,
xAOD::UncalibratedMeasurement_v1
);
81
82
#endif
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
DATAVECTOR_BASE
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition
DataVector.h:649
GeoPrimitives.h
JaggedVecAccessor.h
Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.
UncalibratedMeasurement_v1.h
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition
ConstAccessor.h:55
xAOD::StripCluster_v1
Class describing strip clusters.
Definition
StripCluster_v1.h:19
xAOD::StripCluster_v1::globalPosition
ConstVectorMap< 3 > globalPosition() const
Returns the global position of the strip cluster.
Definition
StripCluster_v1.cxx:16
xAOD::StripCluster_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
StripCluster_v1.h:74
xAOD::StripCluster_v1::~StripCluster_v1
virtual ~StripCluster_v1()=default
Virtual destructor.
xAOD::StripCluster_v1::setRDOlist
void setRDOlist(const std::vector< Identifier > &rdolist)
Sets the list of identifiers of the channels building the cluster.
Definition
StripCluster_v1.cxx:34
xAOD::StripCluster_v1::channelsInPhi
int channelsInPhi() const
Returns the dimensions of the cluster in numbers of channels in phi (x), respectively.
xAOD::StripCluster_v1::StripCluster_v1
StripCluster_v1()=default
Default constructor.
xAOD::StripCluster_v1::type
xAOD::UncalibMeasType type() const override final
Returns the type of the strip cluster as a simple enumeration.
Definition
StripCluster_v1.h:31
xAOD::StripCluster_v1::numDimensions
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
Definition
StripCluster_v1.h:34
xAOD::StripCluster_v1::rdoListAcc
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > rdoListAcc()
Definition
StripCluster_v1.h:66
xAOD::StripCluster_v1::s_rdoListAcc
static const SG::AuxElement::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
Definition
StripCluster_v1.h:68
xAOD::StripCluster_v1::setChannelsInPhi
void setChannelsInPhi(int channelsInPhi)
Sets the dimensions of the cluster in numbers of channels in phi (x).
xAOD::UncalibratedMeasurement_v1
Definition
UncalibratedMeasurement_v1.h:13
xAOD::UncalibratedMeasurement_v1::UncalibratedMeasurement_v1
UncalibratedMeasurement_v1()=default
Default constructor.
const
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::VectorMap
Eigen::Map< MeasVector< N > > VectorMap
Definition
MeasurementDefs.h:63
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition
MeasurementDefs.h:24
xAOD::UncalibMeasType::StripClusterType
@ StripClusterType
Definition
MeasurementDefs.h:28
xAOD::ConstVectorMap
Eigen::Map< const MeasVector< N > > ConstVectorMap
Definition
MeasurementDefs.h:65
Generated on
for ATLAS Offline Software by
1.17.0