ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParameters_v1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef XAODTRACKING_VERSIONS_TRACKPARAMETERS_V1_H
6#define XAODTRACKING_VERSIONS_TRACKPARAMETERS_V1_H
7#include <cstdint>
10
11namespace xAOD {
15
17 public:
18 // plain std::vectors are mapped to Eigen vectors or matrices
19 // TODO a common location for this types
20 using ConstVectorMap = Eigen::Map<const Eigen::Matrix<double, 6, 1>>;
21 using VectorMap = Eigen::Map<Eigen::Matrix<double, 6, 1>>;
22 using ConstMatrixMap = Eigen::Map<const Eigen::Matrix<double, 6, 6>>;
23 using MatrixMap = Eigen::Map<Eigen::Matrix<double, 6, 6>>;
24
25 TrackParameters_v1() = default;
26
35
40
45
50 void resize(size_t sz = 6);
51 };
52}
53#endif
Base class for elements of a container that can have aux data.
static Double_t sz
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Eigen::Map< Eigen::Matrix< double, 6, 6 > > MatrixMap
Eigen::Map< Eigen::Matrix< double, 6, 1 > > VectorMap
void resize(size_t sz=6)
expands sizes of internal vectors for the data storage ( by default this is 6 for parameters and 6x6 ...
ConstVectorMap paramsEigen() const
access track parameters vector of const element
Eigen::Map< const Eigen::Matrix< double, 6, 6 > > ConstMatrixMap
ConstMatrixMap covMatrixEigen() const
access track covariance matrix (flattened, rows layout) of const element
Eigen::Map< const Eigen::Matrix< double, 6, 1 > > ConstVectorMap
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.