64 virtual void endJob()
override ;
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.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
virtual void beginJob() override
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
virtual void endJob() override
SingleObjectSelector< std::vector< reco::Jet >, StringCutObjectSelector< reco::Jet > > TauValJetSelector
edm::EDGetTokenT< edm::ValueMap< float > > edmValueMapFloatToken_
SingleObjectSelector< reco::MuonCollection, StringCutObjectSelector< reco::Muon > > TauValMuonSelector
virtual bool filter(edm::Event &, const edm::EventSetup &) override
SingleObjectSelector< reco::PFJetCollection, StringCutObjectSelector< reco::PFJet > > TauValPFJetSelector
edm::EDGetTokenT< reco::GsfElectronCollection > recoGsfElectronCollectionToken_