26 :
algo(params.getParameter<double>(
"cut"), params.getParameter<double>(
"temperature")) {
29 produces<JetFloatAssociation::Container>();
46 auto result = std::make_unique<JetFloatAssociation::Container>(jetTracksAssoc->keyProduct());
50 if (primaryVertices->empty())
51 (*
result)[iter->first] = -1.;
57 (*result)[iter->first] = compatibility[0];
std::vector< float > compatibility(const reco::VertexCollection &vertices, const reco::TrackRefVector &tracks) const
transient_vector_type::const_iterator const_iterator
~JetSignalVertexCompatibility() override
reco::JetSignalVertexCompatibilityAlgo algo
auto const & tracks
cannot be loose
edm::EDGetTokenT< reco::JetTracksAssociationCollection > jetTracksAssocToken
edm::EDGetTokenT< reco::VertexCollection > primaryVerticesToken
void resetEvent(const TransientTrackBuilder *trackBuilder)
void produce(edm::Event &event, const edm::EventSetup &es) override
T const * product() const
T getParameter(std::string const &) const
JetSignalVertexCompatibility(const edm::ParameterSet ¶ms)