29 electronProducer_ (config.getParameter<
edm::InputTag>(
"electronProducer")),
31 trackProducer_ (config.getParameter<
edm::InputTag>(
"trackProducer")),
32 beamspotProducer_ (config.getParameter<
edm::InputTag>(
"BeamspotProducer")),
34 ptMin_ (config.getParameter<double>(
"ptMin")),
35 intRadiusBarrel_ (config.getParameter<double>(
"intRadiusBarrel")),
36 intRadiusEndcap_ (config.getParameter<double>(
"intRadiusEndcap")),
37 stripBarrel_ (config.getParameter<double>(
"stripBarrel")),
38 stripEndcap_ (config.getParameter<double>(
"stripEndcap")),
39 extRadius_ (config.getParameter<double>(
"extRadius")),
40 maxVtxDist_ (config.getParameter<double>(
"maxVtxDist")),
41 drb_ (config.getParameter<double>(
"maxVtxDistXY"))
45 produces < edm::ValueMap<int> >();
65 auto isoMap = std::make_unique<edm::ValueMap<int>>();
67 std::vector<int> retV(electronHandle->size(),0);
76 for(
unsigned int i = 0 ;
i < electronHandle->size(); ++
i ){
82 filler.insert(electronHandle,retV.begin(),retV.end());
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const double intRadiusBarrel_
std::vector< Track > TrackCollection
collection of Tracks
int getNumberTracks(const reco::GsfElectron *) const
EgammaElectronTkNumIsolationProducer(const edm::ParameterSet &)
const edm::InputTag beamspotProducer_
~EgammaElectronTkNumIsolationProducer() override
const edm::InputTag trackProducer_
const double stripEndcap_
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const edm::InputTag electronProducer_
T const * product() const
const double stripBarrel_
const double intRadiusEndcap_
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override