Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please consider the following formatting changes to #4553 #231

Merged
merged 1 commit into from
Feb 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading