@@ -1305,7 +1305,7 @@ struct AnalysisSameEventPairing {
13051305 o2::base::MatLayerCylSet* fLUT = nullptr ;
13061306 TH1D * ResoFlowSP = nullptr ;
13071307 TH1D * ResoFlowEP = nullptr ;
1308- int fCurrentRun ; // needed to detect if the run changed and trigger update of calibrations etc.
1308+ int fCurrentRun = - 1 ; // needed to detect if the run changed and trigger update of calibrations etc.
13091309
13101310 OutputObj<THashList> fOutputList {" output" };
13111311
@@ -1391,7 +1391,7 @@ struct AnalysisSameEventPairing {
13911391
13921392 uint32_t fTrackFilterMask = 0 ; // mask for the track cuts required in this task to be applied on the barrel cuts produced upstream
13931393 uint32_t fMuonFilterMask = 0 ; // mask for the muon cuts required in this task to be applied on the muon cuts produced upstream
1394- uint32_t fQvectorFilterMask = 0 ; // mask for the track cuts required to be applied on the tracks used for the Q-vector calculation
1394+ uint32_t fQvectorFilterMask = 0 ; // mask for the track cuts applied in TPC Q-vector calculation, used to remove auto-correlation in flow analysis
13951395 int fNCutsBarrel = 0 ;
13961396 int fNCutsMuon = 0 ;
13971397 int fNPairCuts = 0 ;
@@ -1972,8 +1972,9 @@ struct AnalysisSameEventPairing {
19721972
19731973 fNPairPerEvent ++;
19741974
1975- VarManager::fgValues[VarManager::kSel1 ] = -999 .;
1976- VarManager::fgValues[VarManager::kSel2 ] = -999 .;
1975+ // check if t1 or t2 is used in TPC Q vector calculation, so as to remove auto correlations in the flow analysis
1976+ VarManager::fgValues[VarManager::kSel1 ] = -9999 .;
1977+ VarManager::fgValues[VarManager::kSel2 ] = -9999 .;
19771978 if (t1.reducedeventId () == event.globalIndex ()) {
19781979 if ((a1.isBarrelSelected_raw () & fQvectorFilterMask ) > 0 ) {
19791980 VarManager::fgValues[VarManager::kSel1 ] = 1 .;
0 commit comments