Project
Loading...
Searching...
No Matches
AlignmentTypes.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef O2_ITS3_ALIGNMENT_TYPES_H
13#define O2_ITS3_ALIGNMENT_TYPES_H
14
15#include <string>
18
19namespace o2::its3::align
20{
21
22struct Measurement final {
23 double dy = 0.f;
24 double dz = 0.f;
25 double sig2y = 0.f;
26 double sig2z = 0.f;
27 double phi = 0.f;
28 double z = 0.f;
29 ClassDefNV(Measurement, 1)
30};
31
32struct FrameInfoExt final {
33 int16_t sens = -1;
34 int8_t lr = -1; // -1 = vtx
35 double x{-999.f};
36 double alpha{-999.f};
37 std::array<double, 2> positionTrackingFrame = {999., 999.};
38 std::array<double, 3> covarianceTrackingFrame = {999., 999., 999.};
39
40 std::string asString() const;
41
42 ClassDefNV(FrameInfoExt, 1)
43};
44
45struct FitInfo final {
46 float chi2Ndf{-1}; // Chi2/Ndf of track refit
47 float chi2{-1}; // Chi2
48 int ndf{-1}; // ndf
49 ClassDefNV(FitInfo, 1)
50};
51
52struct Track {
53 o2::its::TrackITS its; // original ITS track
54 o2::track::TrackParCovD track; // track at innermost update point, refitted from outwards seed
55 FitInfo kfFit; // kf fit information
56 FitInfo gblFit; // gbl fit information
57 std::vector<Measurement> points; // measurment point
58 std::vector<FrameInfoExt> info; // frame info
59 ClassDefNV(Track, 1)
60};
61
62} // namespace o2::its3::align
63
64#endif
Base track model for the Barrel, params only, w/o covariance.
Definition of the ITS track.
GLfloat GLfloat GLfloat alpha
Definition glcorearb.h:279
GLint GLenum GLint x
Definition glcorearb.h:403
GLdouble GLdouble GLdouble z
Definition glcorearb.h:843
TrackParametrizationWithError< double > TrackParCovD
Definition Track.h:32
std::array< double, 3 > covarianceTrackingFrame
std::array< double, 2 > positionTrackingFrame
std::vector< Measurement > points
o2::its::TrackITS its
o2::track::TrackParCovD track
std::vector< FrameInfoExt > info