34 produces<reco::PFCandidateCollection>();
40 descriptions.
add(
"pfTICLProducer", desc);
47 const auto ticl_candidates = *ticl_cand_h;
49 auto candidates = std::make_unique<reco::PFCandidateCollection>();
51 for (
const auto& ticl_cand : ticl_candidates) {
52 const auto abs_pdg_id =
std::abs(ticl_cand.pdgId());
53 const auto charge = ticl_cand.charge();
54 const auto& four_mom = ticl_cand.p4();
81 if (candidate.charge()) {
85 candidate.setTrackRef(ref);
87 candidate.setTime(ticl_cand.time(), ticl_cand.timeError());