Implements l1tpf_impl::PFAlgoBase.
Definition at line 51 of file BitwisePFAlgo.cc.
67 "BitwisePF\nBitwisePF region eta [ %+5.2f , %+5.2f ], phi [ %+5.2f , %+5.2f ], fiducial eta [ %+5.2f , %+5.2f "
68 "], phi [ %+5.2f , %+5.2f ], algo = %d\n",
69 r.etaMin -
r.etaExtra,
70 r.etaMax +
r.etaExtra,
71 r.phiCenter -
r.phiHalfWidth -
r.phiExtra,
72 r.phiCenter +
r.phiHalfWidth +
r.phiExtra,
75 r.phiCenter -
r.phiHalfWidth,
76 r.phiCenter +
r.phiHalfWidth,
77 static_cast<int>(
algo_));
78 dbgPrintf(
"BitwisePF \t N(track) %3lu N(em) %3lu N(calo) %3lu N(mu) %3lu\n",
83 for (
int itk = 0, ntk =
r.track.size(); itk < ntk; ++itk) {
84 const auto &tk =
r.track[itk];
86 "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 "
87 " fid %1d calo ptErr %7.2f stubs %2d chi2 %7.1f\n",
95 int(
r.fiducialLocal(tk.floatEta(), tk.floatPhi())),
100 for (
int iem = 0, nem =
r.emcalo.size(); iem < nem; ++iem) {
101 const auto &em =
r.emcalo[iem];
103 "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 "
104 " fid %1d calo ptErr %7.2f\n",
112 int(
r.fiducialLocal(em.floatEta(), em.floatPhi())),
115 for (
int ic = 0, nc =
r.calo.size(); ic < nc; ++ic) {
116 auto &
calo =
r.calo[ic];
118 "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 "
119 " fid %1d calo ptErr %7.2f em pt %7.2f \n",
131 for (
int im = 0, nm =
r.muon.size(); im < nm; ++im) {
132 auto &
mu =
r.muon[im];
134 "BitwisePF \t muon %3d: pt %7.2f vtx eta %+5.2f vtx phi %+5.2f calo eta %+5.2f calo phi %+5.2f "
142 int(
r.fiducialLocal(
mu.floatEta(),
mu.floatPhi())));
174 dbgPrintf(
"BitwisePF \t Output N(ch) %3u/%3u N(nh) %3u/%3u N(ph) %3u/%u [all/fiducial]\n",
181 for (
int ipf = 0, npf =
r.pf.size(); ipf < npf; ++ipf) {
182 const auto &
pf =
r.pf[ipf];
184 "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 "
193 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.