forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTrackInfoExt.h
More file actions
66 lines (57 loc) · 1.96 KB
/
TrackInfoExt.h
File metadata and controls
66 lines (57 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
// This software is distributed under the terms of the GNU General Public
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
//
// In applying this license CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
// class for extended Track info (for debugging)
#ifndef ALICEO2_TRINFOEXT_H
#define ALICEO2_TRINFOEXT_H
#include "ReconstructionDataFormats/MatchInfoTOF.h"
#include "ReconstructionDataFormats/DCA.h"
#include "ReconstructionDataFormats/VtxTrackIndex.h"
#include "ReconstructionDataFormats/Track.h"
namespace o2
{
namespace dataformats
{
struct TrackInfoExt {
o2::track::TrackParCov track;
DCA dca{};
DCA dcaTPC{};
VtxTrackIndex gid;
MatchInfoTOF infoTOF;
std::array<float, 3> innerTPCPos{}; // innermost cluster position at assigned time
std::array<float, 3> innerTPCPos0{}; // innermost cluster position at nominal time0
float ttime = 0;
float ttimeE = 0;
float xmin = 0;
float chi2TPC = 0.f;
float chi2ITSTPC = 0.f;
float q2ptITS = 0.f;
float q2ptTPC = 0.f;
float q2ptITSTPC = 0.f;
float q2ptITSTPCTRD = 0.f;
uint16_t nClTPC = 0;
uint16_t nClTPCShared = 0;
uint8_t pattITS = 0;
uint8_t nClITS = 0;
uint8_t rowMinTPC = 0;
uint8_t padFromEdge = -1;
uint8_t rowMaxTPC = 0;
uint8_t rowCountTPC = 0;
float getTPCInX() const { return innerTPCPos[0]; }
float getTPCInY() const { return innerTPCPos[1]; }
float getTPCInZ() const { return innerTPCPos[2]; }
float getTPCInX0() const { return innerTPCPos0[0]; }
float getTPCInY0() const { return innerTPCPos0[1]; }
float getTPCInZ0() const { return innerTPCPos0[2]; }
ClassDefNV(TrackInfoExt, 6);
};
} // namespace dataformats
} // namespace o2
#endif