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 73d3c4d
Browse filesBrowse the repository at this point in the historyBrowse files
auto tracks = emPrimaryElecTmp.sliceBy(perCollisionEl, collision.globalIndex());
72
73
73
74
// check that there are at least minNElecCand in the collision
74
-
if (tracks.size() < minNElecCand) {
75
+
if (!accPCMGGAndDalitz && tracks.size() < minNElecCand) {
75
76
continue;
76
77
}
77
78
78
79
// get photons for current collision
79
80
auto photonskf = v0photonskfTmp.sliceBy(perCol_pcm, collision.globalIndex());
80
81
81
82
// check that there are at least minNGammaCand in the collision
82
-
if (photonskf.size() < minNGammaCand) {
83
+
if (!accPCMGGAndDalitz && photonskf.size() < minNGammaCand) {
83
84
continue;
84
85
}
85
86
87
+
if (accPCMGGAndDalitz) {
88
+
if (!(photonskf.size() >= 2 || (tracks.size() >= 2 && photonskf.size() >= 1))) { // o2-linter: disable=magic-number (settings to obtain either two photons in the event or one photon with one dielectron)
0 commit comments