File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1500,19 +1500,19 @@ class VarManager : public TObject
15001500 {
15011501 fgCalibs[calib] = obj;
15021502 // Check whether all the needed objects for TPC postcalibration are available
1503- if (fgCalibs.find (kTPCElectronMean ) != fgCalibs. end () && fgCalibs.find (kTPCElectronSigma ) != fgCalibs. end ( )) {
1503+ if (fgCalibs.contains (kTPCElectronMean ) && fgCalibs.contains (kTPCElectronSigma )) {
15041504 fgRunTPCPostCalibration[0 ] = true ;
15051505 fgUsedVars[kTPCnSigmaEl_Corr ] = true ;
15061506 }
1507- if (fgCalibs.find (kTPCPionMean ) != fgCalibs. end () && fgCalibs.find (kTPCPionSigma ) != fgCalibs. end ( )) {
1507+ if (fgCalibs.contains (kTPCPionMean ) && fgCalibs.contains (kTPCPionSigma )) {
15081508 fgRunTPCPostCalibration[1 ] = true ;
15091509 fgUsedVars[kTPCnSigmaPi_Corr ] = true ;
15101510 }
1511- if (fgCalibs.find (kTPCKaonMean ) != fgCalibs. end () && fgCalibs.find (kTPCKaonSigma ) != fgCalibs. end ( )) {
1511+ if (fgCalibs.contains (kTPCKaonMean ) && fgCalibs.contains (kTPCKaonSigma )) {
15121512 fgRunTPCPostCalibration[2 ] = true ;
15131513 fgUsedVars[kTPCnSigmaKa_Corr ] = true ;
15141514 }
1515- if (fgCalibs.find (kTPCProtonMean ) != fgCalibs. end () && fgCalibs.find (kTPCProtonSigma ) != fgCalibs. end ( )) {
1515+ if (fgCalibs.contains (kTPCProtonMean ) && fgCalibs.contains (kTPCProtonSigma )) {
15161516 fgRunTPCPostCalibration[3 ] = true ;
15171517 fgUsedVars[kTPCnSigmaPr_Corr ] = true ;
15181518 }
You can’t perform that action at this time.
0 commit comments