◆ TTTrackWordPtMinSelector() [1/2]
L1TrackSelectionProducer::TTTrackWordPtMinSelector::TTTrackWordPtMinSelector |
( |
double |
ptMin | ) |
|
|
inline |
◆ TTTrackWordPtMinSelector() [2/2]
L1TrackSelectionProducer::TTTrackWordPtMinSelector::TTTrackWordPtMinSelector |
( |
const edm::ParameterSet & |
cfg | ) |
|
|
inline |
◆ operator()()
bool L1TrackSelectionProducer::TTTrackWordPtMinSelector::operator() |
( |
const L1Track & |
t | ) |
const |
|
inline |
Definition at line 110 of file L1TrackSelectionProducer.cc.
References ptMin_, and submitPVValidationJobs::t.
111 ap_uint<TrackBitWidths::kPtSize> ptEmulationBits =
t.getTrackWord()(
112 TTTrack_TrackWord::TrackBitLocations::kRinvMSB - 1, TTTrack_TrackWord::TrackBitLocations::kRinvLSB);
113 ap_ufixed<TrackBitWidths::kPtSize, TrackBitWidths::kPtMagSize> ptEmulation;
114 ptEmulation.V = ptEmulationBits.range();
115 return ptEmulation.to_double() >=
ptMin_;
◆ ptMin_
double L1TrackSelectionProducer::TTTrackWordPtMinSelector::ptMin_ |
|
private |