47 produces<reco::PFTauRefVector>();
52 auto output = std::make_unique<reco::PFTauRefVector>();
58 reco::tau::castView<reco::PFTauRefVector>(
input);
60 for(
auto const&
tau : inputRefs) {
65 size_t outputSize =
output->size();
68 return !(
filter_ && outputSize == 0);
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
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
#define DEFINE_FWK_MODULE(type)
std::unique_ptr< StringCutObjectSelector< reco::PFTau > > outputSelector_
bool filter(edm::Event &evt, const edm::EventSetup &es) override
~PFTauViewRefSelector() override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
PFTauViewRefSelector(const edm::ParameterSet &pset)