Classes | |
struct | EtMiss |
Typedefs | |
typedef ap_int< kInternalPtWidth+kEtExtra > | Et_t |
typedef ap_uint< kInternalEtaWidth > | eta_t |
typedef ap_uint< kInternalPhiWidth+kGlobalPhiExtra > | global_phi_t |
typedef ap_uint< kMETSize > | MET_t |
typedef ap_uint< kMETPhiSize > | METphi_t |
typedef ap_uint< 3 > | nstub_t |
typedef ap_uint< kInternalPtWidth > | pt_t |
typedef ap_uint< kInternalVTXWidth > | z_t |
Functions | |
template<typename T > | |
T | digitizeSignedValue (double value, unsigned int nBits, double lsb) |
std::vector< global_phi_t > | generateCosLUT (unsigned int size) |
std::vector< z_t > | generateDeltaZLUT (vector< double > DeltaZBins) |
std::vector< z_t > | generateDeltaZLUT (std::vector< double > DeltaZBins) |
std::vector< eta_t > | generateEtaRegionLUT (vector< double > EtaRegions) |
std::vector< eta_t > | generateEtaRegionLUT (std::vector< double > EtaRegions) |
template<typename T > | |
unsigned int | getBin (double value, const T &bins) |
unsigned int | transformSignedValue (unsigned int bits, unsigned int oldnBits, unsigned int newnBits) |
int | unpackSignedValue (unsigned int bits, unsigned int nBits) |
Variables | |
const unsigned int | kEtExtra {10} |
const unsigned int | kGlobalPhiBins = 1 << kInternalPhiWidth |
const unsigned int | kGlobalPhiExtra {3} |
const unsigned int | kInternalEtaWidth {8} |
const unsigned int | kInternalPhiWidth {8} |
const unsigned int | kInternalPtWidth {15} |
const unsigned int | kInternalVTXWidth {12} |
const float | kMaxCosLUTPhi {M_PI / 2} |
const float | kMaxMET {4096} |
const float | kMaxMETPhi {2 * M_PI} |
const float | kMaxTrackEta {4} |
const float | kMaxTrackPt {512} |
const float | kMaxTrackZ0 {-TTTrack_TrackWord::minZ0} |
const unsigned int | kMETBins = 1 << kMETSize |
const unsigned int | kMETPhiBins = 1 << kMETPhiSize |
const unsigned int | kMETPhiSize {14} |
const unsigned int | kMETSize {15} |
const unsigned int | kNEtaRegion {6} |
const unsigned int | kNQuadrants {4} |
const unsigned int | kNSector {9} |
const double | kStepEta = (2 * std::abs(kMaxTrackEta)) / (1 << kInternalEtaWidth) |
const double | kStepMET = (l1tmetemu::kMaxMET / l1tmetemu::kMETBins) |
const double | kStepMETPhi = (l1tmetemu::kMaxMETPhi / l1tmetemu::kMETPhiBins) |
const double | kStepPhi = (2 * -TTTrack_TrackWord::minPhi0) / (kGlobalPhiBins - 1) |
const double | kStepPt = (std::abs(kMaxTrackPt)) / (1 << kInternalPtWidth) |
const double | kStepZ0 = (2 * std::abs(kMaxTrackZ0)) / (1 << kInternalVTXWidth) |
typedef ap_int<kInternalPtWidth + kEtExtra> l1tmetemu::Et_t |
Definition at line 40 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<kInternalEtaWidth> l1tmetemu::eta_t |
Definition at line 36 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<kInternalPhiWidth + kGlobalPhiExtra> l1tmetemu::global_phi_t |
Definition at line 33 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<kMETSize> l1tmetemu::MET_t |
Definition at line 48 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<kMETPhiSize> l1tmetemu::METphi_t |
Definition at line 51 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<3> l1tmetemu::nstub_t |
Definition at line 31 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<kInternalPtWidth> l1tmetemu::pt_t |
Definition at line 35 of file L1TkEtMissEmuAlgo.h.
typedef ap_uint<kInternalVTXWidth> l1tmetemu::z_t |
Definition at line 37 of file L1TkEtMissEmuAlgo.h.
T l1tmetemu::digitizeSignedValue | ( | double | value, |
unsigned int | nBits, | ||
double | lsb | ||
) |
Definition at line 91 of file L1TkEtMissEmuAlgo.h.
References hgcalVFEProducer_cfi::lsb.
std::vector< global_phi_t > l1tmetemu::generateCosLUT | ( | unsigned int | size | ) |
Definition at line 6 of file L1TkEtMissEmuAlgo.cc.
References funct::cos(), kGlobalPhiBins, kStepPhi, and findQualityFiles::size.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
std::vector<z_t> l1tmetemu::generateDeltaZLUT | ( | vector< double > | DeltaZBins | ) |
Definition at line 27 of file L1TkEtMissEmuAlgo.cc.
References kInternalVTXWidth, kStepZ0, and submitPVResolutionJobs::q.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
std::vector<z_t> l1tmetemu::generateDeltaZLUT | ( | std::vector< double > | DeltaZBins | ) |
Definition at line 27 of file L1TkEtMissEmuAlgo.cc.
References kInternalVTXWidth, kStepZ0, and submitPVResolutionJobs::q.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
std::vector<eta_t> l1tmetemu::generateEtaRegionLUT | ( | vector< double > | EtaRegions | ) |
Definition at line 18 of file L1TkEtMissEmuAlgo.cc.
References TMTrackProducer_Defaults_cfi::EtaRegions, kInternalEtaWidth, kStepEta, and submitPVResolutionJobs::q.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
std::vector<eta_t> l1tmetemu::generateEtaRegionLUT | ( | std::vector< double > | EtaRegions | ) |
Definition at line 18 of file L1TkEtMissEmuAlgo.cc.
References TMTrackProducer_Defaults_cfi::EtaRegions, kInternalEtaWidth, kStepEta, and submitPVResolutionJobs::q.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
unsigned int l1tmetemu::getBin | ( | double | value, |
const T & | bins | ||
) |
Definition at line 112 of file L1TkEtMissEmuAlgo.h.
References trigObjTnPSource_cfi::bins, up, pfDeepBoostedJetPreprocessParams_cfi::upper_bound, and relativeConstraints::value.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
unsigned int l1tmetemu::transformSignedValue | ( | unsigned int | bits, |
unsigned int | oldnBits, | ||
unsigned int | newnBits | ||
) |
Definition at line 46 of file L1TkEtMissEmuAlgo.cc.
References gpuClustering::pixelStatus::bits, createfilelist::int, and groupFilesInBlocks::temp.
Referenced by L1TkEtMissEmuTrackTransform::transformTrack().
int l1tmetemu::unpackSignedValue | ( | unsigned int | bits, |
unsigned int | nBits | ||
) |
Definition at line 36 of file L1TkEtMissEmuAlgo.cc.
References gpuClustering::pixelStatus::bits.
Referenced by L1TkEtMissEmuTrackTransform::localToGlobalPhi(), and L1TrackerEtMissEmulatorProducer::produce().
const unsigned int l1tmetemu::kEtExtra {10} |
Definition at line 29 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kGlobalPhiBins = 1 << kInternalPhiWidth |
Definition at line 53 of file L1TkEtMissEmuAlgo.h.
Referenced by generateCosLUT(), and L1TrackerEtMissEmulatorProducer::produce().
const unsigned int l1tmetemu::kGlobalPhiExtra {3} |
Definition at line 27 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kInternalEtaWidth {8} |
Definition at line 22 of file L1TkEtMissEmuAlgo.h.
Referenced by generateEtaRegionLUT(), L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer(), and L1TkEtMissEmuTrackTransform::transformTrack().
const unsigned int l1tmetemu::kInternalPhiWidth {8} |
Definition at line 24 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TkEtMissEmuTrackTransform::localToGlobalPhi().
const unsigned int l1tmetemu::kInternalPtWidth {15} |
Definition at line 23 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer(), and L1TkEtMissEmuTrackTransform::transformTrack().
const unsigned int l1tmetemu::kInternalVTXWidth {12} |
Definition at line 21 of file L1TkEtMissEmuAlgo.h.
Referenced by generateDeltaZLUT(), L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer(), L1TrackerEtMissEmulatorProducer::produce(), and L1TkEtMissEmuTrackTransform::transformTrack().
const float l1tmetemu::kMaxCosLUTPhi {M_PI / 2} |
Definition at line 78 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
const float l1tmetemu::kMaxMET {4096} |
Definition at line 43 of file L1TkEtMissEmuAlgo.h.
Referenced by Cordic::toPolar().
const float l1tmetemu::kMaxMETPhi {2 * M_PI} |
Definition at line 44 of file L1TkEtMissEmuAlgo.h.
const float l1tmetemu::kMaxTrackEta {4} |
Definition at line 63 of file L1TkEtMissEmuAlgo.h.
const float l1tmetemu::kMaxTrackPt {512} |
Definition at line 62 of file L1TkEtMissEmuAlgo.h.
Referenced by Cordic::toPolar().
const float l1tmetemu::kMaxTrackZ0 {-TTTrack_TrackWord::minZ0} |
Definition at line 61 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kMETBins = 1 << kMETSize |
Definition at line 54 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kMETPhiBins = 1 << kMETPhiSize |
Definition at line 55 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
const unsigned int l1tmetemu::kMETPhiSize {14} |
Definition at line 46 of file L1TkEtMissEmuAlgo.h.
const unsigned int l1tmetemu::kMETSize {15} |
Definition at line 45 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::produce(), and Cordic::toPolar().
const unsigned int l1tmetemu::kNEtaRegion {6} |
Definition at line 57 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
const unsigned int l1tmetemu::kNQuadrants {4} |
Definition at line 59 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TkEtMissEmuTrackTransform::generateLUTs().
const unsigned int l1tmetemu::kNSector {9} |
Definition at line 58 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TkEtMissEmuTrackTransform::generateLUTs(), and L1TrackerEtMissEmulatorProducer::produce().
const double l1tmetemu::kStepEta = (2 * std::abs(kMaxTrackEta)) / (1 << kInternalEtaWidth) |
Definition at line 68 of file L1TkEtMissEmuAlgo.h.
Referenced by generateEtaRegionLUT(), L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer(), and L1TkEtMissEmuTrackTransform::transformTrack().
const double l1tmetemu::kStepMET = (l1tmetemu::kMaxMET / l1tmetemu::kMETBins) |
Definition at line 73 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
const double l1tmetemu::kStepMETPhi = (l1tmetemu::kMaxMETPhi / l1tmetemu::kMETPhiBins) |
Definition at line 74 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::produce().
const double l1tmetemu::kStepPhi = (2 * -TTTrack_TrackWord::minPhi0) / (kGlobalPhiBins - 1) |
Definition at line 71 of file L1TkEtMissEmuAlgo.h.
Referenced by generateCosLUT(), L1TkEtMissEmuTrackTransform::generatePhiSliceLUT(), and L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().
const double l1tmetemu::kStepPt = (std::abs(kMaxTrackPt)) / (1 << kInternalPtWidth) |
Definition at line 67 of file L1TkEtMissEmuAlgo.h.
Referenced by L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer(), L1TrackerEtMissEmulatorProducer::produce(), and L1TkEtMissEmuTrackTransform::transformTrack().
const double l1tmetemu::kStepZ0 = (2 * std::abs(kMaxTrackZ0)) / (1 << kInternalVTXWidth) |
Definition at line 69 of file L1TkEtMissEmuAlgo.h.
Referenced by generateDeltaZLUT(), and L1TrackerEtMissEmulatorProducer::L1TrackerEtMissEmulatorProducer().