1 #ifndef GenericSelectorByValueMap_h 2 #define GenericSelectorByValueMap_h 37 template <
typename T,
typename C>
71 template <
typename T,
typename C>
77 produces<edm::RefToBaseVector<candidate_type>>();
82 template <
typename T,
typename C>
84 auto candidates = std::make_unique<edm::RefToBaseVector<candidate_type>>();
88 event.getByToken(token_electrons, h_electrons);
93 event.getByToken(token_selection, h_selection);
98 if (selectionMap[ptr] > m_cut)
108 #endif // GenericSelectorByValueMap_h
GenericSelectorByValueMap(edm::ParameterSet const &config)
edm::EDGetTokenT< edm::ValueMap< selection_type > > token_selection
def template(fileName, svg, replaceme="REPLACEME")
details::template CompatibleConfigurationType< selection_type >::type cut_type
edm::EDGetTokenT< edm::View< candidate_type > > token_electrons
void produce(edm::Event &event, edm::EventSetup const &setup) override