@@ -103,6 +103,7 @@ struct Kstarqa {
103103 Configurable<float > cfgITSChi2NCl{" cfgITSChi2NCl" , 36.0 , " ITS Chi2/NCl" };
104104 Configurable<float > cfgTPCChi2NCl{" cfgTPCChi2NCl" , 4.0 , " TPC Chi2/NCl" };
105105 Configurable<bool > cfgUseITSTPCRefit{" cfgUseITSTPCRefit" , false , " Require ITS Refit" };
106+ Configurable<bool > isNoCollInTimeRangeStandard{" isNoCollInTimeRangeStandard" , false , " No collision in time range standard" };
106107
107108 // cuts on mother
108109 Configurable<bool > isApplyCutsOnMother{" isApplyCutsOnMother" , false , " Enable additional cuts on Kstar mother" };
@@ -292,7 +293,7 @@ struct Kstarqa {
292293 hInvMass.add (" hAllRecCollisions" , " All reconstructed events" , kTH1F , {multiplicityAxis});
293294 hInvMass.add (" MCcorrections/hImpactParameterRec" , " Impact parameter in reconstructed MC" , kTH1F , {impactParAxis});
294295 hInvMass.add (" MCcorrections/hImpactParameterGen" , " Impact parameter in generated MC" , kTH1F , {impactParAxis});
295- hInvMass.add (" MCcorrections/hImpactParametervsMultiplicity" , " Impact parameter vs multiplicity in reconstructed MC" , kTH1F , {{impactParAxis}, {multiplicityAxis}});
296+ hInvMass.add (" MCcorrections/hImpactParametervsMultiplicity" , " Impact parameter vs multiplicity in reconstructed MC" , kTH2F , {{impactParAxis}, {multiplicityAxis}});
296297 rEventSelection.add (" tracksCheckData" , " No. of events in the data" , kTH1I , {{10 , 0 , 10 }});
297298 rEventSelection.add (" eventsCheckGen" , " No. of events in the generated MC" , kTH1I , {{10 , 0 , 10 }});
298299 rEventSelection.add (" recMCparticles" , " No. of events in the reconstructed MC" , kTH1I , {{20 , 0 , 20 }});
@@ -376,7 +377,7 @@ struct Kstarqa {
376377 if (fillHist)
377378 rEventSelection.fill (HIST (" hEventCut" ), 6 );
378379
379- if (selectionConfig.isApplyOccCut && (!collision.selection_bit (o2::aod::evsel::kNoCollInTimeRangeStandard )))
380+ if (selectionConfig.isNoCollInTimeRangeStandard && (!collision.selection_bit (o2::aod::evsel::kNoCollInTimeRangeStandard )))
380381 return false ;
381382
382383 if (selectionConfig.isApplyOccCut && (std::abs (collision.trackOccupancyInTimeRange ()) > selectionConfig.configOccCut ))
@@ -835,7 +836,6 @@ struct Kstarqa {
835836
836837 int occupancy = collision.trackOccupancyInTimeRange ();
837838 rEventSelection.fill (HIST (" hOccupancy" ), occupancy);
838-
839839 multiplicity = -1 ;
840840
841841 if (cSelectMultEstimator == kFT0M ) {
0 commit comments