ATLAS Offline Software
Loading...
Searching...
No Matches
MeasurementDefs.h File Reference
Include dependency graph for MeasurementDefs.h:

Go to the source code of this file.

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.

Macros

#define AUX_MEASUREMENTVAR(VAR, DIM)

Typedefs

using xAOD::DetectorIDHashType = unsigned int
 @ detector ID element hash
using xAOD::DetectorIdentType = long unsigned int
template<size_t N>
using xAOD::PosAccessor = SG::AuxElement::Accessor<std::array<float, N>>
 xAOD Accessor to the position
template<size_t N>
using xAOD::CovAccessor = SG::AuxElement::Accessor<std::array<float, N * N>>
 xAOD Accessor to the covariance
template<size_t N>
using xAOD::MeasVector = Eigen::Matrix<float, N, 1>
 Abrivation of the Matrix & Covariance definitions.
template<size_t N>
using xAOD::MeasMatrix = Eigen::Matrix<float, N, N>
template<size_t N>
using xAOD::VectorMap = Eigen::Map<MeasVector<N>>
template<size_t N>
using xAOD::ConstVectorMap = Eigen::Map<const MeasVector<N>>
template<size_t N>
using xAOD::MatrixMap = Eigen::Map<MeasMatrix<N>>
template<size_t N>
using xAOD::ConstMatrixMap = Eigen::Map<const MeasMatrix<N>>

Enumerations

enum class  xAOD::UncalibMeasType {
  xAOD::Other = 0 , xAOD::PixelClusterType = 1 , xAOD::StripClusterType = 2 , xAOD::MdtDriftCircleType = 3 ,
  xAOD::RpcStripType = 4 , xAOD::TgcStripType = 5 , xAOD::MMClusterType = 6 , xAOD::sTgcStripType = 7 ,
  xAOD::HGTDClusterType = 8 , xAOD::nTypes
}
 Define the type of the uncalibrated measurement. More...

Functions

template<int N>
MeasVector< N > xAOD::toStorage (const AmgVector(N)&amgVec)
 Converts the double precision of the AmgVector into the floating point storage precision of the MeasVector.
template<int N>
requires (N > 1)
MeasMatrix< N > xAOD::toStorage (const AmgSymMatrix(N)&amgMat)
 Converts the double precision of the AmgSymMatrix into the floating point storage precision of the MeasMatrix.
template<int N>
requires (N > 1)
 xAOD::AmgSymMatrix (N) toEigen(const ConstMatrixMap< N > &xAODmat)
template<int N>
 xAOD::AmgVector (N) toEigen(const ConstVectorMap< N > &xAODvec)

Macro Definition Documentation

◆ AUX_MEASUREMENTVAR

#define AUX_MEASUREMENTVAR ( VAR,
DIM )
Value:
do { \
static const std::string varName = \
std::string{#VAR} + "Dim" + std::to_string(DIM); \
static const auxid_t auxId = getAuxID(varName, VAR); \
regAuxVar(auxId, varName, VAR); \
} while (false);

Definition at line 14 of file MeasurementDefs.h.

14#define AUX_MEASUREMENTVAR(VAR, DIM) \
15 do { \
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); \
20 } while (false);