Skip to content
Open
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: 10 additions & 0 deletions PWGDQ/Core/CutsLibrary.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -3273,6 +3273,11 @@
return cut;
}

if (nameStr == "muonStreamSelection") {
cut->AddCut(GetAnalysisCut("muonStreamSelection"));
return cut;
}

if (nameStr == "matchedFwd") {
cut->AddCut(GetAnalysisCut("matchedFwd"));
return cut;
Expand Down Expand Up @@ -5988,7 +5993,7 @@
if (icase == 0) {
cut->AddCut(VarManager::kTPCnSigmaEl, -4., 4., false, VarManager::kPin, 0.0, 1e+10, false);
cut->AddCut(VarManager::kTPCnSigmaPi, -99., 2.5, true, VarManager::kPin, 0.0, 1e+10, false);
} else if (icase == 1 || icase == 2) {

Check failure on line 5996 in PWGDQ/Core/CutsLibrary.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[magic-number]

Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
cut->AddCut(VarManager::kTPCnSigmaEl_Corr, -4., 4., false, VarManager::kPin, 0.0, 1e+10, false);
cut->AddCut(VarManager::kTPCnSigmaPi_Corr, -99., 2.5, true, VarManager::kPin, 0.0, 1e+10, false);
}
Expand Down Expand Up @@ -6701,6 +6706,11 @@
return cut;
}

if (nameStr == "muonStreamSelection") {
cut->AddCut(VarManager::kMuonTrackType, 2.5, 4.5); // selecting both MCH and MCH-MID tracks
return cut;
}

if (nameStr == "matchedFwd") {
cut->AddCut(VarManager::kMuonTrackType, 1.5, 2.5);
return cut;
Expand Down
Loading