18 #include <boost/foreach.hpp>
49 produces<reco::PFTauRefVector>();
54 auto output = std::make_unique<reco::PFTauRefVector>();
60 reco::tau::castView<reco::PFTauRefVector>(
input);
67 size_t outputSize =
output->size();
70 return !(
filter_ && outputSize == 0);
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
bool exists(std::string const ¶meterName) const
checks if a parameter exists
SingleObjectSelector< edm::View< reco::Jet >, StringCutObjectSelector< reco::Jet, true > > JetViewRefSelector
static std::string const input
std::unique_ptr< StringCutObjectSelector< reco::PFTau > > outputSelector_
bool filter(edm::Event &evt, const edm::EventSetup &es) override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
PFTauViewRefSelector(const edm::ParameterSet &pset)