27 algo(params.getParameter<double>(
"cut"),
28 params.getParameter<double>(
"temperature"))
32 produces<JetFloatAssociation::Container>();
54 auto result = std::make_unique<JetFloatAssociation::Container>(jetTracksAssoc->
keyProduct());
57 jetTracksAssoc->
begin();
58 iter != jetTracksAssoc->
end(); ++iter) {
59 if (primaryVertices->empty())
60 (*
result)[iter->first] = -1.;
63 std::vector<float> compatibility =
67 (*result)[iter->first] = compatibility[0];
std::vector< float > compatibility(const reco::VertexCollection &vertices, const reco::TrackRefVector &tracks) const
T getParameter(std::string const &) const
transient_vector_type::const_iterator const_iterator
reco::JetSignalVertexCompatibilityAlgo algo
const_iterator end() const
edm::EDGetTokenT< reco::JetTracksAssociationCollection > jetTracksAssocToken
edm::EDGetTokenT< reco::VertexCollection > primaryVerticesToken
void resetEvent(const TransientTrackBuilder *trackBuilder)
JetSignalVertexCompatibility(const edm::ParameterSet ¶ms)
KeyRefProd const & keyProduct() const
~JetSignalVertexCompatibility()
virtual void produce(edm::Event &event, const edm::EventSetup &es)
const_iterator begin() const
T const * product() const