Go to the documentation of this file.
5 produces<JetChargeCollection>();
16 iEvent.put(std::make_unique<JetChargeCollection>());
19 auto ret = std::make_unique<JetChargeCollection>(hJTAs->
keyProduct());
20 for (
IT it = hJTAs->
begin(), ed = hJTAs->
end(); it != ed; ++it) {
ret
prodAgent to be discontinued
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const edm::EDGetTokenT< reco::JetTracksAssociationCollection > srcToken_
JetChargeProducer(const edm::ParameterSet &cfg)
const_iterator begin() const
const_iterator end() const
KeyRefProd const & keyProduct() const
double charge(const LorentzVector &lv, const reco::TrackCollection &vec) const
bool setValue(Container &, const reco::JetBaseRef &, float)
associate jet with value
JetTracksAssociation::Container JetTracksAssociationCollection
typedefs for backward compatibility
transient_vector_type::const_iterator const_iterator
std::vector< LinkConnSpec >::const_iterator IT
edm::Ref< JetBxCollection > JetRef