2020#include " Common/Core/RecoDecay.h"
2121#include " Common/DataModel/Centrality.h"
2222#include " Common/DataModel/EventSelection.h"
23+ #include " Common/DataModel/PIDResponseTOF.h"
24+ #include " Common/DataModel/PIDResponseTPC.h"
2325#include " Common/DataModel/TrackSelectionTables.h"
2426
2527#include " CCDB/BasicCCDBManager.h"
3436#include " Framework/RunningWorkflowInfo.h"
3537#include " Framework/StepTHn.h"
3638#include " Framework/runDataProcessing.h"
37- #include " Common/DataModel/PIDResponseTOF.h"
38- #include " Common/DataModel/PIDResponseTPC.h"
3939
4040#include < TDirectory.h>
4141#include < TFile.h>
4242#include < TFormula.h>
4343#include < TH1F.h>
4444#include < THn.h>
4545#include < THnSparse.h>
46- #include < TVector2.h>
4746#include < TPDGCode.h>
47+ #include < TVector2.h>
4848
4949#include < cmath>
5050#include < cstring>
@@ -244,7 +244,7 @@ struct Nucleibalance {
244244 Filter collisionVertexTypeFilter = (aod::collision::flags & static_cast <uint16_t >(aod::collision::CollisionFlagsRun2::Run2VertexerTracks)) == static_cast <uint16_t >(aod::collision::CollisionFlagsRun2::Run2VertexerTracks);
245245
246246 // Track filters
247- Filter trackFilter = (nabs(aod::track::eta) < cfgCutEta) && (aod::track::pt > cfgCutPt) && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t )true ));
247+ Filter trackFilter = (nabs(aod::track::eta) < cfgCutEta) && (aod::track::pt > cfgCutPt) && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t ) true ));
248248 Filter cfTrackFilter = (nabs(aod::cftrack::eta) < cfgCutEta) && (aod::cftrack::pt > cfgCutPt) && ((aod::track::trackType & (uint8_t )cfgTrackBitMask) == (uint8_t )cfgTrackBitMask);
249249
250250 // MC filters
@@ -588,10 +588,10 @@ struct Nucleibalance {
588588 }
589589
590590 const int pairSign = q1 * q2;
591- if (cfgPairCharge.value == 1 ) { // like-sign pairs only
591+ if (cfgPairCharge.value == 1 ) { // like-sign pairs only
592592 return pairSign > 0 ;
593593 }
594- if (cfgPairCharge.value == -1 ) { // unlike-sign pairs only
594+ if (cfgPairCharge.value == -1 ) { // unlike-sign pairs only
595595 return pairSign < 0 ;
596596 }
597597
@@ -1450,8 +1450,8 @@ struct Nucleibalance {
14501450 return 2 ;
14511451 }
14521452 if (std::find (cfgMcTriggerPDGs->begin (), cfgMcTriggerPDGs->end (), pdgCode) != cfgMcTriggerPDGs->end ())
1453- return 4 ;
1454- else
1453+ return 4 ;
1454+ else
14551455 return 3 ;
14561456 }
14571457
@@ -1720,7 +1720,7 @@ struct Lambdastarproxy {
17201720 int tid;
17211721 };
17221722
1723- // Helpers for invariant-mass kinematics
1723+ // Helpers for invariant-mass kinematics
17241724 static float phiFromPxPy (float px, float py)
17251725 {
17261726 return std::atan2 (py, px);
@@ -1966,23 +1966,23 @@ struct Lambdastarproxy {
19661966 {AxisSpec{400 , 1.3 , 1.9 , " M_{pK} (GeV/c^{2})" },
19671967 AxisSpec{100 , 0 ., 10 ., " p_{T}^{pK} (GeV/c)" },
19681968 AxisSpec{60 , -1.5 , 1.5 , " y_{pK}" },
1969- AxisSpec{64 , -3.2 , 3.2 , " #varphi_{pK}" },centAxis});
1969+ AxisSpec{64 , -3.2 , 3.2 , " #varphi_{pK}" }, centAxis});
19701970
19711971 histos.add (" hLambdaStarPKLikeSparse" ,
19721972 " #Lambda^{*}(1520) pK like-sign candidates;M_{pK} (GeV/c^{2});p_{T}^{pK} (GeV/c);y_{pK};#varphi_{pK}" ,
19731973 HistType::kTHnSparseF ,
19741974 {AxisSpec{400 , 1.3 , 1.9 , " M_{pK} (GeV/c^{2})" },
19751975 AxisSpec{100 , 0 ., 10 ., " p_{T}^{pK} (GeV/c)" },
19761976 AxisSpec{60 , -1.5 , 1.5 , " y_{pK}" },
1977- AxisSpec{64 , -3.2 , 3.2 , " #varphi_{pK}" },centAxis});
1977+ AxisSpec{64 , -3.2 , 3.2 , " #varphi_{pK}" }, centAxis});
19781978
19791979 histos.add (" hLambdaStarPKMixedSparse" ,
19801980 " #Lambda^{*}(1520) pK mixed-event candidates;M_{pK} (GeV/c^{2});p_{T}^{pK} (GeV/c);y_{pK};#varphi_{pK}" ,
19811981 HistType::kTHnSparseF ,
19821982 {AxisSpec{400 , 1.3 , 1.9 , " M_{pK} (GeV/c^{2})" },
19831983 AxisSpec{100 , 0 ., 10 ., " p_{T}^{pK} (GeV/c)" },
19841984 AxisSpec{60 , -1.5 , 1.5 , " y_{pK}" },
1985- AxisSpec{64 , -3.2 , 3.2 , " #varphi_{pK}" },centAxis});
1985+ AxisSpec{64 , -3.2 , 3.2 , " #varphi_{pK}" }, centAxis});
19861986
19871987 // THnSparse for deuteron-proxy invariant-mass analysis (mass, pT, y, phi)
19881988 histos.add (" hLambdaStarProxySparse" ,
@@ -1991,15 +1991,15 @@ struct Lambdastarproxy {
19911991 {AxisSpec{400 , 1.3 , 1.9 , " M_{p_{proxy}K} (GeV/c^{2})" },
19921992 AxisSpec{100 , 0 ., 10 ., " p_{T}^{p_{proxy}K} (GeV/c)" },
19931993 AxisSpec{60 , -1.5 , 1.5 , " y_{p_{proxy}K}" },
1994- AxisSpec{64 , -3.2 , 3.2 , " #varphi_{p_{proxy}K}" },centAxis});
1994+ AxisSpec{64 , -3.2 , 3.2 , " #varphi_{p_{proxy}K}" }, centAxis});
19951995
19961996 histos.add (" hLambdaStarProxyMixedSparse" ,
19971997 " #Lambda^{*}(1520) deuteron-proxy mixed-event candidates;M_{p_{proxy}K} (GeV/c^{2});p_{T}^{p_{proxy}K} (GeV/c);y_{p_{proxy}K};#varphi_{p_{proxy}K}" ,
19981998 HistType::kTHnSparseF ,
19991999 {AxisSpec{400 , 1.3 , 1.9 , " M_{p_{proxy}K} (GeV/c^{2})" },
20002000 AxisSpec{100 , 0 ., 10 ., " p_{T}^{p_{proxy}K} (GeV/c)" },
20012001 AxisSpec{60 , -1.5 , 1.5 , " y_{p_{proxy}K}" },
2002- AxisSpec{64 , -3.2 , 3.2 , " #varphi_{p_{proxy}K}" },centAxis});
2002+ AxisSpec{64 , -3.2 , 3.2 , " #varphi_{p_{proxy}K}" }, centAxis});
20032003 }
20042004
20052005 // Deuteron-proxy invariant mass (p_{proxy} from d/2 combined with K)
@@ -2403,7 +2403,6 @@ struct Lambdastarproxy {
24032403 }
24042404 }
24052405
2406-
24072406 std::vector<KaonCand> kaonCands;
24082407 std::vector<ProxyCand> proxyCands;
24092408 kaonCands.reserve (128 );
@@ -2599,7 +2598,8 @@ struct Lambdastarproxy {
25992598 // --- SAME-EVENT: proxy (d/2) + K ---
26002599 for (auto const & pr : proxyCands) {
26012600 for (auto const & k : kaonCands) {
2602- if (pr.tid == k.tid ) continue ; // sanity check: should never match, but just in case of bug in candidate-building logic
2601+ if (pr.tid == k.tid )
2602+ continue ; // sanity check: should never match, but just in case of bug in candidate-building logic
26032603 const double mass = invariantMass (pr.px , pr.py , pr.pz , MassProton, k.px , k.py , k.pz , MassKaonCharged);
26042604
26052605 const float pxTot = pr.px + k.px ;
@@ -2650,7 +2650,8 @@ struct Lambdastarproxy {
26502650 if ((pr.charge * k.charge ) >= 0 ) {
26512651 continue ;
26522652 }
2653- if (pr.tid == k.tid ) continue ; // sanity check: should never match, but just in case of bug in candidate-building logic
2653+ if (pr.tid == k.tid )
2654+ continue ; // sanity check: should never match, but just in case of bug in candidate-building logic
26542655
26552656 const double mass = invariantMass (pr.px , pr.py , pr.pz , MassProton, k.px , k.py , k.pz , MassKaonCharged);
26562657
0 commit comments