Skip to content

Commit

Permalink
PWGEM: Add cut with only TPC electron PID, no tracking (#6510)
Browse files Browse the repository at this point in the history
  • Loading branch information
feisenhu authored Jun 13, 2024
1 parent db677ab commit 3f0f4da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions PWGDQ/Core/CutsLibrary.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,11 @@ AnalysisCompositeCut* o2::aod::dqcuts::GetCompositeCut(const char* cutName)

// loop to define PID cuts with and without post calibration
for (size_t icase = 0; icase < vecPIDcase.size(); icase++) {
if (!nameStr.compare(Form("lmee_onlyTPCPID%s", vecPIDcase.at(icase).Data()))) {
cut->AddCut(GetAnalysisCut(Form("electronPIDOnly%s", vecPIDcase.at(icase).Data())));
return cut;
}

if (!nameStr.compare(Form("ITSTPC_TPCPID%s_prefilter", vecPIDcase.at(icase).Data()))) {
cut->AddCut(GetAnalysisCut("lmeePrefilterKine"));
cut->AddCut(GetAnalysisCut("electronStandardQualityITSOnly"));
Expand Down
2 changes: 1 addition & 1 deletion PWGDQ/Core/MCSignalLibrary.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
if (!nameStr.compare("eFromPromptHc")) {
MCProng prong(2, {11, 402}, {true, true}, {false, false}, {0, 0}, {0, 0}, {false, false}, false, {502}, {true});
prong.SetSourceBit(0, MCProng::kPhysicalPrimary);
signal = new MCSignal(name, "Electrons from open charmed hadron decays", {prong}, {-1});
signal = new MCSignal(name, "Electrons from open charmed hadron decays without beauty in decay history", {prong}, {-1});
return signal;
}
if (!nameStr.compare("eFromHbtoHc")) {
Expand Down

0 comments on commit 3f0f4da

Please sign in to comment.