20 |
|
for (auto i=benCscResult.begin(); i!=benCscResult.end();i++) fract *= norm(BENCSC,i->second); |
21 |
|
for (auto i=benDtResult.begin(); i!=benDtResult.end();i++) fract *= norm(BENDT, i->second); |
22 |
|
unsigned int nTot = nMatchedPosRpc+nMatchedPosCsc+nMatchedPosDt+nMatchedBenCsc+nMatchedBenDt; |
23 |
< |
theValue = ( nTot > 2) ? pow(fract, 1./((double) nTot)) : 0.; |
23 |
> |
theValue = ( nTot > 4) ? pow(fract, 1./((double) nTot)) : 0.; |
24 |
|
if (posRpcResult.size() != nMatchedPosRpc) theValue = 0.; |
25 |
|
if (posCscResult.size() != nMatchedPosCsc) theValue = 0.; |
26 |
|
if (posDtResult.size() != nMatchedPosDt) theValue = 0.; |