11 template<
typename ObjType,
typename ObjCollType>
23 template<
typename ObjType,
typename ObjCollType>
25 token_(consumes<ObjCollType>(config.getParameter<
edm::InputTag>(
"objs"))),
28 produces<edm::ValueMap<bool> >();
31 template<
typename ObjType,
typename ObjCollType>
37 descriptions.
add(
"hltDQMObjSelector", desc);
40 template<
typename ObjType,
typename ObjCollType>
44 event.getByToken(
token_,handle);
48 std::vector<bool> selResults;
49 for(
auto&
obj : *handle){
52 auto valMap = std::make_unique<edm::ValueMap<bool> >();
54 filler.insert(handle, selResults.begin(), selResults.end());
void produce(edm::Event &, edm::EventSetup const &) override
HLTDQMObjSelector(const edm::ParameterSet &config)
#define DEFINE_FWK_MODULE(type)
def setup(process, global_tag, zero_tesla=False)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
StringCutObjectSelector< ObjType, true > selection_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< ObjCollType > token_