Skip to content

Commit

Permalink
Please consider the following formatting changes (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild authored Feb 1, 2024
1 parent f3e22a0 commit 9e446d8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions PWGLF/Tasks/Strangeness/derivedlambdakzeroanalysis.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct derivedlambdakzeroanalysis {
selConsiderK0Short, // for mc tagging
selConsiderLambda, // for mc tagging
selConsiderAntiLambda // for mc tagging
};
};

uint32_t maskTopological;
uint32_t maskTopoNoV0Radius;
Expand Down Expand Up @@ -172,14 +172,14 @@ struct derivedlambdakzeroanalysis {
maskTopoNoDCAV0Dau = (1 << selCosPA) | (1 << selRadius) | (1 << selDCANegToPV) | (1 << selDCAPosToPV);

maskTrackTypes = 0;
if(requirePosITSonly) {
if (requirePosITSonly) {
maskTrackTypes = (1 << selPosItsOnly);
}else{
} else {
maskTrackTypes = (1 << selPosGoodTPCTrack);
}
if(requireNegITSonly) {
if (requireNegITSonly) {
maskTrackTypes = (1 << selNegItsOnly);
}else{
} else {
maskTrackTypes = (1 << selNegGoodTPCTrack);
}

Expand Down Expand Up @@ -289,20 +289,20 @@ struct derivedlambdakzeroanalysis {
bitset(bitMap, selLambdaTPC);
if (compatibleTPC(v0, spAntiLambda))
bitset(bitMap, selAntiLambdaTPC);

auto posTrackExtra = v0.posTrackExtra();
auto negTrackExtra = v0.negTrackExtra();

// TPC quality
if(posTrackExtra.tpcCrossedRows()>=minTPCrows)
if (posTrackExtra.tpcCrossedRows() >= minTPCrows)
bitset(bitMap, selPosGoodTPCTrack);
if(negTrackExtra.tpcCrossedRows()>=minTPCrows)
if (negTrackExtra.tpcCrossedRows() >= minTPCrows)
bitset(bitMap, selNegGoodTPCTrack);

// ITS only tag
if(posTrackExtra.tpcCrossedRows()<1)
if (posTrackExtra.tpcCrossedRows() < 1)
bitset(bitMap, selPosItsOnly);
if(negTrackExtra.tpcCrossedRows()<1)
if (negTrackExtra.tpcCrossedRows() < 1)
bitset(bitMap, selNegItsOnly);

// proper lifetime
Expand Down

0 comments on commit 9e446d8

Please sign in to comment.