Skip to content

Commit 489a987

Browse files
committed
disallow KF reconstruction of Cd
1 parent 902770e commit 489a987

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎PWGHF/TableProducer/candidateCreator3Prong.cxx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ struct HfCandidateCreator3Prong {
178178
if ((std::accumulate(doprocessDF.begin(), doprocessDF.end(), 0) + std::accumulate(doprocessKF.begin(), doprocessKF.end(), 0)) != 1) {
179179
LOGP(fatal, "One and only one process function must be enabled at a time.");
180180
}
181+
if (std::accumulate(doprocessKF.begin(), doprocessKF.end(), 0) == 1 && createCharmNuclei == true) {
182+
LOGP(fatal, "KF based reconstruction of charm nuclei is not impemented yet.");
183+
}
181184
std::array<bool, 4> processesCollisions = {doprocessCollisions, doprocessCollisionsCentFT0C, doprocessCollisionsCentFT0M, doprocessCollisionsUpc};
182185
const int nProcessesCollisions = std::accumulate(processesCollisions.begin(), processesCollisions.end(), 0);
183186

0 commit comments

Comments
 (0)