14 #include <boost/foreach.hpp>
73 produces<OutputType>();
83 reco::tau::castView<reco::PFTauRefVector>(
input);
90 auto output = std::make_unique<OutputType>();
93 if ( (*disc)[ref] > cut_ )
96 size_t selected =
output->size();
98 return (!filter_ || selected);
T getParameter(std::string const &) const
reco::PFTauRefVector OutputType
edm::InputTag discriminatorSrc_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
~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)
Container::value_type value_type
bool filter(edm::Event &evt, const edm::EventSetup &es) override
static OutputType::value_type make(const reco::PFTauRef &ref)
RecoTauDiscriminatorRefSelectorImpl< RefVectorBuilder > RecoTauDiscriminatorRefSelector
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)