18 booleanOutput = iConfig.
getParameter<
bool>(
"BooleanOutput");
36 bool accepted =
false;
37 int np = tau->signalTracks().size();
39 if((np == 1 && (nprongs == 1 || nprongs == 0)) ||
40 (np == 3 && (nprongs == 3 || nprongs == 0)) ) accepted =
true;
43 if(booleanOutput)
return accepted;
T getParameter(std::string const &) const
double discriminate(const reco::PFTauRef &) override
~PFRecoTauDiscriminationByNProngs()
void beginEvent(const edm::Event &, const edm::EventSetup &) override
DEFINE_FWK_MODULE(CosmicTrackingParticleSelector)
PFRecoTauDiscriminationByNProngs(const ParameterSet &iConfig)