5#ifndef XAODMEASUREMENTBASE_MEASUREMENTDEFS_H
6#define XAODMEASUREMENTBASE_MEASUREMENTDEFS_H
14#define AUX_MEASUREMENTVAR(VAR, DIM) \
16 static const std::string varName = \
17 std::string{#VAR} + "Dim" + std::to_string(DIM); \
18 static const auxid_t auxId = getAuxID(varName, VAR); \
19 regAuxVar(auxId, varName, VAR); \
71 for (
int i =0 ; i < N ; ++i)
vec[i] = amgVec[i];
80 for (
int i =0 ; i < N; ++i){
81 for (
int j =0 ; j < N; ++j) {
82 mat(i,j) = amgMat(i, j);
91 for (
int i=0; i < N; ++i){
92 for (
int j =0; j < N; ++j){
93 mat(i, j) = xAODmat(i, j);
101 for (
int i = 0 ; i < N; ++i) {
Base class for elements of a container that can have aux data.
std::vector< size_t > vec
Ensure that eigen aux variables get properly zeroed.
#define AmgSymMatrix(dim)
SG::Accessor< T, ALLOC > Accessor
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
SG::AuxElement::Accessor< std::array< float, N > > PosAccessor
xAOD Accessor to the position
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
MeasVector< N > toStorage(const AmgVector(N)&amgVec)
Converts the double precision of the AmgVector into the floating point storage precision of the MeasV...
UncalibMeasType
Define the type of the uncalibrated measurement.
SG::AuxElement::Accessor< std::array< float, N *N > > CovAccessor
xAOD Accessor to the covariance
Eigen::Map< MeasMatrix< N > > MatrixMap
unsigned int DetectorIDHashType
@ detector ID element hash
Eigen::Map< const MeasVector< N > > ConstVectorMap