Project
Loading...
Searching...
No Matches
TrackTuneParams.cxx
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
#include "
DataFormatsGlobalTracking/TrackTuneParams.h
"
17
O2ParamImpl
(
o2::globaltracking::TrackTuneParams
);
18
19
using namespace
o2::globaltracking
;
20
21
std::array<float, 5>
TrackTuneParams::getCovInnerTotal
(
float
scale)
const
22
{
23
std::array<float, 5> cov{};
24
for
(
int
i
= 0;
i
< 5;
i
++) {
25
cov[
i
] =
tpcCovInner
[
i
] + scale *
tpcCovInnerSlope
[
i
];
26
cov[
i
] *= cov[
i
];
27
}
28
return
cov;
29
}
30
31
std::array<float, 5>
TrackTuneParams::getCovOuterTotal
(
float
scale)
const
32
{
33
std::array<float, 5> cov{};
34
for
(
int
i
= 0;
i
< 5;
i
++) {
35
cov[
i
] =
tpcCovOuter
[
i
] + scale *
tpcCovOuterSlope
[
i
];
36
cov[
i
] *= cov[
i
];
37
}
38
return
cov;
39
}
O2ParamImpl
#define O2ParamImpl(classname)
Definition
ConfigurableParam.h:339
i
int32_t i
Definition
GPUCommonAlgorithm.h:443
TrackTuneParams.h
Configurable params for tracks ad hoc tuning.
o2::globaltracking
Definition
RecoContainer.h:188
o2::globaltracking::TrackTuneParams
Definition
TrackTuneParams.h:28
o2::globaltracking::TrackTuneParams::getCovOuterTotal
std::array< float, 5 > getCovOuterTotal(float scale) const
Definition
TrackTuneParams.cxx:31
o2::globaltracking::TrackTuneParams::getCovInnerTotal
std::array< float, 5 > getCovInnerTotal(float scale) const
Definition
TrackTuneParams.cxx:21
o2::globaltracking::TrackTuneParams::tpcCovOuterSlope
float tpcCovOuterSlope[5]
Definition
TrackTuneParams.h:45
o2::globaltracking::TrackTuneParams::tpcCovOuter
float tpcCovOuter[5]
Definition
TrackTuneParams.h:43
o2::globaltracking::TrackTuneParams::tpcCovInner
float tpcCovInner[5]
Definition
TrackTuneParams.h:42
o2::globaltracking::TrackTuneParams::tpcCovInnerSlope
float tpcCovInnerSlope[5]
Definition
TrackTuneParams.h:44
DataFormats
Detectors
GlobalTracking
src
TrackTuneParams.cxx
Generated on Tue Feb 25 2025 17:02:52 for Project by
1.9.8