Project
Loading...
Searching...
No Matches
TrackTPCITS.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
15
16#ifndef ALICEO2_TRACKTPCITS_H
17#define ALICEO2_TRACKTPCITS_H
18
23
24namespace o2
25{
26namespace dataformats
27{
28
30{
32
33 public:
34 GPUdDefault() TrackTPCITS() = default;
35 GPUdDefault() ~TrackTPCITS() = default;
37 GPUd() TrackTPCITS(const o2::track::TrackParCov& src) : o2::track::TrackParCov(src) {}
38 GPUd() TrackTPCITS(const o2::track::TrackParCov& srcIn, const o2::track::TrackParCov& srcOut) : o2::track::TrackParCov(srcIn), mParamOut(srcOut) {}
39
40 GPUd() GlobalTrackID getRefTPC() const { return mRefTPC; }
41 GPUd() GlobalTrackID getRefITS() const { return mRefITS; }
42 GPUd() void setRefTPC(GlobalTrackID id) { mRefTPC = id; }
43 GPUd() void setRefITS(GlobalTrackID id) { mRefITS = id; }
44
45 GPUd() const timeEst& getTimeMUS() const { return mTimeMUS; }
46 GPUd() timeEst& getTimeMUS() { return mTimeMUS; }
47 GPUd() void setTimeMUS(const timeEst& t) { mTimeMUS = t; }
48 GPUd() void setTimeMUS(float t, float te)
49 {
50 mTimeMUS.setTimeStamp(t);
51 mTimeMUS.setTimeStampError(te);
52 }
53
54 GPUd() void setChi2Refit(float v) { mChi2Refit = v; }
55 GPUd() float getChi2Refit() const { return mChi2Refit; }
56
57 GPUd() void setChi2Match(float v) { mChi2Match = v; }
58 GPUd() float getChi2Match() const { return mChi2Match; }
59
60 GPUd() o2::track::TrackParCov& getParamOut() { return mParamOut; }
61 GPUd() const o2::track::TrackParCov& getParamOut() const { return mParamOut; }
62
63 GPUd() o2::track::TrackLTIntegral& getLTIntegralOut() { return mLTOut; }
64 GPUd() const o2::track::TrackLTIntegral& getLTIntegralOut() const { return mLTOut; }
65
66 void print() const;
67
68 private:
69 GlobalTrackID mRefTPC;
70 GlobalTrackID mRefITS;
71 float mChi2Refit = 0.f;
72 float mChi2Match = 0.f;
73 timeEst mTimeMUS;
74 o2::track::TrackParCov mParamOut;
76 ClassDefNV(TrackTPCITS, 3);
77};
78} // namespace dataformats
79} // namespace o2
80
81#endif
Base track model for the Barrel, params only, w/o covariance.
void print() const
Global index for barrel track: provides provenance (detectors combination), index in respective array...
o2::track::TrackParCov TrackParCov
Definition Recon.h:39
Track Length and TOF integral.
GPUd() void setTimeMUS(const timeEst &t)
Definition TrackTPCITS.h:47
GPUdDefault() TrackTPCITS()=default
GPUd() float getChi2Match() const
Definition TrackTPCITS.h:58
GPUd() timeEst &getTimeMUS()
Definition TrackTPCITS.h:46
GPUd() void setTimeMUS(float t
GPUd() const timeEst &getTimeMUS() const
Definition TrackTPCITS.h:45
GPUd() void setRefTPC(GlobalTrackID id)
Definition TrackTPCITS.h:42
GPUd() void setChi2Match(float v)
Definition TrackTPCITS.h:57
GPUd() float getChi2Refit() const
Definition TrackTPCITS.h:55
GPUd() GlobalTrackID getRefTPC() const
Definition TrackTPCITS.h:40
GPUd() void setChi2Refit(float v)
Definition TrackTPCITS.h:54
GPUd() GlobalTrackID getRefITS() const
Definition TrackTPCITS.h:41
GPUd() void setRefITS(GlobalTrackID id)
Definition TrackTPCITS.h:43
GPUd() TrackTPCITS(const o2
Definition TrackTPCITS.h:37
GLenum src
Definition glcorearb.h:1767
const GLdouble * v
Definition glcorearb.h:832
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLuint id
Definition glcorearb.h:650
TrackParCovF TrackParCov
Definition Track.h:33
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...