Skip to content

Commit 547bb71

Browse files
Merge pull request #96 from alibuild/alibot-cleanup-18048
Please consider the following formatting changes to #18048
2 parents c53eea1 + 62aad6d commit 547bb71

2 files changed

Lines changed: 53 additions & 55 deletions

File tree

‎PWGLF/DataModel/LFSigmaTables.h‎

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,7 +1363,6 @@ DECLARE_SOA_TABLE(Pi0Gens, "AOD", "PI0GENS",
13631363
DECLARE_SOA_TABLE(Pi0GenCollRef, "AOD", "PI0GENCOLLREF", //! optional table to refer back to a collision
13641364
o2::soa::Index<>, v0data::StraMCCollisionId);
13651365

1366-
13671366
// ___________________________________________________________________________
13681367
// Xi0
13691368
namespace Xi0Core
@@ -1418,11 +1417,11 @@ DECLARE_SOA_DYNAMIC_COLUMN(P, p, //! Total momentum in GeV/c
14181417

14191418
DECLARE_SOA_DYNAMIC_COLUMN(Xi0Mass, xi0Mass,
14201419
[](float photon1Px, float photon1Py, float photon1Pz, float photon2Px, float photon2Py, float photon2Pz, float lambdaPx, float lambdaPy, float lambdaPz) -> float {
1421-
std::array<float, 3> pVecPi0{photon1Px+photon2Px, photon1Py+photon2Py, photon1Pz+photon2Pz};
1420+
std::array<float, 3> pVecPi0{photon1Px + photon2Px, photon1Py + photon2Py, photon1Pz + photon2Pz};
14221421
std::array<float, 3> pVecLambda{lambdaPx, lambdaPy, lambdaPz};
14231422
auto arrMom = std::array{pVecPi0, pVecLambda};
14241423
return RecoDecay::m(arrMom, std::array{o2::constants::physics::MassPi0, o2::constants::physics::MassXi0});
1425-
});
1424+
});
14261425

14271426
DECLARE_SOA_DYNAMIC_COLUMN(PxPi0, pxPi0, //! Pi0 px
14281427
[](float photon1Px, float photon2Px) -> float { return photon1Px + photon2Px; });
@@ -1456,11 +1455,11 @@ DECLARE_SOA_DYNAMIC_COLUMN(Radius, radius, //! Xi0 decay radius (2D, centered at
14561455
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
14571456

14581457
DECLARE_SOA_DYNAMIC_COLUMN(RadiusPi0, radiusPi0, //! Pi0 decay radius (2D, centered at zero)
1459-
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
1458+
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
14601459

14611460
DECLARE_SOA_DYNAMIC_COLUMN(RadiusLambda, radiusLambda, //! Pi0 decay radius (2D, centered at zero)
1462-
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
1463-
1461+
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
1462+
14641463
// CosPAs
14651464
DECLARE_SOA_DYNAMIC_COLUMN(Pi0CosPA, pi0CosPA, //!
14661465
[](float xPi0, float yPi0, float zPi0, float pxGamma1, float pyGamma1, float pzGamma1, float pxGamma2, float pyGamma2, float pzGamma2, float pvX, float pvY, float pvZ) -> float {
@@ -1479,14 +1478,14 @@ DECLARE_SOA_DYNAMIC_COLUMN(DCALambdaToPV, dcaLambdaToPV, //!
14791478
[](float X, float Y, float Z, float px, float py, float pz, float pvX, float pvY, float pvZ) -> float {
14801479
return std::sqrt((std::pow((pvY - Y) * pz - (pvZ - Z) * py, 2) + std::pow((pvX - X) * pz - (pvZ - Z) * px, 2) + std::pow((pvX - X) * py - (pvY - Y) * px, 2)) / (px * px + py * py + pz * pz));
14811480
});
1482-
1481+
14831482
DECLARE_SOA_DYNAMIC_COLUMN(DCAPi0ToPV, dcaPi0ToPV, //!
14841483
[](float X, float Y, float Z, float pxGamma1, float pyGamma1, float pzGamma1, float pxGamma2, float pyGamma2, float pzGamma2, float pvX, float pvY, float pvZ) -> float {
14851484
float px = pxGamma1 + pxGamma2;
14861485
float py = pyGamma1 + pyGamma2;
14871486
float pz = pzGamma1 + pzGamma2;
14881487
return std::sqrt((std::pow((pvY - Y) * pz - (pvZ - Z) * py, 2) + std::pow((pvX - X) * pz - (pvZ - Z) * px, 2) + std::pow((pvX - X) * py - (pvY - Y) * px, 2)) / (px * px + py * py + pz * pz));
1489-
});
1488+
});
14901489

14911490
DECLARE_SOA_DYNAMIC_COLUMN(Photon1Pt, photon1Pt, //! Transverse momentum in GeV/c
14921491
[](float photon1Px, float photon1Py) -> float {
@@ -1555,12 +1554,12 @@ DECLARE_SOA_DYNAMIC_COLUMN(LambdaY, lambdaY, //! Rapidity
15551554
});
15561555

15571556
DECLARE_SOA_DYNAMIC_COLUMN(LambdaPhi, lambdaPhi, //! Phi in the range [0, 2pi)
1558-
[](float lambdaPx, float lambdaPy) -> float { return RecoDecay::phi(lambdaPx, lambdaPy); });
1557+
[](float lambdaPx, float lambdaPy) -> float { return RecoDecay::phi(lambdaPx, lambdaPy); });
15591558

1560-
} // namespace Pi0Core
1559+
} // namespace Xi0Core
15611560

15621561
DECLARE_SOA_TABLE(Xi0Cores, "AOD", "XI0CORES",
1563-
Xi0Core::X, Xi0Core::Y, Xi0Core::Z,
1562+
Xi0Core::X, Xi0Core::Y, Xi0Core::Z,
15641563
Xi0Core::XPi0, Xi0Core::YPi0, Xi0Core::ZPi0,
15651564
Xi0Core::XLambda, Xi0Core::YLambda, Xi0Core::ZLambda,
15661565
Xi0Core::DCADaughters, Xi0Core::DCADaughtersPi0, Xi0Core::DCAXYCascToPV, Xi0Core::DCAZCascToPV,
@@ -1619,15 +1618,14 @@ DECLARE_SOA_TABLE(Xi0CollRefs, "AOD", "XI0COLLREFS", //! optional table to refer
16191618
o2::soa::Index<>, v0data::StraCollisionId);
16201619

16211620
DECLARE_SOA_TABLE(Xi0Indices, "AOD", "XI0INDICES", //! optional table to refer back to V0Cores
1622-
o2::soa::Index<>, Xi0Core::Photon1Index, Xi0Core::Photon2Index, Xi0Core::LambdaIndex);
1623-
1624-
1621+
o2::soa::Index<>, Xi0Core::Photon1Index, Xi0Core::Photon2Index, Xi0Core::LambdaIndex);
1622+
16251623
// for MC
16261624
namespace Xi0MCCore
16271625
{
16281626
DECLARE_SOA_COLUMN(Photon1Index, photon1Index, int);
16291627
DECLARE_SOA_COLUMN(Photon2Index, photon2Index, int);
1630-
DECLARE_SOA_COLUMN(LambdaIndex, lambdaIndex, int);
1628+
DECLARE_SOA_COLUMN(LambdaIndex, lambdaIndex, int);
16311629

16321630
DECLARE_SOA_COLUMN(Photon1MCPx, photon1mcpx, float);
16331631
DECLARE_SOA_COLUMN(Photon1MCPy, photon1mcpy, float);
@@ -1700,13 +1698,13 @@ DECLARE_SOA_DYNAMIC_COLUMN(MCPhi, mcPhi, //! Phi in the range [0, 2pi)
17001698
DECLARE_SOA_DYNAMIC_COLUMN(MCEta, mcEta, //! Pseudorapidity
17011699
[](float photon1MCPx, float photon1MCPy, float photon1MCPz, float photon2MCPx, float photon2MCPy, float photon2MCPz, float lambdaMCPx, float lambdaMCPy, float lambdaMCPz) -> float {
17021700
return RecoDecay::eta(std::array{photon1MCPx + photon2MCPx + lambdaMCPx, photon1MCPy + photon2MCPy + lambdaMCPy, photon1MCPz + photon2MCPz + lambdaMCPz});
1703-
});
1704-
1701+
});
1702+
17051703
DECLARE_SOA_DYNAMIC_COLUMN(MCRadius, mcRadius, //! Xi0 decay radius (2D, centered at zero)
17061704
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
17071705

17081706
DECLARE_SOA_DYNAMIC_COLUMN(MCRadiusPi0, mcRadiusPi0, //! Pi0 decay radius (2D, centered at zero)
1709-
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
1707+
[](float x, float y) -> float { return RecoDecay::sqrtSumOfSquares(x, y); });
17101708

17111709
DECLARE_SOA_DYNAMIC_COLUMN(Pi0MCPx, pi0mcpx, //! Pi0 MC px
17121710
[](float photon1MCPx, float photon2MCPx) -> float { return photon1MCPx + photon2MCPx; });
@@ -1820,9 +1818,9 @@ DECLARE_SOA_DYNAMIC_COLUMN(LambdaMCY, lambdaMCY, //! Rapidity
18201818
});
18211819

18221820
DECLARE_SOA_DYNAMIC_COLUMN(LambdaMCPhi, lambdaMCPhi, //! Phi in the range [0, 2pi)
1823-
[](float lambdaMCPx, float lambdaMCPy) -> float { return RecoDecay::phi(lambdaMCPx, lambdaMCPy); });
1821+
[](float lambdaMCPx, float lambdaMCPy) -> float { return RecoDecay::phi(lambdaMCPx, lambdaMCPy); });
18241822

1825-
} // namespace Xi0CoreMC
1823+
} // namespace Xi0MCCore
18261824

18271825
DECLARE_SOA_TABLE(Xi0MCCores, "AOD", "XI0MCCORES",
18281826
// Basic properties
@@ -1839,7 +1837,7 @@ DECLARE_SOA_TABLE(Xi0MCCores, "AOD", "XI0MCCORES",
18391837
Xi0MCCore::IsPi0Primary, Xi0MCCore::Pi0MCprocess, Xi0MCCore::Pi0PDGCode,
18401838

18411839
Xi0MCCore::MCx, Xi0MCCore::MCy, Xi0MCCore::MCz,
1842-
Xi0MCCore::IsPhysicalPrimary, Xi0MCCore::MCprocess, Xi0MCCore::PDGCode, Xi0MCCore::PDGCodeMother,
1840+
Xi0MCCore::IsPhysicalPrimary, Xi0MCCore::MCprocess, Xi0MCCore::PDGCode, Xi0MCCore::PDGCodeMother,
18431841

18441842
// Dynamic columns
18451843
Xi0MCCore::MCPx<Xi0MCCore::Photon1MCPx, Xi0MCCore::Photon2MCPx, Xi0MCCore::LambdaMCPx>,
@@ -1876,7 +1874,7 @@ DECLARE_SOA_TABLE(Xi0MCCores, "AOD", "XI0MCCORES",
18761874
Xi0MCCore::Photon2MCEta<Xi0MCCore::Photon2MCPx, Xi0MCCore::Photon2MCPy, Xi0MCCore::Photon2MCPz>,
18771875
Xi0MCCore::Photon2MCY<Xi0MCCore::Photon2MCPx, Xi0MCCore::Photon2MCPy, Xi0MCCore::Photon2MCPz>,
18781876
Xi0MCCore::Photon2MCPhi<Xi0MCCore::Photon2MCPx, Xi0MCCore::Photon2MCPy>,
1879-
1877+
18801878
Xi0MCCore::LambdaMCPt<Xi0MCCore::LambdaMCPx, Xi0MCCore::LambdaMCPy>,
18811879
Xi0MCCore::LambdaMCP<Xi0MCCore::LambdaMCPx, Xi0MCCore::LambdaMCPy, Xi0MCCore::LambdaMCPz>,
18821880
Xi0MCCore::LambdaMCEta<Xi0MCCore::LambdaMCPx, Xi0MCCore::LambdaMCPy, Xi0MCCore::LambdaMCPz>,
@@ -1887,7 +1885,7 @@ DECLARE_SOA_TABLE(Xi0MCCollRefs, "AOD", "XI0MCCOLLREFS", //! optional table to r
18871885
o2::soa::Index<>, v0data::StraMCCollisionId);
18881886

18891887
DECLARE_SOA_TABLE(Xi0MCIndices, "AOD", "XI0MCINDICES", //! optional table to refer back to V0MCCores
1890-
o2::soa::Index<>, Xi0MCCore::Photon1Index, Xi0MCCore::Photon2Index, Xi0MCCore::LambdaIndex);
1888+
o2::soa::Index<>, Xi0MCCore::Photon1Index, Xi0MCCore::Photon2Index, Xi0MCCore::LambdaIndex);
18911889

18921890
} // namespace o2::aod
18931891

‎PWGLF/TableProducer/Strangeness/sigma0builder.cxx‎

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@
2121
#include "PWGLF/DataModel/LFStrangenessMLTables.h"
2222
#include "PWGLF/DataModel/LFStrangenessPIDTables.h"
2323
#include "PWGLF/DataModel/LFStrangenessTables.h"
24-
#include "Common/Tools/StandardCCDBLoader.h"
25-
#include <DCAFitter/DCAFitterN.h>
2624

2725
#include "Common/CCDB/EventSelectionParams.h"
2826
#include "Common/CCDB/ctpRateFetcher.h"
2927
#include "Common/Core/RecoDecay.h"
28+
#include "Common/Tools/StandardCCDBLoader.h"
3029

3130
#include <CCDB/BasicCCDBManager.h>
3231
#include <CommonConstants/MathConstants.h>
3332
#include <CommonConstants/PhysicsConstants.h>
33+
#include <DCAFitter/DCAFitterN.h>
3434
#include <Framework/ASoA.h>
3535
#include <Framework/AnalysisDataModel.h>
3636
#include <Framework/AnalysisHelpers.h>
@@ -113,7 +113,7 @@ struct sigma0builder {
113113
//__________________________________________________
114114
// Xi0 specific
115115
Produces<aod::Xi0Cores> xi0cores; // xi0 candidates info for analysis
116-
Produces<aod::Xi0CollRefs> xi0collRefs; // references to straCollision
116+
Produces<aod::Xi0CollRefs> xi0collRefs; // references to straCollision
117117
Produces<aod::Xi0Indices> xi0Indices; // references to V0Cores
118118
Produces<aod::Xi0MCCores> xi0mccores; // Reco xi0 MC properties
119119
Produces<aod::Xi0MCCollRefs> xi0mccollRefs; // references to straMCCollision
@@ -892,12 +892,12 @@ struct sigma0builder {
892892
// ______________________________________________________
893893
// Struct to store V0Pair properties
894894
struct V0PairTopoInfo {
895-
std::array<float, 3> position {-999.f, -999.f, -999.f};
895+
std::array<float, 3> position{-999.f, -999.f, -999.f};
896896
float dcaPi0ToPV = 999.f;
897897
float daughterDCA = 999.f;
898898
float cosPA = -1.f;
899-
float pi0Mass= 999.f;
900-
float pi0Y= 999.f;
899+
float pi0Mass = 999.f;
900+
float pi0Y = 999.f;
901901

902902
int v01Index = 0; // index to de-reference V0Cores table
903903
int v02Index = 0; // index to de-reference V0Cores table
@@ -964,31 +964,31 @@ struct sigma0builder {
964964
// ______________________________________________________
965965
// Struct to store V0Pair properties
966966
struct Xi0Info {
967-
std::array<float, 3> gamma1Momentum {999.f, 999.f, 999.f};
968-
std::array<float, 3> gamma2Momentum {999.f, 999.f, 999.f};
969-
std::array<float, 3> lambdaMomentum {999.f, 999.f, 999.f};
970-
std::array<float, 3> pi0Position {0., 0., 0.};
971-
std::array<float, 3> cascadePosition {0., 0., 0.};
967+
std::array<float, 3> gamma1Momentum{999.f, 999.f, 999.f};
968+
std::array<float, 3> gamma2Momentum{999.f, 999.f, 999.f};
969+
std::array<float, 3> lambdaMomentum{999.f, 999.f, 999.f};
970+
std::array<float, 3> pi0Position{0., 0., 0.};
971+
std::array<float, 3> cascadePosition{0., 0., 0.};
972972
float xi0Mass = 999.f;
973973
float dcaPi0ToPV = 999.f;
974974
float pi0DaughterDCA = 999.f;
975975
float cascadeDaughterDCA = 999.f;
976976
float cascadeDCAxy = 999.f;
977977
float cascadeDCAz = 999.f;
978-
978+
979979
int collisionId = 0;
980980
int gamma1Index = 0; // index to de-reference V0Cores table
981981
int gamma2Index = 0; // index to de-reference V0Cores table
982982
int lambdaIndex = 0; // index to de-reference V0Cores table
983983

984-
std::array<float, 21> covariance {0.};
984+
std::array<float, 21> covariance{0.};
985985
};
986986

987987
struct Xi0MCInfo {
988988
int gamma1Index = 0; // index to de-reference V0MCCores table
989989
int gamma2Index = 0; // index to de-reference V0MCCores table
990990
int lambdaIndex = 0; // index to de-reference V0MCCores table
991-
991+
992992
// Basic kinematic info
993993
float gamma1MCpx = -999.f;
994994
float gamma1MCpy = -999.f;
@@ -1472,8 +1472,8 @@ struct sigma0builder {
14721472
auto MCParticle_gamma2 = mcparticles.rawIteratorAt(gamma2MC.particleIdMC());
14731473
auto MCParticle_lambda = mcparticles.rawIteratorAt(lambdaMC.particleIdMC());
14741474

1475-
if ((std::abs(MCParticle_gamma1.pdgCode()) == PDG_t::kGamma) &&
1476-
(std::abs(MCParticle_gamma2.pdgCode()) == PDG_t::kGamma) &&
1475+
if ((std::abs(MCParticle_gamma1.pdgCode()) == PDG_t::kGamma) &&
1476+
(std::abs(MCParticle_gamma2.pdgCode()) == PDG_t::kGamma) &&
14771477
(std::abs(MCParticle_lambda.pdgCode()) == PDG_t::kLambda0)) {
14781478

14791479
// Get MC Mothers
@@ -1482,9 +1482,9 @@ struct sigma0builder {
14821482
auto const& MCMothersList_lambda = MCParticle_lambda.template mothers_as<aod::McParticles>();
14831483

14841484
if (!MCMothersList_gamma1.empty() && !MCMothersList_gamma2.empty() && !MCMothersList_lambda.empty()) { // Are there mothers?
1485-
auto const& MCMother_gamma1 = MCMothersList_gamma1.front(); // First mother
1486-
auto const& MCMother_gamma2 = MCMothersList_gamma2.front(); // First mother
1487-
auto const& MCMother_lambda = MCMothersList_lambda.front(); // First mother
1485+
auto const& MCMother_gamma1 = MCMothersList_gamma1.front(); // First mother
1486+
auto const& MCMother_gamma2 = MCMothersList_gamma2.front(); // First mother
1487+
auto const& MCMother_lambda = MCMothersList_lambda.front(); // First mother
14881488

14891489
MCinfo.gamma1PDGCodeMother = MCMother_gamma1.pdgCode();
14901490
MCinfo.gamma2PDGCodeMother = MCMother_gamma2.pdgCode();
@@ -1500,9 +1500,9 @@ struct sigma0builder {
15001500
MCinfo.pi0Z = MCMother_gamma1.vz();
15011501

15021502
auto const& MCMothersList_pi0 = MCMother_gamma1.template mothers_as<aod::McParticles>(); // get pi0 mother list
1503-
if (!MCMothersList_pi0.empty()) { // Are there mothers?
1504-
auto const& MCMother_pi0 = MCMothersList_pi0.front(); // get pi0 mother
1505-
1503+
if (!MCMothersList_pi0.empty()) { // Are there mothers?
1504+
auto const& MCMother_pi0 = MCMothersList_pi0.front(); // get pi0 mother
1505+
15061506
if (MCMother_pi0.globalIndex() == MCMother_lambda.globalIndex()) { // check that lambda and pi0 have the same mother.
15071507
MCinfo.xi0PDGCode = MCMother_pi0.pdgCode();
15081508
MCinfo.xi0MCProcess = MCMother_pi0.getProcess();
@@ -2601,7 +2601,7 @@ struct sigma0builder {
26012601
//_______________________________________________
26022602
// Build pi0 candidate for QA
26032603
template <typename TV0Object, typename TCollision>
2604-
bool buildPi0ForXi0(TV0Object const& gamma1, TV0Object const& gamma2, TCollision const& collision, V0PairTopoInfo &info)
2604+
bool buildPi0ForXi0(TV0Object const& gamma1, TV0Object const& gamma2, TCollision const& collision, V0PairTopoInfo& info)
26052605
{
26062606
//_______________________________________________
26072607
// Check if both V0s are made of the same tracks
@@ -2629,7 +2629,7 @@ struct sigma0builder {
26292629

26302630
info.v01Index = gamma1.globalIndex();
26312631
info.v02Index = gamma2.globalIndex();
2632-
2632+
26332633
//_______________________________________________
26342634
// Pi0-specific selections:
26352635
if (std::abs(info.pi0Y) > cascadeSelections.maxPi0Rapidity)
@@ -2675,7 +2675,7 @@ struct sigma0builder {
26752675
if (std::hypot(info.position[0], info.position[1]) < cascadeSelections.radiusPi0) {
26762676
return false;
26772677
}
2678-
2678+
26792679
float x = vtxPi0[0];
26802680
float y = vtxPi0[1];
26812681
float z = vtxPi0[2];
@@ -2780,9 +2780,9 @@ struct sigma0builder {
27802780

27812781
// Calculate DCAxy of the cascade (with bending)
27822782
auto lCascadeTrack = fitter3Prongs.createParentTrackParCov();
2783-
lCascadeTrack.setAbsCharge(0); // to be sure
2783+
lCascadeTrack.setAbsCharge(0); // to be sure
27842784
lCascadeTrack.setPID(o2::track::PID::XiMinus); // FIXME: not OK for omegas
2785-
std::array<float, 2> dcaInfo {999.f, 999.f};
2785+
std::array<float, 2> dcaInfo{999.f, 999.f};
27862786

27872787
o2::base::Propagator::Instance()->propagateToDCABxByBz({collision.posX(), collision.posY(), collision.posZ()}, lCascadeTrack, 2.f, fitter3Prongs.getMatCorrType(), &dcaInfo);
27882788
cascade.cascadeDCAxy = dcaInfo[0];
@@ -2795,10 +2795,10 @@ struct sigma0builder {
27952795
cascade.gamma2Index = gamma2.globalIndex();
27962796
cascade.lambdaIndex = lambda.globalIndex();
27972797

2798-
std::array<float, 3> momPi0{gamma1.px()+gamma2.px(), gamma1.py()+gamma2.py(), gamma1.pz()+gamma2.pz()};
2798+
std::array<float, 3> momPi0{gamma1.px() + gamma2.px(), gamma1.py() + gamma2.py(), gamma1.pz() + gamma2.pz()};
27992799
auto arrMom = std::array{momPi0, momLambda};
28002800
cascade.xi0Mass = RecoDecay::m(arrMom, std::array{o2::constants::physics::MassPi0, o2::constants::physics::MassXi0});
2801-
2801+
28022802
// Calculate position covariance matrix
28032803
auto covVtxV = fitter3Prongs.calcPCACovMatrix(0);
28042804
// std::array<float, 6> positionCovariance;
@@ -2827,7 +2827,7 @@ struct sigma0builder {
28272827
}
28282828

28292829
// Check if MC data and populate corresponding table
2830-
if constexpr (requires { collision.straMCCollisionId(); gamma1.motherMCPartId(); gamma2.motherMCPartId(); lambda.motherMCPartId();}) {
2830+
if constexpr (requires { collision.straMCCollisionId(); gamma1.motherMCPartId(); gamma2.motherMCPartId(); lambda.motherMCPartId(); }) {
28312831
auto xi0MCInfo = getXi0MCInfo(gamma1, gamma2, lambda, collision, mcparticles);
28322832

28332833
xi0mccores(xi0MCInfo.gamma1MCpx, xi0MCInfo.gamma1MCpy, xi0MCInfo.gamma1MCpz,
@@ -2838,7 +2838,7 @@ struct sigma0builder {
28382838
xi0MCInfo.lambdaIsPhysicalPrimary, xi0MCInfo.lambdaPDGCodePos, xi0MCInfo.lambdaPDGCodeNeg, xi0MCInfo.lambdaPDGCode, xi0MCInfo.lambdaPDGCodeMother,
28392839
xi0MCInfo.pi0X, xi0MCInfo.pi0Y, xi0MCInfo.pi0Z, xi0MCInfo.pi0IsPhysicalPrimary, xi0MCInfo.pi0MCProcess, xi0MCInfo.pi0PDGCode,
28402840
xi0MCInfo.xi0X, xi0MCInfo.xi0Y, xi0MCInfo.xi0Z, xi0MCInfo.xi0IsPhysicalPrimary, xi0MCInfo.xi0MCProcess, xi0MCInfo.xi0PDGCode, xi0MCInfo.xi0PDGCodeMother);
2841-
2841+
28422842
xi0mcIndices(xi0MCInfo.gamma1Index, xi0MCInfo.gamma2Index, xi0MCInfo.lambdaIndex);
28432843

28442844
int mcCollisionIndex = -1;
@@ -3402,7 +3402,7 @@ struct sigma0builder {
34023402
pi0Candidates.push_back(pi0Info);
34033403
}
34043404
}
3405-
3405+
34063406
// second build Xi0 candidates
34073407
for (size_t i = 0; i < bestLambdasArray.size(); ++i) { // loop over Lambda
34083408
auto lambda = fullV0s.rawIteratorAt(bestLambdasArray[i]);

0 commit comments

Comments
 (0)