@@ -1106,15 +1106,19 @@ class VarManager : public TObject
11061106 // Check whether all the needed objects for TPC postcalibration are available
11071107 if (fgCalibs.find (kTPCElectronMean ) != fgCalibs.end () && fgCalibs.find (kTPCElectronSigma ) != fgCalibs.end ()) {
11081108 fgRunTPCPostCalibration[0 ] = true ;
1109+ fgUsedVars[kTPCnSigmaEl_Corr ] = true ;
11091110 }
11101111 if (fgCalibs.find (kTPCPionMean ) != fgCalibs.end () && fgCalibs.find (kTPCPionSigma ) != fgCalibs.end ()) {
11111112 fgRunTPCPostCalibration[1 ] = true ;
1113+ fgUsedVars[kTPCnSigmaPi_Corr ] = true ;
11121114 }
11131115 if (fgCalibs.find (kTPCKaonMean ) != fgCalibs.end () && fgCalibs.find (kTPCKaonSigma ) != fgCalibs.end ()) {
11141116 fgRunTPCPostCalibration[2 ] = true ;
1117+ fgUsedVars[kTPCnSigmaKa_Corr ] = true ;
11151118 }
11161119 if (fgCalibs.find (kTPCProtonMean ) != fgCalibs.end () && fgCalibs.find (kTPCProtonSigma ) != fgCalibs.end ()) {
11171120 fgRunTPCPostCalibration[3 ] = true ;
1121+ fgUsedVars[kTPCnSigmaPr_Corr ] = true ;
11181122 }
11191123 }
11201124 static TObject* GetCalibrationObject (CalibObjects calib)
@@ -2376,7 +2380,7 @@ void VarManager::FillTrack(T const& track, float* values)
23762380 }
23772381
23782382 // Quantities based on the barrel PID tables
2379- if constexpr ((fillMap & TrackPID) > 0 || (fillMap & ReducedTrackBarrelPID) > 0 ) {
2383+ if constexpr ((fillMap & TrackPID) > 0 || (fillMap & TrackTPCPID) > 0 || (fillMap & ReducedTrackBarrelPID) > 0 ) {
23802384 values[kTPCnSigmaEl ] = track.tpcNSigmaEl ();
23812385 values[kTPCnSigmaPi ] = track.tpcNSigmaPi ();
23822386 values[kTPCnSigmaKa ] = track.tpcNSigmaKa ();
0 commit comments