ATLAS Offline Software
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 
11 namespace 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>
78  void setMeasurement(const DetectorIDHashType idHash, MeasVector<N> locPos,
79  MeasMatrix<N> locCov);
81 };
82 
83 } // namespace xAOD
84 
86 #endif // XAODMEASUREMENTBASE_VERSION_UNCALIBRATEDMEASUREMENT_V1_H
xAOD::UncalibratedMeasurement_v1::identifier
DetectorIdentType identifier() const
Returns the full Identifier of the measurement.
xAOD::UncalibratedMeasurement_v1::identifierHash
DetectorIDHashType identifierHash() const
Returns the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
xAOD::DetectorIdentType
long unsigned int DetectorIdentType
Definition: MeasurementDefs.h:43
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:483
xAOD::ConstMatrixMap
Eigen::Map< const MeasMatrix< N > > ConstMatrixMap
Definition: MeasurementDefs.h:64
xAOD::UncalibratedMeasurement_v1::UncalibratedMeasurement_v1
UncalibratedMeasurement_v1(UncalibratedMeasurement_v1 &&)=delete
xAOD::UncalibratedMeasurement_v1::operator=
UncalibratedMeasurement_v1 & operator=(const UncalibratedMeasurement_v1 &)=default
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::UncalibratedMeasurement_v1::localPosition
VectorMap< N > localPosition()
Returns the local position as mutable eigen map which can be assigned as well.
xAOD::UncalibratedMeasurement_v1::UncalibratedMeasurement_v1
UncalibratedMeasurement_v1(const UncalibratedMeasurement_v1 &)=default
Default copy constructors.
UncalibratedMeasurement_v1.icc
xAOD::MatrixMap
Eigen::Map< MeasMatrix< N > > MatrixMap
Definition: MeasurementDefs.h:62
xAOD::UncalibratedMeasurement_v1::UncalibratedMeasurement_v1
UncalibratedMeasurement_v1()=default
Default constructor.
xAOD::UncalibratedMeasurement_v1::setIdentifier
void setIdentifier(const DetectorIdentType measId)
Sets the full Identifier of the measurement.
xAOD::UncalibratedMeasurement_v1
Definition: UncalibratedMeasurement_v1.h:13
xAOD::UncalibratedMeasurement_v1::setIdentifierHash
void setIdentifierHash(const DetectorIDHashType idHash)
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
xAOD::UncalibratedMeasurement_v1::type
virtual xAOD::UncalibMeasType type() const =0
Returns the type of the measurement type as a simple enumeration.
xAOD::UncalibratedMeasurement_v1::localCovariance
ConstMatrixMap< N > localCovariance() const
Returns the local covariance of the measurement.
MeasurementDefs.h
xAOD::UncalibratedMeasurement_v1::localPosition
ConstVectorMap< N > localPosition() const
Returns the local position of the measurement.
xAOD::UncalibratedMeasurement_v1::~UncalibratedMeasurement_v1
virtual ~UncalibratedMeasurement_v1()=default
Virtual destructor.
xAOD::UncalibratedMeasurement_v1::numDimensions
virtual unsigned int numDimensions() const =0
Returns the number of dimensions of the measurement.
xAOD::MeasVector
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
Definition: MeasurementDefs.h:52
xAOD::UncalibratedMeasurement_v1::localCovariance
MatrixMap< N > localCovariance()
Returns the local covariance as mutable eigen map which can be assigned as well.
xAOD::DetectorIDHashType
unsigned int DetectorIDHashType
@ detector ID element hash
Definition: MeasurementDefs.h:42
xAOD::UncalibratedMeasurement_v1::operator=
UncalibratedMeasurement_v1 & operator=(UncalibratedMeasurement_v1 &&)=delete
xAOD::UncalibratedMeasurement_v1::setMeasurement
void setMeasurement(const DetectorIDHashType idHash, MeasVector< N > locPos, MeasMatrix< N > locCov)
Sets IdentifierHash, local position and local covariance of the measurement.
xAOD::VectorMap
Eigen::Map< MeasVector< N > > VectorMap
Definition: MeasurementDefs.h:57
xAOD::UncalibMeasType
UncalibMeasType
Define the type of the uncalibrated measurement.
Definition: MeasurementDefs.h:24
xAOD::MeasMatrix
Eigen::Matrix< float, N, N > MeasMatrix
Definition: MeasurementDefs.h:54
xAOD::ConstVectorMap
Eigen::Map< const MeasVector< N > > ConstVectorMap
Definition: MeasurementDefs.h:59