75 ,
eid_( iConfig.getParameter<
int>(
"eid" ) )
77 produces< reco::GsfElectronCollection >();
98 for (
unsigned int i = 0;
i < electrons->size();
i++){
100 if((eIDmap[electronRef]) ==
eid_)
101 product->push_back((*electrons)[
i]);
105 std::unique_ptr<reco::GsfElectronCollection>
collection(product);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
~ElectronIdFilter() override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
SingleObjectSelector< reco::GenParticleCollection, StringCutObjectSelector< reco::GenParticle > > TauValGenPSelector
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
SingleObjectSelector< edm::View< reco::GsfElectron >, StringCutObjectSelector< reco::GsfElectron >, reco::GsfElectronCollection > TauValElectronSelector
ElectronIdFilter(const edm::ParameterSet &)
SingleObjectSelector< reco::GenParticleRefVector, StringCutObjectSelector< reco::GenParticleRef > > TauValGenPRefSelector
SingleObjectSelector< std::vector< reco::Jet >, StringCutObjectSelector< reco::Jet > > TauValJetSelector
edm::EDGetTokenT< edm::ValueMap< float > > edmValueMapFloatToken_
SingleObjectSelector< reco::MuonCollection, StringCutObjectSelector< reco::Muon > > TauValMuonSelector
bool filter(edm::Event &, const edm::EventSetup &) override
SingleObjectSelector< reco::PFJetCollection, StringCutObjectSelector< reco::PFJet > > TauValPFJetSelector
edm::EDGetTokenT< reco::GsfElectronCollection > recoGsfElectronCollectionToken_