Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
ActsAlignmentStates.cc
ActsAlignmentStates.h
ActsEvaluator.cc
ActsEvaluator.h
ActsPropagator.cc
ActsPropagator.h
ALICEKF.cc
ALICEKF.h
AssocInfoContainer.cc
AssocInfoContainer.h
AssocInfoContainerLinkDef.h
AssocInfoContainerv1.cc
AssocInfoContainerv1.h
AssocInfoContainerv1LinkDef.h
GPUTPCBaseTrackParam.h
GPUTPCTrackLinearisation.h
GPUTPCTrackParam.cxx
GPUTPCTrackParam.h
MakeActsGeometry.cc
MakeActsGeometry.h
MakeSourceLinks.cc
MakeSourceLinks.h
nanoflann.hpp
PH3DVertexing.cc
PH3DVertexing.h
PHActsGSF.cc
PHActsGSF.h
PHActsInitialVertexFinder.cc
PHActsInitialVertexFinder.h
PHActsKDTreeSeeding.cc
PHActsKDTreeSeeding.h
PHActsSiliconSeeding.cc
PHActsSiliconSeeding.h
PHActsToSvtxTracks.cc
PHActsToSvtxTracks.h
PHActsTrackProjection.cc
PHActsTrackProjection.h
PHActsTrackPropagator.cc
PHActsTrackPropagator.h
PHActsTrkFitter.cc
PHActsTrkFitter.h
PHActsVertexFinder.cc
PHActsVertexFinder.h
PHActsVertexFitter.cc
PHActsVertexFitter.h
PHActsVertexPropagator.cc
PHActsVertexPropagator.h
PHCASeeding.cc
PHCASeeding.h
PHCosmicSeedCombiner.cc
PHCosmicSeedCombiner.h
PHCosmicSeeder.cc
PHCosmicSeeder.h
PHCosmicSiliconPropagator.cc
PHCosmicSiliconPropagator.h
PHCosmicsTrkFitter.cc
PHCosmicsTrkFitter.h
PHCosmicTrackMerger.cc
PHCosmicTrackMerger.h
PHGenFitTrackProjection.cc
PHGenFitTrackProjection.h
PHGenFitTrkFitter.cc
PHGenFitTrkFitter.h
PHGhostRejection.cc
PHGhostRejection.h
PHHybridSeeding.cc
PHHybridSeeding.h
PHInitVertexing.cc
PHInitVertexing.h
PHMicromegasTpcTrackMatching.cc
PHMicromegasTpcTrackMatching.h
PHRaveVertexing.cc
PHRaveVertexing.h
PHSiliconHelicalPropagator.cc
PHSiliconHelicalPropagator.h
PHSiliconSeedMerger.cc
PHSiliconSeedMerger.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
PHTrackClusterAssociator.cc
PHTrackClusterAssociator.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
SecondaryVertexFinder.cc
SecondaryVertexFinder.h
SvtxTrackStateRemoval.cc
SvtxTrackStateRemoval.h
TrackingIterationCounter.cc
TrackingIterationCounter.h
trigger
vararray
QA
simulation
validation
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
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:
Sat Feb 17 2024 22:18:10
using
1.8.2 with
sPHENIX GitHub integration