Classes | |
class | Particle |
class | Tau |
Typedefs | |
typedef ap_uint< 5 > | count_t |
typedef ap_uint< 20 > | detaphi2_t |
typedef ap_int< 13 > | detaphi_t |
typedef l1ct::z0_t | dz_t |
typedef l1ct::glbeta_t | etaphi_t |
typedef l1ct::pt_t | pt_t |
typedef ap_uint< 3 > | type_t |
Functions | |
std::vector< Tau > | emulateEvent (std::vector< Particle > &parts, std::vector< Particle > &jets, bool jEnable) |
template<int W, int I, ap_q_mode _AP_Q, ap_o_mode _AP_O> | |
ap_ufixed< W, I > | fp_abs (ap_fixed< W, I, _AP_Q, _AP_O > x) |
bool | inIsolationCone (Particle part, Particle seed) |
bool | inSignalCone (Particle part, Particle seed, const int track_count, ap_uint< 20 > cone2, pt_t &iso_pt, bool &isLead) |
template<int W> | |
ap_uint< W > | int_abs (ap_int< W > x) |
template<class inP > | |
bool | is_charged (inP part) |
Tau | makeHPSTauHW (const std::vector< Particle > &parts, const Particle seed, const pt_t total_pt) |
ap_uint< 20 > | setSConeSize2 (pt_t tpt) |
Variables | |
const detaphi_t | delta_Rclean = 0.4 * etaphi_base |
constexpr float | dz_base = 0.05 |
const dz_t | dzCut = 0.4 / dz_base |
const etaphi_t | etaCutoff = 2.4 * etaphi_base |
constexpr float | etaphi_base = 720. / M_PI |
const detaphi_t | isoConeSize = 0.4 * etaphi_base |
const pt_t | min_leadChargedPfCand_pt = l1ct::Scales::makePtFromFloat(1.) |
const detaphi_t | strip_eta = 0.05 * etaphi_base |
const detaphi_t | strip_phi = 0.20 * etaphi_base |
typedef ap_uint<5> l1HPSPFTauEmu::count_t |
Definition at line 25 of file L1HPSPFTauEmulator.h.
typedef ap_uint<20> l1HPSPFTauEmu::detaphi2_t |
Definition at line 24 of file L1HPSPFTauEmulator.h.
typedef ap_int<13> l1HPSPFTauEmu::detaphi_t |
Definition at line 22 of file L1HPSPFTauEmulator.h.
typedef l1ct::z0_t l1HPSPFTauEmu::dz_t |
Definition at line 27 of file L1HPSPFTauEmulator.h.
Definition at line 20 of file L1HPSPFTauEmulator.h.
typedef l1ct::pt_t l1HPSPFTauEmu::pt_t |
Definition at line 19 of file L1HPSPFTauEmulator.h.
typedef ap_uint<3> l1HPSPFTauEmu::type_t |
Definition at line 26 of file L1HPSPFTauEmulator.h.
|
inline |
Definition at line 270 of file L1HPSPFTauEmulator.h.
References clean(), delta_Rclean, EgHLTOffHistBins_cfi::deltaE, etaCutoff, l1ct::PuppiObj::hwEta, l1ct::PuppiObj::hwPt, l1trig_cff::hwPt, mps_fire::i, inIsolationCone(), int_abs(), is_charged(), dqmiolumiharvest::j, metsig::jet, PDWG_EXODelayedJetMET_cff::jets, makeHPSTauHW(), l1ct::Scales::makePtFromFloat(), makeMuonMisalignmentScenario::matrix, fileCollector::seed, HLT_2024v14_cff::seeds, jetUpdater_cfi::sort, Tau3MuMonitor_cff::taus, l1HPSPFTauEmu::Particle::tempZ0, and HcalDetIdTransform::transform().
Referenced by L1HPSPFTauProducer::processEvent_HW().
ap_ufixed<W, I> l1HPSPFTauEmu::fp_abs | ( | ap_fixed< W, I, _AP_Q, _AP_O > | x | ) |
Definition at line 120 of file L1HPSPFTauEmulator.h.
References spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, L1TauEmu::inCone(), isoConeSize, and fileCollector::seed.
Referenced by emulateEvent().
|
inline |
Definition at line 138 of file L1HPSPFTauEmulator.h.
References spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, l1tTrackerHTMiss_cfi::deltaZ, dzCut, etaCutoff, L1TauEmu::inCone(), int_abs(), is_charged(), min_leadChargedPfCand_pt, fileCollector::seed, strip_eta, and strip_phi.
Referenced by makeHPSTauHW().
|
inline |
Definition at line 66 of file L1HPSPFTauEmulator.h.
References mps_fire::result, and x.
Referenced by emulateEvent(), inSignalCone(), and makeHPSTauHW().
|
inline |
Definition at line 77 of file L1HPSPFTauEmulator.h.
References ALCARECOTkAlJpsiMuMu_cff::charge.
Referenced by emulateEvent(), inSignalCone(), and makeHPSTauHW().
|
inline |
Definition at line 182 of file L1HPSPFTauEmulator.h.
References etaCutoff, l1ct::PuppiObj::hwEta, l1ct::PuppiObj::hwPhi, l1ct::PuppiObj::hwPt, l1trig_cff::hwPt, mps_fire::i, inSignalCone(), int_abs(), is_charged(), reco::tau::leadCand(), l1ct::Scales::makePtFromFloat(), l1HPSPFTauEmu::Particle::pID, fileCollector::seed, setSConeSize2(), metsig::tau, runTauDisplay::tau_eta, runTauDisplay::tau_phi, and runTauDisplay::tau_pt.
Referenced by emulateEvent().
|
inline |
const detaphi_t l1HPSPFTauEmu::delta_Rclean = 0.4 * etaphi_base |
Definition at line 50 of file L1HPSPFTauEmulator.h.
Referenced by emulateEvent().
constexpr float l1HPSPFTauEmu::dz_base = 0.05 |
Definition at line 18 of file L1HPSPFTauEmulator.h.
Referenced by L1HPSPFTauProducer::convertEDMToHW().
Definition at line 51 of file L1HPSPFTauEmulator.h.
Referenced by inSignalCone().
const etaphi_t l1HPSPFTauEmu::etaCutoff = 2.4 * etaphi_base |
Definition at line 52 of file L1HPSPFTauEmulator.h.
Referenced by emulateEvent(), inSignalCone(), and makeHPSTauHW().
constexpr float l1HPSPFTauEmu::etaphi_base = 720. / M_PI |
Definition at line 17 of file L1HPSPFTauEmulator.h.
Referenced by L1HPSPFTauProducer::convertEDMToHW(), L1HPSPFTauProducer::convertHWToEDM(), L1HPSPFTauProducer::convertJetsToHW(), and L1NNTauProducer::process_HW().
const detaphi_t l1HPSPFTauEmu::isoConeSize = 0.4 * etaphi_base |
Definition at line 49 of file L1HPSPFTauEmulator.h.
Referenced by inIsolationCone().
const pt_t l1HPSPFTauEmu::min_leadChargedPfCand_pt = l1ct::Scales::makePtFromFloat(1.) |
Definition at line 48 of file L1HPSPFTauEmulator.h.
Referenced by inSignalCone().
const detaphi_t l1HPSPFTauEmu::strip_eta = 0.05 * etaphi_base |
Definition at line 46 of file L1HPSPFTauEmulator.h.
Referenced by inSignalCone().
const detaphi_t l1HPSPFTauEmu::strip_phi = 0.20 * etaphi_base |
Definition at line 45 of file L1HPSPFTauEmulator.h.
Referenced by CSCSectorReceiverLUT::calcGlobalPhiME(), and inSignalCone().