ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODInDetMeasurement
xAODInDetMeasurement
versions
HGTDCluster_v1.h
Go to the documentation of this file.
1
9
10
#ifndef XAODINDETMEASUREMENT_HGTDCLUSTER_V1_H
11
#define XAODINDETMEASUREMENT_HGTDCLUSTER_V1_H
12
13
#include "
GeoPrimitives/GeoPrimitives.h
"
14
#include "Identifier/Identifier.h"
15
#include "
xAODMeasurementBase/versions/UncalibratedMeasurement_v1.h
"
16
#include "
AthContainers/JaggedVecAccessor.h
"
17
18
namespace
xAOD
{
19
22
23
24
class
HGTDCluster_v1
:
public
UncalibratedMeasurement_v1
{
25
26
public
:
27
29
HGTDCluster_v1
() =
default
;
31
virtual
~HGTDCluster_v1
() =
default
;
32
33
35
xAOD::UncalibMeasType
type
()
const
override final {
36
return
xAOD::UncalibMeasType::HGTDClusterType
;
37
}
38
unsigned
int
numDimensions
()
const
override final {
return
3; }
39
40
42
SG::ConstAccessor<SG::JaggedVecElt<Identifier::value_type>
>::element_type
43
rdoList
()
const
;
44
45
46
48
SG::ConstAccessor<SG::JaggedVecElt<int>
>::element_type
49
totList
()
const
;
50
52
float
time
()
const
;
53
55
float
timeCovariance
()
const
;
56
59
61
void
setRDOlist
(std::vector<Identifier::value_type>&&
rdoList
);
65
void
setRDOlist
(
const
std::vector<Identifier>& rdolist);
66
68
void
setToTlist
(
const
std::vector<int>& tots);
69
70
static
const
SG::Accessor<SG::JaggedVecElt<Identifier::value_type>
>
rdoListAcc
() {
return
s_rdoListAcc
; }
71
static
const
SG::Accessor<SG::JaggedVecElt<int>
>
totListAcc
() {
return
s_totListAcc
; }
72
74
76
static
float
time
(
ConstVectorMap<3>
local_position);
77
static
float
time
(
VectorMap<3>
local_position);
79
static
float
timeCovariance
(
ConstMatrixMap<3>
local_covariance);
80
static
float
timeCovariance
(
MatrixMap<3>
local_covariance);
81
protected
:
82
static
const
SG::Accessor<SG::JaggedVecElt<Identifier::value_type>
>
s_rdoListAcc
;
83
static
const
SG::Accessor<SG::JaggedVecElt<int>
>
s_totListAcc
;
84
public
:
85
86
};
87
88
inline
89
SG::ConstAccessor<SG::JaggedVecElt<Identifier::value_type>
>::element_type
90
HGTDCluster_v1::rdoList
()
const
{
91
return
s_rdoListAcc
(*
this
);
92
}
93
94
inline
95
SG::ConstAccessor<SG::JaggedVecElt<int>
>::element_type
96
HGTDCluster_v1::totList
()
const
{
97
return
s_totListAcc
(*
this
);
98
}
99
100
inline
float
HGTDCluster_v1::time
(
VectorMap<3>
local_position) {
101
return
local_position[2];
102
}
103
inline
float
HGTDCluster_v1::timeCovariance
(
MatrixMap<3>
local_covariance) {
104
return
local_covariance(2,2);
105
}
106
inline
float
HGTDCluster_v1::time
(
ConstVectorMap<3>
local_position) {
107
return
local_position[2];
108
}
109
inline
float
HGTDCluster_v1::timeCovariance
(
ConstMatrixMap<3>
local_covariance) {
110
return
local_covariance(2,2);
111
}
112
inline
float
HGTDCluster_v1::time
()
const
{
113
return
HGTDCluster_v1::time
(this->
localPosition<3>
());
114
}
115
inline
float
HGTDCluster_v1::timeCovariance
()
const
{
116
return
HGTDCluster_v1::timeCovariance
(this->
localCovariance<3>
());
117
}
118
119
}
// namespace xAOD
120
#include "
AthContainers/DataVector.h
"
121
DATAVECTOR_BASE
(
xAOD::HGTDCluster_v1
,
xAOD::UncalibratedMeasurement_v1
);
122
#endif
// XAODHGTDCluster_v1_H
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:651
GeoPrimitives.h
JaggedVecAccessor.h
Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.
UncalibratedMeasurement_v1.h
SG::Accessor
Helper class to provide type-safe access to aux data.
Definition
Control/AthContainers/AthContainers/Accessor.h:68
SG::ConstAccessor
Helper class to provide constant type-safe access to aux data.
Definition
ConstAccessor.h:55
xAOD::HGTDCluster_v1
Definition
HGTDCluster_v1.h:24
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::totListAcc
static const SG::Accessor< SG::JaggedVecElt< int > > totListAcc()
Definition
HGTDCluster_v1.h:71
xAOD::HGTDCluster_v1::timeCovariance
float timeCovariance() const
Return the covariance of the measured time in ns squared.
Definition
HGTDCluster_v1.h:115
xAOD::HGTDCluster_v1::numDimensions
unsigned int numDimensions() const override final
Returns the number of dimensions of the measurement.
Definition
HGTDCluster_v1.h:38
xAOD::HGTDCluster_v1::totList
SG::ConstAccessor< SG::JaggedVecElt< int > >::element_type totList() const
Returns the list of Time Over Threshold of the channels building the cluster.
Definition
HGTDCluster_v1.h:96
xAOD::HGTDCluster_v1::s_totListAcc
static const SG::Accessor< SG::JaggedVecElt< int > > s_totListAcc
Definition
HGTDCluster_v1.h:83
xAOD::HGTDCluster_v1::rdoListAcc
static const SG::Accessor< SG::JaggedVecElt< Identifier::value_type > > rdoListAcc()
Definition
HGTDCluster_v1.h:70
xAOD::HGTDCluster_v1::type
xAOD::UncalibMeasType type() const override final
Returns the type of the HGTD cluster as a simple enumeration.
Definition
HGTDCluster_v1.h:35
xAOD::HGTDCluster_v1::time
float time() const
Return the measured time in ns.
Definition
HGTDCluster_v1.h:112
xAOD::HGTDCluster_v1::~HGTDCluster_v1
virtual ~HGTDCluster_v1()=default
Virtual destructor.
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
xAOD::HGTDCluster_v1::s_rdoListAcc
static const SG::Accessor< SG::JaggedVecElt< Identifier::value_type > > s_rdoListAcc
Definition
HGTDCluster_v1.h:82
xAOD::HGTDCluster_v1::HGTDCluster_v1
HGTDCluster_v1()=default
Default constructor.
xAOD::UncalibratedMeasurement_v1
Definition
UncalibratedMeasurement_v1.h:13
xAOD::UncalibratedMeasurement_v1::UncalibratedMeasurement_v1
UncalibratedMeasurement_v1()=default
Default constructor.
xAOD::UncalibratedMeasurement_v1::localCovariance
ConstMatrixMap< N > localCovariance() const
Returns the local covariance of the measurement.
xAOD::UncalibratedMeasurement_v1::localPosition
ConstVectorMap< N > localPosition() const
Returns the local position of the measurement.
const
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
xAOD::ConstMatrixMap
Eigen::Map< const MeasMatrix< N > > ConstMatrixMap
Definition
MeasurementDefs.h:70
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::HGTDClusterType
@ HGTDClusterType
Definition
MeasurementDefs.h:36
xAOD::MatrixMap
Eigen::Map< MeasMatrix< N > > MatrixMap
Definition
MeasurementDefs.h:68
xAOD::ConstVectorMap
Eigen::Map< const MeasVector< N > > ConstVectorMap
Definition
MeasurementDefs.h:65
Generated on
for ATLAS Offline Software by
1.17.0