ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
ECCE @ EIC Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
analysis
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloReco
centrality
ClusterIso
compressor
Half
HelixHough
intt
jetbackground
KFParticle_sPHENIX
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
PHTpcTracker
tpc
tpccalib
tpcdaq
trackbase
trackbase_historic
trackreco
ActsEvaluator.cc
ActsEvaluator.h
ALICEKF.cc
ALICEKF.h
AssocInfoContainer.cc
AssocInfoContainer.h
AssocInfoContainerLinkDef.h
AssocInfoContainerv1.cc
AssocInfoContainerv1.h
AssocInfoContainerv1LinkDef.h
CellularAutomaton.h
CellularAutomaton_v1.cc
CellularAutomaton_v1.h
GPUTPCBaseTrackParam.h
GPUTPCTrackLinearisation.h
GPUTPCTrackParam.cxx
GPUTPCTrackParam.h
HelixHoughBin.cc
HelixHoughBin.h
HelixHoughBin_v1.cc
HelixHoughBin_v1.h
HelixHoughBin_v1LinkDef.h
HelixHoughBinLinkDef.h
HelixHoughFuncs.h
HelixHoughFuncs_v1.cc
HelixHoughFuncs_v1.h
HelixHoughFuncs_v1LinkDef.h
HelixHoughFuncsLinkDef.h
HelixHoughSpace.h
HelixHoughSpace_v1.cc
HelixHoughSpace_v1.h
HelixHoughSpace_v1LinkDef.h
HelixHoughSpaceLinkDef.h
HelixKalmanFilter.cc
HelixKalmanFilter.h
MakeActsGeometry.cc
MakeActsGeometry.h
nanoflann.hpp
PH3DVertexing.cc
PH3DVertexing.h
PHActsInitialVertexFinder.cc
PHActsInitialVertexFinder.h
PHActsSiliconSeeding.cc
PHActsSiliconSeeding.h
PHActsToSvtxTracks.cc
PHActsToSvtxTracks.h
PHActsTrackProjection.cc
PHActsTrackProjection.h
PHActsTrkFitter.cc
PHActsTrkFitter.h
PHActsVertexFinder.cc
PHActsVertexFinder.h
PHActsVertexFitter.cc
PHActsVertexFitter.h
PHActsVertexPropagator.cc
PHActsVertexPropagator.h
PHCASeeding.cc
PHCASeeding.h
PHGenFitTrackProjection.cc
PHGenFitTrackProjection.h
PHGenFitTrkFitter.cc
PHGenFitTrkFitter.h
PHGenFitTrkProp.cc
PHGenFitTrkProp.h
PHGhostRejection.cc
PHGhostRejection.h
PHHoughSeeding.cc
PHHoughSeeding.h
PHHybridSeeding.cc
PHHybridSeeding.h
PHInitVertexing.cc
PHInitVertexing.h
PHInitZVertexing.cc
PHInitZVertexing.h
PHMicromegasTpcTrackMatching.cc
PHMicromegasTpcTrackMatching.h
PHPatternReco.cc
PHPatternReco.h
PHRaveVertexing.cc
PHRaveVertexing.h
PHRTreeSeeding.cc
PHRTreeSeeding.h
PHSiliconTpcTrackMatching.cc
PHSiliconTpcTrackMatching.h
PHSiliconTruthTrackSeeding.cc
PHSiliconTruthTrackSeeding.h
PHSimpleKFProp.cc
PHSimpleKFProp.h
PHSimpleVertexFinder.cc
PHSimpleVertexFinder.h
PHTpcClusterMover.cc
PHTpcClusterMover.h
PHTpcDeltaZCorrection.cc
PHTpcDeltaZCorrection.h
PHTpcTrackSeedCircleFit.cc
PHTpcTrackSeedCircleFit.h
PHTrackCleaner.cc
PHTrackCleaner.h
PHTrackFitting.cc
PHTrackFitting.h
PHTrackPropagating.cc
PHTrackPropagating.h
PHTrackSeeding.cc
PHTrackSeeding.h
PHTrackSelector.cc
PHTrackSelector.h
PHTrackSetCopyMerging.cc
PHTrackSetCopyMerging.h
PHTrackSetMerging.cc
PHTrackSetMerging.h
PHTruthClustering.cc
PHTruthClustering.h
PHTruthSiliconAssociation.cc
PHTruthSiliconAssociation.h
PHTruthTrackSeeding.cc
PHTruthTrackSeeding.h
PHTruthVertexing.cc
PHTruthVertexing.h
VertexFitter.cc
VertexFitter.h
trigger
vararray
QA
simulation
Doxygen_Assist
ecce-detectors
fun4all_eicdetectors
geant4
macros
online_distribution
tutorials
doxygen_mainpage.h
File Members
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GPUTPCTrackLinearisation.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file GPUTPCTrackLinearisation.h
1
// Copyright CERN and copyright holders of ALICE O2. This software is
2
// distributed under the terms of the GNU General Public License v3 (GPL
3
// Version 3), copied verbatim in the file "COPYING".
4
//
5
// See http://alice-o2.web.cern.ch/license for full licensing information.
6
//
7
// In applying this license CERN does not waive the privileges and immunities
8
// granted to it by virtue of its status as an Intergovernmental Organization
9
// or submit itself to any jurisdiction.
10
13
14
#ifndef GPUTPCTRACKLINEARISATION_H
15
#define GPUTPCTRACKLINEARISATION_H
16
17
#include "
GPUTPCTrackParam.h
"
18
33
class
GPUTPCTrackLinearisation
34
{
35
public
:
36
GPUTPCTrackLinearisation
() :
mSinPhi
(0),
mCosPhi
(1),
mDzDs
(0),
mQPt
(0) {}
37
GPUTPCTrackLinearisation
(
double
SinPhi1,
double
CosPhi1,
double
DzDs1,
double
QPt1) :
mSinPhi
(SinPhi1),
mCosPhi
(CosPhi1),
mDzDs
(DzDs1),
mQPt
(QPt1) {}
38
39
GPUTPCTrackLinearisation
(
const
GPUTPCTrackParam
&
t
);
40
41
void
Set
(
double
SinPhi1,
double
CosPhi1,
double
DzDs1,
double
QPt1);
42
43
double
SinPhi
()
const
{
return
mSinPhi
; }
44
double
CosPhi
()
const
{
return
mCosPhi
; }
45
double
DzDs
()
const
{
return
mDzDs
; }
46
double
QPt
()
const
{
return
mQPt
; }
47
48
double
GetSinPhi
()
const
{
return
mSinPhi
; }
49
double
GetCosPhi
()
const
{
return
mCosPhi
; }
50
double
GetDzDs
()
const
{
return
mDzDs
; }
51
double
GetQPt
()
const
{
return
mQPt
; }
52
53
void
SetSinPhi
(
double
v
) {
mSinPhi
=
v
; }
54
void
SetCosPhi
(
double
v
) {
mCosPhi
=
v
; }
55
void
SetDzDs
(
double
v
) {
mDzDs
=
v
; }
56
void
SetQPt
(
double
v
) {
mQPt
=
v
; }
57
58
private
:
59
double
mSinPhi
;
// SinPhi
60
double
mCosPhi
;
// CosPhi
61
double
mDzDs
;
// DzDs
62
double
mQPt
;
// QPt
63
};
64
65
inline
GPUTPCTrackLinearisation::GPUTPCTrackLinearisation
(
const
GPUTPCTrackParam
&
t
) : mSinPhi(t.SinPhi()), mCosPhi(0), mDzDs(t.DzDs()), mQPt(t.QPt())
66
{
67
if
(
mSinPhi
>
GPUCA_MAX_SIN_PHI
) {
68
mSinPhi
=
GPUCA_MAX_SIN_PHI
;
69
}
else
if
(
mSinPhi
< -
GPUCA_MAX_SIN_PHI
) {
70
mSinPhi
= -
GPUCA_MAX_SIN_PHI
;
71
}
72
mCosPhi
= sqrt(1 -
mSinPhi
*
mSinPhi
);
73
if
(t.
SignCosPhi
() < 0) {
74
mCosPhi
= -
mCosPhi
;
75
}
76
}
77
78
inline
void
GPUTPCTrackLinearisation::Set
(
double
SinPhi1,
double
CosPhi1,
double
DzDs1,
double
QPt1)
79
{
80
SetSinPhi
(SinPhi1);
81
SetCosPhi
(CosPhi1);
82
SetDzDs
(DzDs1);
83
SetQPt
(QPt1);
84
}
85
86
#endif // GPUTPCTRACKLINEARISATION_H
coresoftware
blob
master
offline
packages
trackreco
GPUTPCTrackLinearisation.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:38
using
1.8.2 with
ECCE GitHub integration