Definition at line 19 of file COEFile.h.
void COEFile::writeTracksToFile |
( |
const std::vector< Region > & |
regions, |
|
|
bool |
print = false |
|
) |
| |
Definition at line 40 of file COEFile.cc.
References bset_, bset_string_, debug_, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, file, l1tpf_impl::InputTrack::hwCharge, l1tpf_impl::InputTrack::hwChi2, l1t::L1Candidate::hwEta(), l1t::L1Candidate::hwPhi(), l1t::L1Candidate::hwPt(), l1tpf_impl::PropagatedTrack::hwPt, l1tpf_impl::InputTrack::hwStubs, l1tpf_impl::InputTrack::hwVtxEta, l1tpf_impl::InputTrack::hwVtxPhi, l1tpf_impl::InputTrack::hwZ0, ntracksmax, hltrates_dqm_sourceclient-live_cfg::offset, reco::LeafCandidate::p4(), print(), l1tpf_impl::InputTrack::src, cond::impl::to_string(), HLT_2022v12_cff::track, and track_word_block_sizes.
42 bool has_track =
false;
43 for (
unsigned int irow = 0; irow <
ntracksmax; irow++) {
44 for (
unsigned int icol = 0; icol <
regions.size(); icol++) {
52 current_track =
regions[icol].track[irow];
99 printf(
"region: eta=[%f,%f] phi=%f+/-%f\n",
104 printf(
"l1t::PFTrack (pT,eta,phi) [float] = (%f,%f,%f)\n",
105 current_track.
src->
p4().Pt(),
106 current_track.
src->
p4().Eta(),
107 current_track.
src->
p4().Phi());
108 printf(
"l1t::PFTrack (pT,eta,phi) [int] = (%i,%i,%i)\n",
112 printf(
"l1tpf_impl::PropagatedTrack (1/pT,eta,phi) [int,10] = (%i,%i,%i)\n",
116 printf(
"l1tpf_impl::PropagatedTrack (1/pT,eta,phi) [int,2] = (%s,%s,%s)\n",
117 std::bitset<16>(current_track.
hwPt).to_string().c_str(),
const std::vector< uint32_t > track_word_block_sizes
std::string to_string(const V &value)
const LorentzVector & p4() const final
four-momentum Lorentz vector
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
boost::dynamic_bitset bset_