Skip to content

Commit 6c6efdd

Browse files
JiYuanjingYuanjing Ji
andauthored
[PWGDQ] Pjpsi femto (#9518)
Co-authored-by: Yuanjing Ji <yji@lxbk0905.gsi.de>
1 parent a99863a commit 6c6efdd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

PWGDQ/Core/CutsLibrary.cxx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,17 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName)
834834
return cut;
835835
}
836836

837+
if (!nameStr.compare("protonPIDPV")) {
838+
cut->AddCut(GetAnalysisCut("protonPID_TPCnTOF2"));
839+
cut->AddCut(GetAnalysisCut("protonPVcut"));
840+
return cut;
841+
}
842+
843+
if (!nameStr.compare("protonPIDPV2")) {
844+
cut->AddCut(GetAnalysisCut("protonPID_TPCnTOF2"));
845+
return cut;
846+
}
847+
837848
if (!nameStr.compare("PrimaryTrack_DCAz")) {
838849
cut->AddCut(GetAnalysisCut("PrimaryTrack_DCAz"));
839850
return cut;
@@ -4539,6 +4550,17 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
45394550
return cut;
45404551
}
45414552

4553+
if (!nameStr.compare("protonPVcut")) {
4554+
cut->AddCut(VarManager::kTrackDCAxy, -0.1, 0.1);
4555+
cut->AddCut(VarManager::kTrackDCAz, -0.15, 0.15);
4556+
cut->AddCut(VarManager::kPt, 0.4, 3);
4557+
cut->AddCut(VarManager::kEta, -0.9, 0.9);
4558+
cut->AddCut(VarManager::kIsSPDany, 0.5, 1.5);
4559+
cut->AddCut(VarManager::kTPCchi2, 0.0, 4.0);
4560+
cut->AddCut(VarManager::kTPCncls, 80, 161.);
4561+
return cut;
4562+
}
4563+
45424564
if (!nameStr.compare("pidbasic")) {
45434565
cut->AddCut(VarManager::kEta, -0.9, 0.9);
45444566
cut->AddCut(VarManager::kTPCncls, 60, 161.);
@@ -5468,6 +5490,11 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
54685490
return cut;
54695491
}
54705492

5493+
if (!nameStr.compare("protonPID_TPCnTOF2")) {
5494+
cut->AddCut(VarManager::kTPCnSigmaPr, -2.5, 2.5);
5495+
return cut;
5496+
}
5497+
54715498
if (!nameStr.compare("tpc_pion_rejection")) {
54725499
TF1* f1maxPi = new TF1("f1maxPi", "[0]+[1]*x", 0, 10);
54735500
f1maxPi->SetParameters(85, -50);

0 commit comments

Comments
 (0)