◆ 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 111 of file L1TrackSelectionProducer.cc.
References ptMin_, and submitPVValidationJobs::t.
112 ap_uint<TrackBitWidths::kPtSize> ptEmulationBits =
t.getTrackWord()(
113 TTTrack_TrackWord::TrackBitLocations::kRinvMSB - 1, TTTrack_TrackWord::TrackBitLocations::kRinvLSB);
114 ap_ufixed<TrackBitWidths::kPtSize, TrackBitWidths::kPtMagSize> ptEmulation;
115 ptEmulation.V = ptEmulationBits.range();
118 return ptEmulation.to_double() >=
ptMin_;
◆ ptMin_
double L1TrackSelectionProducer::TTTrackWordPtMinSelector::ptMin_ |
|
private |