1 #ifndef __PFClusterTimeAssigner__
2 #define __PFClusterTimeAssigner__
26 timesTok_ = consumes<edm::ValueMap<float> >(times);
31 produces<reco::PFClusterCollection>();
46 auto clusters_out = std::make_unique<reco::PFClusterCollection>();
55 auto const& times = *timesH;
56 auto const& timeResos = *timeResosH;
58 clusters_out->reserve(
clusters.size());
62 auto&
out = *clusters_out;
63 for (
unsigned i = 0;
i <
out.size(); ++
i) {
65 const float time = times[clusterRef];
66 const float timeReso = timeResos[clusterRef];
78 descriptions.
add(
"particleFlowClusterTimeAssignerDefault",
desc);