Definition at line 25 of file Isolation.h.
Definition at line 198 of file Isolation.h.
References c_iso_dangle_max, c_iso_dz_max, c_iso_pt_min, Phase2L1GMT::TopoAlgo::deltaEta(), Phase2L1GMT::TopoAlgo::deltaPhi(), Phase2L1GMT::TopoAlgo::deltaZ0(), Phase2L1GMT::ConvertedTTTrack::eta(), l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), l1t::TrackerMuon::hwZ0(), Phase2L1GMT::ConvertedTTTrack::phi(), Phase2L1GMT::ConvertedTTTrack::pt(), funct::true, verbose_, and Phase2L1GMT::ConvertedTTTrack::z0().
Referenced by isolation_allmu_alltrk().
207 bool pass_ovrl = (deta > 0 || dphi > 0 ?
true :
false);
210 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : Start of debug msg for compute_trk_iso";
211 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : incoming muon (pt / eta / phi / z0 / isvalid)";
212 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : MU = " << in_mu.
hwPt() <<
" / " << in_mu.
hwEta()
213 <<
" / " << in_mu.
hwPhi() <<
" / " << in_mu.
hwZ0() <<
" / " << 1;
214 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : incoming track (pt / eta / phi / z0 / isvalid)";
215 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : TRK = " << in_trk.pt() <<
" / " << in_trk.eta() <<
" / " 216 << in_trk.phi() <<
" / " << in_trk.z0() <<
" / " << 1;
217 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : Delta phi : " << dphi;
218 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : Delta eta : " << deta;
219 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : Delta z0 : " << dz0;
220 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : pass_deta : " << pass_deta;
221 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : pass_dphi : " << pass_dphi;
222 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : pass_dz0 : " << pass_dz0;
223 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : pass_trkpt : " << pass_trkpt;
224 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : pass_ovrl : " << pass_ovrl;
227 if (pass_deta && pass_dphi && pass_dz0 && pass_trkpt && pass_ovrl) {
229 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : THE TRACK WAS MATCHED";
230 edm::LogInfo(
"Isolation") <<
" [DEBUG compute_trk_iso] : RETURN : " << in_trk.pt();
236 unsigned int retbits = 0;
237 retbits |= (dz0 & ((1 << 9) - 1)) << 20;
238 retbits |= (deta & ((1 << 11) - 1)) << 10;
239 retbits |= (dphi & ((1 << 11) - 1));
static const int c_iso_dz_max
static const int c_iso_pt_min
int deltaEta(const int eta1, const int eta2)
Log< level::Info, false > LogInfo
static const int c_iso_dangle_max
int deltaZ0(const int Z01, const int Z02)
int deltaPhi(int phi1, int phi2)