Skip to content

Commit

Permalink
Add charge-specific D* signals and LambdaC signal
Browse files Browse the repository at this point in the history
  • Loading branch information
sigurdnese committed Dec 11, 2024
1 parent 99b5788 commit 248ff12
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions PWGDQ/Core/MCSignalLibrary.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1236,6 +1236,16 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
signal = new MCSignal(name, "D*", {prong}, {-1});
return signal;
}
if (!nameStr.compare("DstarPlus")) {
MCProng prong(1, {Pdg::kDStar}, {false}, {false}, {0}, {0}, {false});
signal = new MCSignal(name, "D*+", {prong}, {-1});
return signal;
}
if (!nameStr.compare("DstarMinus")) {
MCProng prong(1, {-Pdg::kDStar}, {false}, {false}, {0}, {0}, {false});
signal = new MCSignal(name, "D*-", {prong}, {-1});
return signal;
}
if (!nameStr.compare("pionFromDstar")) {
MCProng prong(2, {211, Pdg::kDStar}, {true, true}, {false, false}, {0, 0}, {0, 0}, {false, false});
signal = new MCSignal(name, "Pions from D* decays", {prong}, {1});
Expand Down Expand Up @@ -1269,12 +1279,31 @@ MCSignal* o2::aod::dqmcsignals::GetMCSignal(const char* name)
signal = new MCSignal(name, "Kaon pion pion triplet from D*", {prongKaon, prongPionSecondary, prongPion}, {2, 2, 1});
return signal;
}
if (!nameStr.compare("KPiPiFromD0FromDstarPlus")) {
MCProng prongKaon(3, {-321, Pdg::kD0, Pdg::kDStar}, {false, false, false}, {false, false, false}, {0, 0, 0}, {0, 0, 0}, {false, false, false});
MCProng prongPionSecondary(3, {211, Pdg::kD0, Pdg::kDStar}, {false, false, false}, {false, false, false}, {0, 0, 0}, {0, 0, 0}, {false, false, false});
MCProng prongPion(2, {211, Pdg::kDStar}, {false, false}, {false, false}, {0, 0}, {0, 0}, {false, false});
signal = new MCSignal(name, "Kaon pion pion triplet from D*+", {prongKaon, prongPionSecondary, prongPion}, {2, 2, 1});
return signal;
}
if (!nameStr.compare("KPiPiFromD0FromDstarMinus")) {
MCProng prongKaon(3, {321, Pdg::kD0, Pdg::kDStar}, {false, false, false}, {false, false, false}, {0, 0, 0}, {0, 0, 0}, {false, false, false});
MCProng prongPionSecondary(3, {-211, Pdg::kD0, Pdg::kDStar}, {false, false, false}, {false, false, false}, {0, 0, 0}, {0, 0, 0}, {false, false, false});
MCProng prongPion(2, {-211, Pdg::kDStar}, {false, false}, {false, false}, {0, 0}, {0, 0}, {false, false});
signal = new MCSignal(name, "Kaon pion pion triplet from D*-", {prongKaon, prongPionSecondary, prongPion}, {2, 2, 1});
return signal;
}
if (!nameStr.compare("KFromDplus")) {
MCProng prong(2, {321, Pdg::kDPlus}, {true, true}, {false, false}, {0, 0}, {0, 0}, {false, false}, false, {502}, {true});
prong.SetSourceBit(0, MCProng::kPhysicalPrimary);
signal = new MCSignal(name, "Kaons from D+/- decays", {prong}, {-1});
return signal;
}
if (!nameStr.compare("LambdaC")) {
MCProng prong(1, {Pdg::kLambdaCPlus}, {true}, {false}, {0}, {0}, {false});
signal = new MCSignal(name, "Lambda_c", {prong}, {-1});
return signal;
}

//--------------------------------------------------------------------------------

Expand Down

0 comments on commit 248ff12

Please sign in to comment.