Classes | |
struct | EtMiss |
Typedefs | |
typedef ap_int< kHTSize > | Et_t |
typedef ap_int< kInternalEtaWidth > | eta_t |
typedef ap_ufixed< kMHTSize, kMHTIntSize > | MHT_t |
typedef ap_uint< kMHTPhiSize > | MHTphi_t |
typedef ap_uint< 5 > | ntracks_t |
typedef ap_int< kInternalPhiWidth > | phi_t |
typedef ap_uint< kInternalPtWidth > | pt_t |
Enumerations | |
enum | BitLocations { kValidLSB = 0, kValidMSB = kValidLSB + kValidSize - 1, kMHTLSB = kValidMSB + 1, kMHTMSB = kMHTLSB + kMHTSize - 1, kMHTPhiLSB = kMHTMSB + 1, kMHTPhiMSB = kMHTPhiLSB + kMHTPhiSize - 1, kHTLSB = kMHTPhiMSB + 1, kHTMSB = kHTLSB + kHTSize - 1, kUnassignedLSB = kHTMSB + 1, kUnassignedMSB = kUnassignedLSB + kUnassignedSize - 1 } |
Functions | |
EtMiss | cordicSqrt (Et_t x, Et_t y, int cordicSteps, std::vector< l1tmhtemu::MHTphi_t > atanLUT, std::vector< Et_t > magNormalisationLUT) |
template<typename T > | |
T | digitizeSignedValue (double value, unsigned int nBits, double lsb) |
std::vector< MHTphi_t > | generateaTanLUT (int cordicSteps) |
std::vector< phi_t > | generateCosLUT (unsigned int size) |
std::vector< Et_t > | generatemagNormalisationLUT (int cordicSteps) |
Variables | |
const unsigned int | kEtExtra {10} |
const unsigned int | kHTSize {kInternalPtWidth + kEtExtra} |
const unsigned int | kInternalEtaWidth {l1t::TkJetWord::TkJetBitWidths::kGlbEtaSize} |
const unsigned int | kInternalPhiWidth {l1t::TkJetWord::TkJetBitWidths::kGlbPhiSize} |
const unsigned int | kInternalPtWidth {l1t::TkJetWord::TkJetBitWidths::kPtSize} |
const float | kMaxCosLUTPhi {M_PI} |
const float | kMaxMHT {2048} |
const float | kMaxMHTPhi {2 * M_PI} |
const unsigned int | kMHTBins = 1 << kMHTSize |
const unsigned int | kMHTIntSize {11} |
const unsigned int | kMHTPhiBins = 1 << kMHTPhiSize |
const unsigned int | kMHTPhiSize {13} |
const unsigned int | kMHTSize {16} |
const unsigned int | kPhiBins = 1 << kInternalPhiWidth |
const double | kStepEta {M_PI / (720)} |
const double | kStepMHT = (l1tmhtemu::kMaxMHT / l1tmhtemu::kMHTBins) |
const double | kStepMHTPhi = (l1tmhtemu::kMaxMHTPhi / l1tmhtemu::kMHTPhiBins) |
const double | kStepPhi {M_PI / (720)} |
const double | kStepPt {0.25} |
const unsigned int | kUnassignedSize {64 - (kHTSize + kMHTSize + kMHTPhiSize + kValidSize)} |
const unsigned int | kValidSize {1} |
typedef ap_int<kHTSize> l1tmhtemu::Et_t |
Definition at line 58 of file L1TkHTMissEmulatorProducer.h.
typedef ap_int<kInternalEtaWidth> l1tmhtemu::eta_t |
Definition at line 55 of file L1TkHTMissEmulatorProducer.h.
typedef ap_ufixed<kMHTSize, kMHTIntSize> l1tmhtemu::MHT_t |
Definition at line 59 of file L1TkHTMissEmulatorProducer.h.
typedef ap_uint<kMHTPhiSize> l1tmhtemu::MHTphi_t |
Definition at line 60 of file L1TkHTMissEmulatorProducer.h.
typedef ap_uint<5> l1tmhtemu::ntracks_t |
Definition at line 53 of file L1TkHTMissEmulatorProducer.h.
typedef ap_int<kInternalPhiWidth> l1tmhtemu::phi_t |
Definition at line 56 of file L1TkHTMissEmulatorProducer.h.
typedef ap_uint<kInternalPtWidth> l1tmhtemu::pt_t |
Definition at line 54 of file L1TkHTMissEmulatorProducer.h.
Enumerator | |
---|---|
kValidLSB | |
kValidMSB | |
kMHTLSB | |
kMHTMSB | |
kMHTPhiLSB | |
kMHTPhiMSB | |
kHTLSB | |
kHTMSB | |
kUnassignedLSB | |
kUnassignedMSB |
Definition at line 36 of file L1TkHTMissEmulatorProducer.h.
|
inline |
Definition at line 122 of file L1TkHTMissEmulatorProducer.h.
References l1tmhtemu::EtMiss::Et, nano_mu_digi_cff::float, kMHTBins, kMHTPhiBins, kStepPhi, kStepPt, l1tmhtemu::EtMiss::Phi, Validation_hcalonly_cfi::sign, and x.
Referenced by L1TkHTMissEmulatorProducer::produce(), and L1TrackerEtMissEmulatorProducer::produce().
T l1tmhtemu::digitizeSignedValue | ( | double | value, |
unsigned int | nBits, | ||
double | lsb | ||
) |
Definition at line 77 of file L1TkHTMissEmulatorProducer.h.
References funct::abs(), and l1tHGCalVFEProducer_cfi::lsb.
|
inline |
Definition at line 98 of file L1TkHTMissEmulatorProducer.h.
References kMHTPhiBins, M_PI, and funct::pow().
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer().
|
inline |
Definition at line 87 of file L1TkHTMissEmulatorProducer.h.
References funct::cos(), kInternalPhiWidth, and kStepPhi.
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer().
|
inline |
Definition at line 107 of file L1TkHTMissEmulatorProducer.h.
References kMHTBins, funct::pow(), and heppy_batch::val.
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer().
const unsigned int l1tmhtemu::kEtExtra {10} |
Definition at line 28 of file L1TkHTMissEmulatorProducer.h.
const unsigned int l1tmhtemu::kHTSize {kInternalPtWidth + kEtExtra} |
Definition at line 33 of file L1TkHTMissEmulatorProducer.h.
const unsigned int l1tmhtemu::kInternalEtaWidth {l1t::TkJetWord::TkJetBitWidths::kGlbEtaSize} |
Definition at line 24 of file L1TkHTMissEmulatorProducer.h.
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer(), and L1TkHTMissEmulatorProducer::produce().
const unsigned int l1tmhtemu::kInternalPhiWidth {l1t::TkJetWord::TkJetBitWidths::kGlbPhiSize} |
Definition at line 25 of file L1TkHTMissEmulatorProducer.h.
Referenced by generateCosLUT(), and L1TkHTMissEmulatorProducer::produce().
const unsigned int l1tmhtemu::kInternalPtWidth {l1t::TkJetWord::TkJetBitWidths::kPtSize} |
Definition at line 23 of file L1TkHTMissEmulatorProducer.h.
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer(), and L1TkHTMissEmulatorProducer::produce().
const float l1tmhtemu::kMaxCosLUTPhi {M_PI} |
Definition at line 74 of file L1TkHTMissEmulatorProducer.h.
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer().
const float l1tmhtemu::kMaxMHT {2048} |
Definition at line 50 of file L1TkHTMissEmulatorProducer.h.
const float l1tmhtemu::kMaxMHTPhi {2 * M_PI} |
Definition at line 51 of file L1TkHTMissEmulatorProducer.h.
const unsigned int l1tmhtemu::kMHTBins = 1 << kMHTSize |
Definition at line 62 of file L1TkHTMissEmulatorProducer.h.
Referenced by cordicSqrt(), and generatemagNormalisationLUT().
const unsigned int l1tmhtemu::kMHTIntSize {11} |
Definition at line 31 of file L1TkHTMissEmulatorProducer.h.
const unsigned int l1tmhtemu::kMHTPhiBins = 1 << kMHTPhiSize |
Definition at line 63 of file L1TkHTMissEmulatorProducer.h.
Referenced by cordicSqrt(), generateaTanLUT(), and L1TkHTMissEmulatorProducer::produce().
const unsigned int l1tmhtemu::kMHTPhiSize {13} |
Definition at line 32 of file L1TkHTMissEmulatorProducer.h.
const unsigned int l1tmhtemu::kMHTSize {16} |
Definition at line 30 of file L1TkHTMissEmulatorProducer.h.
const unsigned int l1tmhtemu::kPhiBins = 1 << kInternalPhiWidth |
Definition at line 72 of file L1TkHTMissEmulatorProducer.h.
const double l1tmhtemu::kStepEta {M_PI / (720)} |
Definition at line 66 of file L1TkHTMissEmulatorProducer.h.
Referenced by L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer(), and L1TkHTMissEmulatorProducer::produce().
const double l1tmhtemu::kStepMHT = (l1tmhtemu::kMaxMHT / l1tmhtemu::kMHTBins) |
Definition at line 69 of file L1TkHTMissEmulatorProducer.h.
const double l1tmhtemu::kStepMHTPhi = (l1tmhtemu::kMaxMHTPhi / l1tmhtemu::kMHTPhiBins) |
Definition at line 70 of file L1TkHTMissEmulatorProducer.h.
Referenced by L1TkHTMissEmulatorProducer::produce().
const double l1tmhtemu::kStepPhi {M_PI / (720)} |
Definition at line 67 of file L1TkHTMissEmulatorProducer.h.
Referenced by cordicSqrt(), generateCosLUT(), L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer(), and L1TkHTMissEmulatorProducer::produce().
const double l1tmhtemu::kStepPt {0.25} |
Definition at line 65 of file L1TkHTMissEmulatorProducer.h.
Referenced by cordicSqrt(), L1TkHTMissEmulatorProducer::L1TkHTMissEmulatorProducer(), and L1TkHTMissEmulatorProducer::produce().
const unsigned int l1tmhtemu::kUnassignedSize {64 - (kHTSize + kMHTSize + kMHTPhiSize + kValidSize)} |
Definition at line 34 of file L1TkHTMissEmulatorProducer.h.
Referenced by l1t::TkJetWord::setTkJetWord(), and l1t::VertexWord::setVertexWord().
const unsigned int l1tmhtemu::kValidSize {1} |
Definition at line 29 of file L1TkHTMissEmulatorProducer.h.
Referenced by trklet::ProducerKFout::produce(), TTTrack_TrackWord::setTrackWord(), and l1t::VertexWord::setVertexWord().