Skip to content
Closed
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
10 changes: 5 additions & 5 deletions PWGCF/Flow/Tasks/flowPidCme.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -312,13 +312,13 @@ struct FillPIDcolums {
pidVectorUpper = pidVectorTPCPtUpper;
pidVectorLower = pidVectorTPCPtLower;
} else {
if(candidate.pt() > cfgPtMaxforTPCOnlyPID && candidate.hasTOF()){
if (candidate.pt() > cfgPtMaxforTPCOnlyPID && candidate.hasTOF()) {
nSigmaToUse = nSigmaCombined;
pidVectorUpper = cfgnSigmaCutRMSUpper.value;
pidVectorLower = cfgnSigmaCutRMSLower.value;
}else if(candidate.pt() > cfgPtMaxforTPCOnlyPID && !candidate.hasTOF() && cfgUseStrictPID){
} else if (candidate.pt() > cfgPtMaxforTPCOnlyPID && !candidate.hasTOF() && cfgUseStrictPID) {
return 0;
}else{
} else {
nSigmaToUse = nSigmaTPC;
pidVectorUpper = cfgnSigmaCutTPCUpper.value;
pidVectorLower = cfgnSigmaCutTPCLower.value;
Expand Down Expand Up @@ -457,12 +457,12 @@ struct FillPIDcolums {
}
}
}
if(cfgUseStrictPID){
if (cfgUseStrictPID) {
// Only use the track which was recognized as an unique PID particle
int index = (kIsPr << 2) | (kIsKa << 1) | kIsPi;
const int map[] = {0, 1, 2, 0, 3, 0, 0, 0};
return map[index];
}else{
} else {
if (cfgOpenAllowCrossTrack) {
// one track can be recognized as different PID particles
int index = (kIsPr << 2) | (kIsKa << 1) | kIsPi;
Expand Down