 |
ATLAS Offline Software
|
Go to the documentation of this file.
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) {
AmgSymMatrix(N) toEigen(const ConstMatrixMap< N > &xAODmat) requires(N > 1)
long unsigned int DetectorIdentType
Helper class to provide type-safe access to aux data.
Eigen::Map< const MeasMatrix< N > > ConstMatrixMap
MeasVector< N > toStorage(const AmgVector(N)&amgVec)
Converts the double precision of the AmgVector into the floating point storage precision of the MeasV...
requires requires()
This specialization is used for classes deriving from DataObject.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
std::vector< size_t > vec
Eigen::Map< MeasMatrix< N > > MatrixMap
typename vecDetail::vec_typedef< T, N >::type vec
Define a nice alias for the vectorized type.
AmgVector(N) toEigen(const ConstVectorMap< N > &xAODvec)
Ensure that eigen aux variables get properly zeroed.
Eigen::Matrix< float, N, 1 > MeasVector
Abrivation of the Matrix & Covariance definitions.
unsigned int DetectorIDHashType
@ detector ID element hash
Eigen::Map< MeasVector< N > > VectorMap
UncalibMeasType
Define the type of the uncalibrated measurement.
Eigen::Matrix< float, N, N > MeasMatrix
Eigen::Map< const MeasVector< N > > ConstVectorMap
Base class for elements of a container that can have aux data.