ATLAS Offline Software
Loading...
Searching...
No Matches
UncalibratedMeasurement_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef XAODMEASUREMENTBASE_VERSION_UNCALIBRATEDMEASUREMENT_V1_H
6#define XAODMEASUREMENTBASE_VERSION_UNCALIBRATEDMEASUREMENT_V1_H
7
8// EDM include(s):
10
11namespace xAOD {
12
14
15 public:
21 default;
22
24 virtual ~UncalibratedMeasurement_v1() = default;
25
28 delete;
29
32
38
40 template <int N>
44 template <int N>
47 template <int N>
49
52 template <int N>
55 virtual xAOD::UncalibMeasType type() const = 0;
57 virtual unsigned int numDimensions() const = 0;
58
60
63
68 void setIdentifier(const DetectorIdentType measId);
69
71
74
77 template <int N>
79 MeasMatrix<N> locCov);
81};
82
83} // namespace xAOD
84
86#endif // XAODMEASUREMENTBASE_VERSION_UNCALIBRATEDMEASUREMENT_V1_H
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
void setMeasurement(const DetectorIDHashType idHash, MeasVector< N > locPos, MeasMatrix< N > locCov)
Sets IdentifierHash, local position and local covariance of the measurement.
UncalibratedMeasurement_v1()=default
Default constructor.
UncalibratedMeasurement_v1(const UncalibratedMeasurement_v1 &)=default
Default copy constructors.
UncalibratedMeasurement_v1(UncalibratedMeasurement_v1 &&)=delete
UncalibratedMeasurement_v1 & operator=(UncalibratedMeasurement_v1 &&)=delete
virtual ~UncalibratedMeasurement_v1()=default
Virtual destructor.
ConstMatrixMap< N > localCovariance() const
Returns the local covariance of the measurement.
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
void setIdentifierHash(const DetectorIDHashType idHash)
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
DetectorIdentType identifier() const
Returns the full Identifier of the measurement.
ConstVectorMap< N > localPosition() const
Returns the local position of the measurement.
virtual unsigned int numDimensions() const =0
Returns the number of dimensions of the measurement.
UncalibratedMeasurement_v1 & operator=(const UncalibratedMeasurement_v1 &)=default
void setIdentifier(const DetectorIdentType measId)
Sets the full Identifier of the measurement.
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
VectorMap< N > localPosition()
Returns the local position as mutable eigen map which can be assigned as well.
MatrixMap< N > localCovariance()
Returns the local covariance as mutable eigen map which can be assigned as well.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Eigen::Matrix< float, N, N > MeasMatrix
Eigen::Map< const MeasMatrix< N > > ConstMatrixMap
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
Eigen::Map< MeasVector< N > > VectorMap
long unsigned int DetectorIdentType
UncalibMeasType
Define the type of the uncalibrated measurement.
Eigen::Map< MeasMatrix< N > > MatrixMap
unsigned int DetectorIDHashType
@ detector ID element hash
Eigen::Map< const MeasVector< N > > ConstVectorMap