Implements l1tpf_impl::PFAlgoBase.
Definition at line 49 of file BitwisePFAlgo.cc.
65 "BitwisePF\nBitwisePF region eta [ %+5.2f , %+5.2f ], phi [ %+5.2f , %+5.2f ], fiducial eta [ %+5.2f , %+5.2f "
66 "], phi [ %+5.2f , %+5.2f ], algo = %d\n",
67 r.etaMin -
r.etaExtra,
68 r.etaMax +
r.etaExtra,
69 r.phiCenter -
r.phiHalfWidth -
r.phiExtra,
70 r.phiCenter +
r.phiHalfWidth +
r.phiExtra,
73 r.phiCenter -
r.phiHalfWidth,
74 r.phiCenter +
r.phiHalfWidth,
75 static_cast<int>(
algo_));
76 dbgPrintf(
"BitwisePF \t N(track) %3lu N(em) %3lu N(calo) %3lu N(mu) %3lu\n",
81 for (
int itk = 0, ntk =
r.track.size(); itk < ntk; ++itk) {
82 const auto &tk =
r.track[itk];
84 "BitwisePF \t track %3d: pt %7.2f +- %5.2f vtx eta %+5.2f vtx phi %+5.2f calo eta %+5.2f calo phi %+5.2f "
85 " fid %1d calo ptErr %7.2f stubs %2d chi2 %7.1f\n",
93 int(
r.fiducialLocal(tk.floatEta(), tk.floatPhi())),
98 for (
int iem = 0, nem =
r.emcalo.size(); iem < nem; ++iem) {
99 const auto &em =
r.emcalo[iem];
101 "BitwisePF \t EM %3d: pt %7.2f +- %5.2f vtx eta %+5.2f vtx phi %+5.2f calo eta %+5.2f calo phi %+5.2f "
102 " fid %1d calo ptErr %7.2f\n",
110 int(
r.fiducialLocal(em.floatEta(), em.floatPhi())),
113 for (
int ic = 0, nc =
r.calo.size(); ic < nc; ++ic) {
114 auto &
calo =
r.calo[ic];
116 "BitwisePF \t calo %3d: pt %7.2f +- %5.2f vtx eta %+5.2f vtx phi %+5.2f calo eta %+5.2f calo phi %+5.2f "
117 " fid %1d calo ptErr %7.2f em pt %7.2f \n",
129 for (
int im = 0, nm =
r.muon.size(); im < nm; ++im) {
130 auto &
mu =
r.muon[im];
132 "BitwisePF \t muon %3d: pt %7.2f vtx eta %+5.2f vtx phi %+5.2f calo eta %+5.2f calo phi %+5.2f "
140 int(
r.fiducialLocal(
mu.floatEta(),
mu.floatPhi())));
173 dbgPrintf(
"BitwisePF \t Output N(ch) %3u/%3u N(nh) %3u/%3u N(ph) %3u/%u [all/fiducial]\n",
180 for (
int ipf = 0, npf =
r.pf.size(); ipf < npf; ++ipf) {
181 const auto &
pf =
r.pf[ipf];
183 "BitwisePF \t pf %3d: pt %7.2f pid %d vtx eta %+5.2f vtx phi %+5.2f calo eta %+5.2f calo phi %+5.2f "
192 int(
r.fiducialLocal(
pf.floatEta(),
pf.floatPhi())));
References algo2hgc, algo3, algo_, L1TowerCalibrationProducer_cfi::calo, l1tpf_impl::Region::charged_type, config_, dpf2fw::convert(), fw2dpf::convert(), dbgPrintf(), l1tpf_impl::PFAlgoBase::debug_, l1tpf_impl::PFAlgoBase::initRegion(), createfilelist::int, amptDefaultParameters_cff::mu, pfalgo3_config::nEMCALO, l1tpf_impl::Region::neutral_hadron_type, pfalgo3_config::nPHOTON, pfalgo_config::nSELCALO, pfalgo_config::nTRACK, packedPFCandidateRefMixer_cfi::pf, pfalgo2hgc_ref(), pfalgo3_ref(), l1tpf_impl::Region::photon_type, alignCSCRings::r, and HLT_FULL_cff::track.