You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make extra cov.error for TPC linear in CTP Lumi, provide error instead of error^2
1) Make sure the CTP lumi input is available if CorrectionMaps helper needs it.
2) Note that the meaning of the tpcCovInner and tpcCovOuter was chanded from err^2 to err:
The trackTuneParams.tpcCovInnerSlope[0..4] and trackTuneParams.tpcCovOuterSlope[0..4]
configurable can be used to scale the TPC extra cov.matrix errors lineraly with scaling parameters.
All devices (re)fitting TPC tracks will apply the errors^2 (if allowed by other options of trackTuneParams)
[tpcCovInner + lumi*tpcCovInnerSlope]^2 and [tpcCovOuter + lumi*tpcCovOuterSlope]^2,
with lumi being CorrectionMapsHelper.getInstLumiCTP()
Copy file name to clipboardExpand all lines: DataFormats/Detectors/GlobalTracking/include/DataFormatsGlobalTracking/TrackTuneParams.h
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@
16
16
17
17
#include"CommonUtils/ConfigurableParam.h"
18
18
#include"CommonUtils/ConfigurableParamHelper.h"
19
+
#include<array>
19
20
20
21
namespaceo2
21
22
{
@@ -32,13 +33,19 @@ struct TrackTuneParams : public o2::conf::ConfigurableParamHelper<TrackTuneParam
32
33
};
33
34
AddCovType tpcCovInnerType = AddCovType::Disable;
34
35
AddCovType tpcCovOuterType = AddCovType::Disable;
35
-
bool sourceLevelTPC = true; // if TPC corrections are allowed, apply them TPC source output level (tracking/reader), otherwise in the global tracking consumers BEFORE update by external detector
36
+
bool sourceLevelTPC = true; // if TPC corrections are allowed, apply them TPC source output level (tracking), otherwise in the global tracking consumers BEFORE update by external detector
37
+
bool applyWhenReading = false; // if true, then apply at reading tracks from the file. This better NOT used as there is no way to apply lumi-dependent scaling in the reader
if (!trackTune.sourceLevelTPC) { // correct only if TPC track was not corrected at the source level
674
675
if (trackTune.useTPCOuterCorr) {
675
676
trc.updateParams(trackTune.tpcParOuter);
676
677
}
677
-
if (trackTune.tpcCovOuterType != o2::globaltracking::TrackTuneParams::AddCovType::Disable) { // only TRD-refitted track have cov.matrix already manipulated
0 commit comments