1 #ifndef RecoAlgos_ObjectSelectorBase_h
2 #define RecoAlgos_ObjectSelectorBase_h
26 typename OutputCollection,
27 typename SizeSelector,
28 typename PostProcessor,
29 typename StoreManager,
41 selector_(cfg, this->consumesCollector()),
45 std::vector<std::string> bools = cfg.template getParameterNamesForType<bool>();
61 StoreManager manager(
source);
~ObjectSelectorBase() override
destructor
bool filter(edm::Event &evt, const edm::EventSetup &es) override
process one event
bool getByToken(EDGetToken token, Handle< PROD > &result) const
S make(const edm::ParameterSet &cfg)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Selector selector_
Object collection selector.
ObjectSelectorBase(const edm::ParameterSet &cfg)
constructor
Functor that operates on <T>
edm::EDGetTokenT< typename Selector::collection > srcToken_
source collection label
PostProcessor postProcessor_
post processor
SizeSelector sizeSelector_
selected object collection size selector
static std::string const source