@@ -192,7 +192,7 @@ struct DiHadronCor {
192192
193193 // make the filters and cuts.
194194 Filter collisionFilter = (nabs(aod::collision::posZ) < cfgCutVtxZ);
195- Filter trackFilter = (nabs(aod::track::eta) < cfgCutEta) && (aod::track::pt > cfgCutPtMin) && (aod::track::pt < cfgCutPtMax) && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t ) true )) && (aod::track::tpcChi2NCl < cfgCutChi2prTPCcls) && (nabs(aod::track::dcaZ) < cfgCutDCAz);
195+ Filter trackFilter = (nabs(aod::track::eta) < cfgCutEta) && (aod::track::pt > cfgCutPtMin) && (aod::track::pt < cfgCutPtMax) && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t )true )) && (aod::track::tpcChi2NCl < cfgCutChi2prTPCcls) && (nabs(aod::track::dcaZ) < cfgCutDCAz);
196196 using FilteredCollisions = soa::Filtered<soa::Join<aod::Collisions, aod::EvSel, aod::CentFT0Cs, aod::CentFT0CVariant1s, aod::CentFT0Ms, aod::CentFV0As, aod::Mults>>;
197197 using FilteredTracks = soa::Filtered<soa::Join<aod::Tracks, aod::TrackSelection, aod::TracksExtra, aod::TracksDCA>>;
198198 using FilteredTracksWithMCLabels = soa::Filtered<soa::Join<aod::Tracks, aod::TrackSelection, aod::TracksExtra, aod::TracksDCA, aod::McTrackLabels>>;
@@ -477,10 +477,8 @@ struct DiHadronCor {
477477 if (negdau.tpcNClsCrossedRows () <= trkQualityOpts.cfgTPCCrossedRows .value )
478478 return false ;
479479
480- if (cfgOutputXi)
481- {
482- if (casc.sign () < 0 )
483- {
480+ if (cfgOutputXi) {
481+ if (casc.sign () < 0 ) {
484482 if (std::fabs (bachelor.tpcNSigmaPi ()) > cfgNSigma[0 ])
485483 return false ;
486484 if (std::fabs (posdau.tpcNSigmaPr ()) > cfgNSigma[1 ])
@@ -491,9 +489,7 @@ struct DiHadronCor {
491489 return false ;
492490 if (std::fabs (casc.dcapostopv ()) > cascBuilderOpts.cfgcasc_dcaLapitopv .value )
493491 return false ;
494- }
495- else if (casc.sign () > 0 )
496- {
492+ } else if (casc.sign () > 0 ) {
497493 if (std::fabs (bachelor.tpcNSigmaPi ()) > cfgNSigma[0 ])
498494 return false ;
499495 if (std::fabs (negdau.tpcNSigmaPr ()) > cfgNSigma[1 ])
@@ -522,10 +518,8 @@ struct DiHadronCor {
522518 if (std::fabs (casc.mLambda () - o2::constants::physics::MassLambda0) > cascBuilderOpts.cfgcasc_mlambdawindow .value )
523519 return false ;
524520 }
525- if (cfgOutputOmega)
526- {
527- if (casc.sign () < 0 )
528- {
521+ if (cfgOutputOmega) {
522+ if (casc.sign () < 0 ) {
529523 if (std::fabs (bachelor.tpcNSigmaKa ()) > cfgNSigma[2 ])
530524 return false ;
531525 if (std::fabs (posdau.tpcNSigmaPr ()) > cfgNSigma[1 ])
@@ -536,9 +530,7 @@ struct DiHadronCor {
536530 return false ;
537531 if (std::fabs (casc.dcapostopv ()) > cascBuilderOpts.cfgcasc_dcaLapitopv .value )
538532 return false ;
539- }
540- else if (casc.sign () > 0 )
541- {
533+ } else if (casc.sign () > 0 ) {
542534 if (std::fabs (bachelor.tpcNSigmaKa ()) > cfgNSigma[2 ])
543535 return false ;
544536 if (std::fabs (negdau.tpcNSigmaPr ()) > cfgNSigma[1 ])
@@ -928,7 +920,7 @@ struct DiHadronCor {
928920 if (!cfgUsePtOrder && track1.globalIndex () == track2.globalIndex ())
929921 continue ; // For pt-differential correlations, skip if the trigger and associate are the same track
930922 if (cfgUsePtOrder && track1.pt () <= track2.pt ())
931- continue ; // Without pt-differential correlations, skip if the trigger pt is less than the associate pt
923+ continue ; // Without pt-differential correlations, skip if the trigger pt is less than the associate pt
932924 if (!cfgSingleSoloPtTrack && ischarged) { // avoid skipping the second track if we only want one
933925 if (std::find (tracks2SkipIndices.begin (), tracks2SkipIndices.end (), track2.globalIndex ()) != tracks2SkipIndices.end ()) {
934926 registry.fill (HIST (" Solo_tracks_assoc" ), track2.pt ());
@@ -1320,7 +1312,6 @@ struct DiHadronCor {
13201312
13211313 PROCESS_SWITCH (DiHadronCor, processMixedCasc, " Process mixed events" , true );
13221314
1323-
13241315 int getSpecies (int pdgCode)
13251316 {
13261317 switch (std::abs (pdgCode)) {
@@ -1475,7 +1466,7 @@ struct DiHadronCor {
14751466 }
14761467 }
14771468 PROCESS_SWITCH (DiHadronCor, processMCMixed, " Process MC mixed events" , false );
1478- void processOntheflySame (aod::McCollisions::iterator const & mcCollision, aod::McParticles const & mcParticles)
1469+ void processOntheflySame (aod::McCollisions::iterator const & mcCollision, aod::McParticles const & mcParticles)
14791470 {
14801471 if (cfgVerbosity) {
14811472 LOGF (info, " processOntheflySame. MC collision: %d, particles: %d" , mcCollision.globalIndex (), mcParticles.size ());
@@ -1549,4 +1540,4 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
15491540 return WorkflowSpec{
15501541 adaptAnalysisTask<DiHadronCor>(cfgc),
15511542 };
1552- }
1543+ }
0 commit comments