Skip to content

Commit c0af00a

Browse files
author
Christopher Klumm
committed
removal of o2 linter errors.
1 parent 1c0ac1c commit c0af00a

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

PWGCF/FemtoDream/TableProducer/femtoDreamProducerTaskForSpecificAnalysis.cxx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ struct FemtoDreamProducerTaskForSpecificAnalysis {
117117

118118
HistogramRegistry eventRegistry{"eventRegistry", {}, OutputObjHandlingPolicy::AnalysisObject};
119119

120-
static constexpr uint32_t kSignPlusMask = 1 << 1;
120+
static constexpr uint32_t KSignPlusMask = 1 << 1;
121121

122122
template <typename T>
123123
int getRowDaughters(int daughID, T const& vecID)
@@ -308,7 +308,7 @@ struct FemtoDreamProducerTaskForSpecificAnalysis {
308308
int ascadeCount = 0;
309309
int antiCascadeCount = 0;
310310
for (const auto& casc : groupSelectedCascades) {
311-
if ((casc.cut() & kSignPlusMask) == kSignPlusMask) {
311+
if ((casc.cut() & KSignPlusMask) == KSignPlusMask) {
312312
ascadeCount++;
313313
} else {
314314
antiCascadeCount++;
@@ -421,7 +421,7 @@ struct FemtoDreamProducerTaskForSpecificAnalysis {
421421
// check v0's
422422
int v0Count = 0;
423423
int antiV0Count = 0;
424-
int ResoCount = 0; // no antiparticles
424+
int resoCount = 0; // no antiparticles
425425

426426
for (const auto& V0 : groupSelectedV0s) {
427427
if ((V0.mLambda() > confMinInvMassV0) && (V0.mLambda() < confMaxInvMassV0)) {
@@ -466,16 +466,16 @@ struct FemtoDreamProducerTaskForSpecificAnalysis {
466466
if (((posresoChild.cut() & Reso.daughPosCutBit) == Reso.daughPosCutBit) &&
467467
((negresoChild.cut() & Reso.daughNegCutBit) == Reso.daughNegCutBit)) {
468468

469-
ResoCount++;
469+
resoCount++;
470470
}
471471
} else {
472-
ResoCount++;
472+
resoCount++;
473473
}
474474
}
475475

476476
std::vector<int> tmpIDtrack;
477477

478-
if ((v0Count >= confNumberOfV0 && ResoCount >= confNumberOfReso) || (antiV0Count >= confNumberOfV0 && ResoCount >= confNumberOfReso)) {
478+
if ((v0Count >= confNumberOfV0 && resoCount >= confNumberOfReso) || (antiV0Count >= confNumberOfV0 && resoCount >= confNumberOfReso)) {
479479
eventRegistry.fill(HIST("hStatistiscs"), 1);
480480
outputCollision(col.posZ(), col.multV0M(), col.multNtr(), col.sphericity(), col.magField());
481481

@@ -579,7 +579,7 @@ struct FemtoDreamProducerTaskForSpecificAnalysis {
579579
// check v0's
580580
int v0Count = 0;
581581
int antiV0Count = 0;
582-
int ResoCount = 0; // no antiparticles
582+
int resoCount = 0; // no antiparticles
583583

584584
for (const auto& V0 : groupSelectedV0s) {
585585
if ((V0.mLambda() > confMinInvMassV0) && (V0.mLambda() < confMaxInvMassV0)) {
@@ -624,16 +624,16 @@ struct FemtoDreamProducerTaskForSpecificAnalysis {
624624
if (((posresoChild.cut() & Reso.daughPosCutBit) == Reso.daughPosCutBit) &&
625625
((negresoChild.cut() & Reso.daughNegCutBit) == Reso.daughNegCutBit)) {
626626

627-
ResoCount++;
627+
resoCount++;
628628
}
629629
} else {
630-
ResoCount++;
630+
resoCount++;
631631
}
632632
}
633633

634634
std::vector<int> tmpIDtrack;
635635

636-
if ((v0Count >= confNumberOfV0 && ResoCount >= confNumberOfReso) || (antiV0Count >= confNumberOfV0 && ResoCount >= confNumberOfReso)) {
636+
if ((v0Count >= confNumberOfV0 && resoCount >= confNumberOfReso) || (antiV0Count >= confNumberOfV0 && resoCount >= confNumberOfReso)) {
637637
eventRegistry.fill(HIST("hStatistiscs"), 1);
638638
outputCollision(col.posZ(), col.multV0M(), col.multNtr(), col.sphericity(), col.magField());
639639

0 commit comments

Comments
 (0)