Skip to content

Commit b0d5a8f

Browse files
authored
[PWGEM] add event seleciton cut (#7088)
* [PWGEM] add event seleciton cut * [PWGEM] add DCAxy vs DCAz histogram and increase DCA range in Pt vs DCA
1 parent b4473e2 commit b0d5a8f

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

PWGDQ/Core/CutsLibrary.cxx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3166,6 +3166,22 @@ AnalysisCut* o2::aod::dqcuts::GetAnalysisCut(const char* cutName)
31663166
return cut;
31673167
}
31683168

3169+
if (!nameStr.compare("eventStandardSel8NoTFBNoITSROFB")) {
3170+
cut->AddCut(VarManager::kVtxZ, -10.0, 10.0);
3171+
cut->AddCut(VarManager::kIsSel8, 0.5, 1.5);
3172+
cut->AddCut(VarManager::kIsNoTFBorder, 0.5, 1.5);
3173+
cut->AddCut(VarManager::kIsNoITSROFBorder, 0.5, 1.5);
3174+
return cut;
3175+
}
3176+
3177+
if (!nameStr.compare("eventStandardSel8NoTFBNoITSROFBrecomp")) {
3178+
cut->AddCut(VarManager::kVtxZ, -10.0, 10.0);
3179+
cut->AddCut(VarManager::kIsSel8, 0.5, 1.5);
3180+
cut->AddCut(VarManager::kIsNoTFBorder, 0.5, 1.5);
3181+
cut->AddCut(VarManager::kIsNoITSROFBorderRecomputed, 0.5, 1.5);
3182+
return cut;
3183+
}
3184+
31693185
if (!nameStr.compare("eventStandardSel8PbPbQuality")) {
31703186
cut->AddCut(VarManager::kVtxZ, -10.0, 10.0);
31713187
cut->AddCut(VarManager::kIsSel8, 0.5, 1.5);

PWGDQ/Core/HistogramsLibrary.cxx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,11 +646,13 @@ void o2::aod::dqhistograms::DefineHistograms(HistogramManager* hm, const char* h
646646
hm->AddHistogram(histClass, "DCAz", "DCA_{z}", false, 800, -4.0, 4.0, VarManager::kTrackDCAz);
647647
hm->AddHistogram(histClass, "DCAsigXY", "DCA_{XY} [#sigma]", false, 200, -20.0, 20.0, VarManager::kTrackDCAsigXY);
648648
hm->AddHistogram(histClass, "DCAsigZ", "DCA_{Z} [#sigma]", false, 200, -20.0, 20.0, VarManager::kTrackDCAsigZ);
649+
hm->AddHistogram(histClass, "DCAxy_DCAz", "DCA_{xy} vs DCA_{z}", false, 200, -4.0, 4.0, VarManager::kTrackDCAxy, 200, -4.0, 4.0, VarManager::kTrackDCAz);
650+
hm->AddHistogram(histClass, "DCAsigXY_DCAsigZ", "DCA_{XY} [#sigma] vs DCA_{Z} [#sigma]", false, 200, -20.0, 20.0, VarManager::kTrackDCAsigXY, 200, -20.0, 20.0, VarManager::kTrackDCAsigZ);
649651
if (subGroupStr.Contains("pt")) {
650652
hm->AddHistogram(histClass, "Pt_DCAxy", "p_{T} vs DCA_{xy}", false, 200, 0.0, 20.0, VarManager::kPt, 400, -2.0, 2.0, VarManager::kTrackDCAxy);
651653
hm->AddHistogram(histClass, "Pt_DCAz", "p_{T} vs DCA_{z}", false, 200, 0.0, 20.0, VarManager::kPt, 800, -4.0, 4.0, VarManager::kTrackDCAz);
652-
hm->AddHistogram(histClass, "Pt_DCAsigXY", "p_{T} vs DCA_{XY} [#sigma]", false, 200, 0.0, 20.0, VarManager::kPt, 100, -10.0, 10.0, VarManager::kTrackDCAsigXY); // JJ:edit
653-
hm->AddHistogram(histClass, "Pt_DCAsigZ", "p_{T} vs DCA_{Z} [#sigma]", false, 200, 0.0, 20.0, VarManager::kPt, 100, -10.0, 10.0, VarManager::kTrackDCAsigZ);
654+
hm->AddHistogram(histClass, "Pt_DCAsigXY", "p_{T} vs DCA_{XY} [#sigma]", false, 200, 0.0, 20.0, VarManager::kPt, 200, -20.0, 20.0, VarManager::kTrackDCAsigXY); // JJ:edit
655+
hm->AddHistogram(histClass, "Pt_DCAsigZ", "p_{T} vs DCA_{Z} [#sigma]", false, 200, 0.0, 20.0, VarManager::kPt, 200, -20.0, 20.0, VarManager::kTrackDCAsigZ);
654656
hm->AddHistogram(histClass, "Pt_DCAresXY", "p_{T} vs #DeltaDCA_{XY}", false, 200, 0.0, 10.0, VarManager::kPt, 100, -0.03, 0.03, VarManager::kTrackDCAresXY);
655657
hm->AddHistogram(histClass, "Pt_DCAresZ", "p_{T} vs #DeltaDCA_{Z}", false, 200, 0.0, 10.0, VarManager::kPt, 100, -0.03, 0.03, VarManager::kTrackDCAresZ);
656658
}

0 commit comments

Comments
 (0)