1 #ifndef RecoAlgos_ObjectSelectorBase_h
2 #define RecoAlgos_ObjectSelectorBase_h
26 typename OutputCollection,
27 typename SizeSelector,
28 typename PostProcessor,
29 typename StoreManager,
42 selector_(cfg, this->consumesCollector()),
46 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
Init selectorInit_
Object collection selector.
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)
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