You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 07a16ff
Browse filesBrowse the repository at this point in the historyBrowse files
[PWGHF] Add possibility to use EVTGEN in HF generator + config for B2Jpsi (#2378)
* Add EVTGEN in HF generator + config for B2Jpsi
* update comment
* Update decays
* Add test macro
* Revert to default test file name
* Fix generator in case of no usage of EVTGEN decayer
* Change number of test events
* Revert number of test events for charm baryon config
* Increase number of test events for SigmaC bkg MC
if (nEventsMB<nEvents* (1-ratioTrigger) *0.95||nEventsMB>nEvents* (1-ratioTrigger) *1.05) { // we put some tolerance since the number of generated events is small
97
+
std::cerr << "Number of generated MB events different than expected\n";
98
+
return1;
99
+
}
100
+
if (nEventsInj<nEvents*ratioTrigger*0.95||nEventsInj>nEvents*ratioTrigger*1.05) {
101
+
std::cerr << "Number of generated events injected with " << checkPdgQuark << " different than expected\n";
if (1-fracForcedDecays>0.5+uncFracForcedDecays) { // at least 50% in the main decay channels (we also have correlated backgrounds, mostly from other B decays)
108
+
std::cerr << "Fraction of signals decaying into the correct channel " << fracForcedDecays << " lower than expected\n";
0 commit comments