Skip to content

Commit 8b5cf9e

Browse files
authored
Please consider the following formatting changes (#183)
1 parent 0e81eef commit 8b5cf9e

3 files changed

Lines changed: 7 additions & 9 deletions

File tree

PWGLF/DataModel/LFStrangenessTables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ DECLARE_SOA_COLUMN(Z, z, float); //! decay position Z
4343
DECLARE_SOA_COLUMN(DCAV0Daughters, dcaV0daughters, float); //! DCA between V0 daughters
4444
DECLARE_SOA_COLUMN(DCAPosToPV, dcapostopv, float); //! DCA positive prong to PV
4545
DECLARE_SOA_COLUMN(DCANegToPV, dcanegtopv, float); //! DCA negative prong to PV
46-
DECLARE_SOA_COLUMN(V0CosPA, v0cosPA, float); //! DCA negative prong to PV
47-
DECLARE_SOA_COLUMN(DCAV0ToPV, dcav0topv, float); //! DCA negative prong to PV
46+
DECLARE_SOA_COLUMN(V0CosPA, v0cosPA, float); //! DCA negative prong to PV
47+
DECLARE_SOA_COLUMN(DCAV0ToPV, dcav0topv, float); //! DCA negative prong to PV
4848

4949
// Saved from finding: covariance matrix of parent track (on request)
5050
DECLARE_SOA_COLUMN(PositionCovMat, positionCovMat, float[6]); //! covariance matrix elements

PWGLF/TableProducer/lambdakzerobuilder.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ struct lambdakzeroBuilder {
212212
{"hV0Criteria", "hV0Criteria", {HistType::kTH1F, {{10, -0.5f, 9.5f}}}}}};
213213

214214
float CalculateDCAStraightToPV(float X, float Y, float Z, float Px, float Py, float Pz, float pvX, float pvY, float pvZ)
215-
{
215+
{
216216
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));
217217
}
218218

@@ -585,14 +585,13 @@ struct lambdakzeroBuilder {
585585
return false;
586586
}
587587

588-
v0candidate.dcav0topv = CalculateDCAStraightToPV(
588+
v0candidate.dcav0topv = CalculateDCAStraightToPV(
589589
v0candidate.pos[0], v0candidate.pos[1], v0candidate.pos[2],
590590
v0candidate.posP[0] + v0candidate.negP[0],
591591
v0candidate.posP[1] + v0candidate.negP[1],
592592
v0candidate.posP[2] + v0candidate.negP[2],
593-
primaryVertex.getX(), primaryVertex.getY(), primaryVertex.getZ()
594-
);
595-
593+
primaryVertex.getX(), primaryVertex.getY(), primaryVertex.getZ());
594+
596595
// Passes CosPA check
597596
statisticsRegistry.v0stats[kV0CosPA]++;
598597

PWGLF/TableProducer/lambdakzerofinder.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,7 @@ struct lambdakzerofinder {
277277
}
278278
if (smallestDCA > maxV0DCAtoPV)
279279
return 0; // unassociated
280-
281-
280+
282281
v0(collisionIndex, t1.globalIndex(), t2.globalIndex());
283282
v0data(t1.globalIndex(), t2.globalIndex(), collisionIndex, 0,
284283
fitter.getTrack(0).getX(), fitter.getTrack(1).getX(),

0 commit comments

Comments
 (0)