14 #include <boost/foreach.hpp>
73 produces<OutputType>();
83 reco::tau::castView<reco::PFTauRefVector>(
input);
95 if ( (*disc)[ref] > cut_ )
96 output->push_back(
T::make(ref));
98 size_t selected = output->size();
100 return (!filter_ || selected);
T getParameter(std::string const &) const
reco::PFTauRefVector OutputType
edm::InputTag discriminatorSrc_
~RecoTauDiscriminatorRefSelectorImpl()
#define DEFINE_FWK_MODULE(type)
S make(const edm::ParameterSet &cfg)
std::vector< reco::PFTau > OutputType
static std::string const input
RecoTauDiscriminatorRefSelectorImpl(const edm::ParameterSet &pset)
static OutputType::value_type make(const reco::PFTauRef &ref)
bool filter(edm::Event &evt, const edm::EventSetup &es) override
static OutputType::value_type make(const reco::PFTauRef &ref)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
RecoTauDiscriminatorRefSelectorImpl< RefVectorBuilder > RecoTauDiscriminatorRefSelector
Container::value_type value_type
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
RecoTauDiscriminatorRefSelectorImpl< ConcreteTauBuilder > RecoTauDiscriminatorSelector
edm::RefToBaseVector< reco::PFTau > OutputType
static OutputType::value_type make(const reco::PFTauRef &ref)