Wrong confidence level in neutral particle makers
In the neutral particle makers (Phys/ParticleMaker/src/NeutralMakers.cpp
) we currently define the confidence level of neutral particles as
// ====================
// To evaluate CL
double confLevelPhoton( const LHCb::ProtoParticle& proto ) {
return std::clamp( proto.neutralPID()->IsNotH(), (float)0., (float)1. ) ? proto.neutralPID()->IsNotH() : -1;
}
// ====================
// To evaluate CL
double confLevelMergedPi0( const LHCb::ProtoParticle& proto ) {
return std::clamp( 1 - proto.neutralPID()->IsPhoton(), (float)0., (float)1. ) ? proto.neutralPID()->IsPhoton() : -1;
}
These functions seem to be used in order to filter the particles at the point in which we make them (like a prefilter). The definition of the confidence-level has always been misleading and suggested using explicitly IS_NOT_H
and IS_PHOTON
as variables in order to apply selections. The definition of the confidence level in the snippet shown above leads to confusion and is more likely wrong for the case of merged \pi^0
mesons.