5#ifndef XAODINDETMEASUREMENT_VERSION_SPACEPOINT_V1_H
6#define XAODINDETMEASUREMENT_VERSION_SPACEPOINT_V1_H
9#include "Identifier/Identifier.h"
32 using VectorMap = Eigen::Map<Eigen::Matrix<float, 3, 1>>;
52 const std::vector< const xAOD::UncalibratedMeasurement* >&
measurements()
const;
74 std::optional<float>
t()
const {
return std::nullopt; }
92 void setMeasurements(std::vector< const xAOD::UncalibratedMeasurement* > && value );
100 const Eigen::Matrix<float,3,1>& globPos,
101 float cov_r,
float cov_z,
102 std::vector< const xAOD::UncalibratedMeasurement* >&& measurementIndexes);
104 void setSpacePoint(std::vector<DetectorIDHashType>&& idHashes,
105 const Eigen::Matrix<float,3,1>& globPos,
106 float cov_r,
float cov_z,
107 std::vector< const xAOD::UncalibratedMeasurement* >&& measurementIndexes,
Base class for elements of a container that can have aux data.
Base class for elements of a container that can have aux data.
void setTopHalfStripLength(float)
ConstVectorMap stripCenterDistance() const
void setMeasurements(std::vector< const xAOD::UncalibratedMeasurement * > &&value)
Sets the index of the measurements.
float bottomHalfStripLength() const
const std::vector< DetectorIDHashType > & elementIdList() const
Returns the IdentifierHash of the spacepoint (corresponds to the detector element IdentifierHash)
float varianceR() const
Returns the variances.
void setSpacePoint(DetectorIDHashType idHash, const Eigen::Matrix< float, 3, 1 > &globPos, float cov_r, float cov_z, std::vector< const xAOD::UncalibratedMeasurement * > &&measurementIndexes)
ConstVectorMap bottomStripDirection() const
std::optional< float > t() const
ConstVectorMap topStripCenter() const
const std::vector< const xAOD::UncalibratedMeasurement * > & measurements() const
Returns the index of the measurements.
void setBottomHalfStripLength(float)
Eigen::Map< Eigen::Matrix< float, 3, 1 > > VectorMap
Eigen::Map< const Eigen::Matrix< float, 3, 1 > > ConstVectorMap
void setRadius(float)
Set the radius.
void setElementIdList(std::vector< DetectorIDHashType > &&idHash)
Sets the IdentifierHash of the measurement (corresponds to the detector element IdentifierHash)
void setVarianceR(float)
Sets the variances.
ConstVectorMap globalPosition() const
Returns the global position of the pixel cluster.
float topHalfStripLength() const
Return details.
ConstVectorMap topStripDirection() const
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
unsigned int DetectorIDHashType
@ detector ID element hash
A struct mimicking std::array<float ,3> this structure is a temporary solution for our dynamic variab...
const float * data() const