Project
Loading...
Searching...
No Matches
CalibratedTracklet.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_TRD_CALIBRATEDTRACKLET_H
13#define O2_TRD_CALIBRATEDTRACKLET_H
14
15#include "GPUCommonDef.h"
16#include "GPUCommonRtypes.h"
17
18namespace o2
19{
20namespace trd
21{
22
23// The CalibratedTracklet has been calibrated in x and dy according to a calculated Lorentz Angle and Drift Velocity.
24// Tracklet positions in local z direction are reported at the center of the pad-row.
25// Pad-tilting correction is performed after tracking.
27{
28 public:
30 GPUd() CalibratedTracklet(float x, float y, float z, float dy)
31 : mX(x), mY(y), mZ(z), mDy(dy){};
33
34 GPUd() float getX() const { return mX; }
35 GPUd() float getY() const { return mY; }
36 GPUd() float getZ() const { return mZ; }
37 GPUd() float getDy() const { return mDy; }
38
39 GPUd() void setX(float x) { mX = x; }
40 GPUd() void setY(float y) { mY = y; }
41 GPUd() void setZ(float z) { mZ = z; }
42 GPUd() void setDy(float dy) { mDy = dy; }
43
44 private:
45 float mX;
46 float mY;
47 float mZ;
48 float mDy;
49
50 ClassDefNV(CalibratedTracklet, 1);
51};
52
53} // namespace trd
54} // namespace o2
55
56#endif
GPUd() void setDy(float dy)
GPUd() CalibratedTracklet(float x
GPUdDefault() CalibratedTracklet()=default
GPUdDefault() ~CalibratedTracklet()=default
GLint GLenum GLint x
Definition glcorearb.h:403
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
GLdouble GLdouble GLdouble z
Definition glcorearb.h:843
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...