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
algo_(conf.existsAs< bool >("Correct")?conf.getParameter< bool >("Correct"):true, conf.getParameter< double >("e9e25Cut"), conf.getParameter< double >("intercept2DCut"), conf.existsAs< bool >("intercept2DSlope")?conf.getParameter< double >("intercept2DSlope"):defaultSlope2D_, conf.getParameter< std::vector< double > >("e1e9Cut"), conf.getParameter< std::vector< double > >("eCOREe9Cut"), conf.getParameter< std::vector< double > >("eSeLCut"), hfvars_)
transient_vector_type::const_iterator const_iterator
bool getByToken(EDGetToken token, Handle< PROD > &result) const
JetTracksAssociation::Container JetTracksAssociationCollection
typedefs for backward compatibility
edm::Ref< JetCollection > JetRef
const edm::EDGetTokenT< reco::JetTracksAssociationCollection > srcToken_
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
std::vector< LinkConnSpec >::const_iterator IT
reco::JetFloatAssociation::Container JetChargeCollection
bool setValue(Container &, const reco::JetBaseRef &, float)
associate jet with value
JetChargeProducer(const edm::ParameterSet &cfg)