15 class CaloRecoTauDiscriminationByNProngs final
21 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
23 ~CaloRecoTauDiscriminationByNProngs(){}
32 double CaloRecoTauDiscriminationByNProngs::discriminate(
const CaloTauRef&
tau)
const {
33 bool accepted =
false;
34 int np = tau->signalTracks().size();
35 if((np == 1 && (nprongs == 1 || nprongs == 0)) ||
36 (np == 3 && (nprongs == 3 || nprongs == 0)) ) accepted =
true;
38 if(booleanOutput)
return accepted;
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)