1 #include <boost/foreach.hpp> 14 typedef std::pair<unsigned int, unsigned int>
IntPair;
27 typedef std::vector<edm::ParameterSet>
VPSet;
51 double disc_result = (*handle_)[
tau];
52 DecayModeCutMap::const_iterator cutIter =
53 decayModeCuts_.find(std::make_pair(tau->signalPFChargedHadrCands().size(),
54 tau->signalPiZeroCandidates().size()));
61 return disc_result > cutIter->second;
edm::InputTag toMultiplex_
T getParameter(std::string const &) const
~RecoTauDecayModeCutMultiplexer()
DecayModeCutMap decayModeCuts_
edm::Handle< reco::PFTauDiscriminator > handle_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
std::pair< unsigned int, unsigned int > IntPair
edm::EDGetTokenT< reco::PFTauDiscriminator > toMultiplex_token
void beginEvent(const edm::Event &event, const edm::EventSetup &eventSetup) override
RecoTauDecayModeCutMultiplexer(const edm::ParameterSet &pset)
std::map< IntPair, double > DecayModeCutMap
double discriminate(const reco::PFTauRef &) const override
double prediscriminantFailValue_