4 src_(cfg.getParameter<edm::InputTag>(
"src")),
6 produces<JetChargeCollection>();
15 if (hJTAs->keyProduct().isNull()) {
22 for (IT it = hJTAs->begin(), ed = hJTAs->end(); it != ed; ++it) {
23 const JetRef &
jet = it->first;
double charge(const LorentzVector &lv, const reco::TrackCollection &vec) const
transient_vector_type::const_iterator const_iterator
virtual void produce(edm::Event &, const edm::EventSetup &)
edm::Ref< JetCollection > JetRef
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< LinkConnSpec >::const_iterator IT
reco::JetFloatAssociation::Container JetChargeCollection
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
bool setValue(Container &, const reco::JetBaseRef &, float)
associate jet with value
JetChargeProducer(const edm::ParameterSet &cfg)