#include <Phase2L1CaloEGammaUtils.h>
Public Member Functions | |
l1tp2::CaloCrystalCluster | createCaloCrystalCluster (void) const |
l1tp2::DigitizedClusterCorrelator | createDigitizedClusterCorrelator (const int corrTowPhiOffset) const |
l1tp2::DigitizedClusterGT | createDigitizedClusterGT (bool isValid) const |
l1t::EGamma | createL1TEGamma (void) const |
float | et2x5Float () const |
float | et5x5Float () const |
float | etFloat () const |
int | etInt () const |
int | globalClusteriEta (void) const |
int | globalClusteriPhi (bool returnGlobalGCTiPhi=true) const |
int | globalToweriEta (void) const |
int | globalToweriPhi (void) const |
int | inCardToweriEta (void) const |
int | inCardToweriPhi (void) const |
void | initFromRCTCluster (int iRCTcardIndex, bool isPosEta, const RCTcluster_t &rctCluster) |
float | isoFloat () const |
int | isoInt () const |
int | looseL1TkMatchWP () const |
reco::Candidate::PolarLorentzVector | p4 (void) const |
int | passesShowerShape () const |
int | photonWP () const |
void | printGCTClusterInfo (std::string description="") |
float | realEta (void) const |
float | realPhi (void) const |
float | relIsoFloat () const |
void | setRelIsoAndFlags (void) |
int | standaloneWP () const |
Public Attributes | |
ap_uint< 2 > | brems |
ap_uint< 3 > | crEta |
ap_uint< 3 > | crPhi |
ap_uint< 12 > | et |
ap_uint< 15 > | et2x5 |
ap_uint< 15 > | et5x5 |
unsigned int | fb |
unsigned int | hoe |
unsigned int | hoe_flag |
bool | is_iso |
bool | is_looseTkiso |
bool | is_looseTkss |
bool | is_ss |
ap_uint< 12 > | iso |
bool | isPositiveEta |
int | nGCTCard |
float | relIso |
unsigned int | timing |
ap_uint< 6 > | towEta |
ap_uint< 7 > | towPhi |
Definition at line 1001 of file Phase2L1CaloEGammaUtils.h.
|
inline |
Definition at line 1193 of file Phase2L1CaloEGammaUtils.h.
References et2x5Float(), et5x5Float(), etFloat(), is_iso, is_looseTkiso, is_looseTkss, is_ss, p4(), submitPVValidationJobs::params, relIsoFloat(), l1tp2::CaloCrystalCluster::setExperimentalParams(), and standaloneWP().
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1249 of file Phase2L1CaloEGammaUtils.h.
References brems, crPhi, p2eg::CRYSTALS_IN_TOWER_PHI, etFloat(), fb, globalClusteriEta(), hoe, hoe_flag, is_iso, is_looseTkiso, is_looseTkss, is_ss, iso, nGCTCard, timing, and towPhi.
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1269 of file Phase2L1CaloEGammaUtils.h.
References etFloat(), sistrip::SpyUtilities::isValid(), realEta(), and realPhi().
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1228 of file Phase2L1CaloEGammaUtils.h.
References etInt(), globalClusteriEta(), globalClusteriPhi(), globalToweriEta(), globalToweriPhi(), isoInt(), looseL1TkMatchWP(), p4(), passesShowerShape(), photonWP(), funct::pow(), quality, l1t::EGamma::setIsoEt(), l1t::EGamma::setRawEt(), l1t::EGamma::setShape(), l1t::EGamma::setTowerIEta(), l1t::EGamma::setTowerIPhi(), and standaloneWP().
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1030 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and et2x5.
Referenced by createCaloCrystalCluster(), and printGCTClusterInfo().
|
inline |
Definition at line 1031 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and et5x5.
Referenced by createCaloCrystalCluster(), and printGCTClusterInfo().
|
inline |
Definition at line 1028 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and et.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), createDigitizedClusterGT(), p4(), printGCTClusterInfo(), setRelIsoAndFlags(), and p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1034 of file Phase2L1CaloEGammaUtils.h.
References et.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1081 of file Phase2L1CaloEGammaUtils.h.
References crEta, p2eg::CRYSTALS_IN_TOWER_ETA, isPositiveEta, p2eg::N_GCTTOWERS_FIBER, and towEta.
Referenced by createDigitizedClusterCorrelator(), createL1TEGamma(), globalToweriEta(), inCardToweriEta(), and realEta().
|
inline |
Definition at line 1109 of file Phase2L1CaloEGammaUtils.h.
References crPhi, p2eg::CRYSTALS_IN_TOWER_PHI, p2eg::GCTCARD_0_TOWER_IPHI_OFFSET, p2eg::GCTCARD_1_TOWER_IPHI_OFFSET, p2eg::GCTCARD_2_TOWER_IPHI_OFFSET, p2eg::n_towers_Phi, nGCTCard, and towPhi.
Referenced by createL1TEGamma(), globalToweriPhi(), inCardToweriPhi(), and realPhi().
|
inline |
Definition at line 1129 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriEta().
Referenced by createL1TEGamma().
|
inline |
Definition at line 1134 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriPhi().
Referenced by createL1TEGamma().
|
inline |
Definition at line 1150 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriEta().
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace().
|
inline |
Definition at line 1142 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriPhi().
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace().
|
inline |
Definition at line 1046 of file Phase2L1CaloEGammaUtils.h.
References p2eg::RCTcluster_t::brems, brems, p2eg::RCTcluster_t::crEta, crEta, p2eg::RCTcluster_t::crPhi, crPhi, p2eg::RCTcluster_t::et, et, p2eg::RCTcluster_t::et2x5, et2x5, p2eg::RCTcluster_t::et5x5, et5x5, fb, hoe, hoe_flag, is_iso, is_looseTkiso, p2eg::RCTcluster_t::is_looseTkss, is_looseTkss, p2eg::RCTcluster_t::is_ss, is_ss, iso, isPositiveEta, p2eg::RCTcluster_t::nGCTCard, nGCTCard, relIso, timing, p2eg::RCTcluster_t::towEta, towEta, p2eg::RCTcluster_t::towPhi, and towPhi.
Referenced by p2eg::getClustersTowers().
|
inline |
Definition at line 1029 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and iso.
Referenced by printGCTClusterInfo(), and setRelIsoAndFlags().
|
inline |
Definition at line 1035 of file Phase2L1CaloEGammaUtils.h.
References iso.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1038 of file Phase2L1CaloEGammaUtils.h.
References is_looseTkiso, and is_looseTkss.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1171 of file Phase2L1CaloEGammaUtils.h.
References etFloat(), realEta(), and realPhi().
Referenced by createCaloCrystalCluster(), createL1TEGamma(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), and Lepton.Lepton::p4WithFSR().
|
inline |
Definition at line 1041 of file Phase2L1CaloEGammaUtils.h.
References is_ss.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1039 of file Phase2L1CaloEGammaUtils.h.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1277 of file Phase2L1CaloEGammaUtils.h.
References brems, gather_cfg::cout, crEta, crPhi, makeListRunsInFiles::description, et2x5Float(), et5x5Float(), etFloat(), is_iso, is_looseTkiso, is_looseTkss, is_ss, isoFloat(), isPositiveEta, realEta(), realPhi(), relIsoFloat(), towEta, and towPhi.
|
inline |
Definition at line 1155 of file Phase2L1CaloEGammaUtils.h.
References p2eg::CRYSTALS_IN_TOWER_ETA, p2eg::ECAL_eta_range, globalClusteriEta(), p2eg::half_crystal_size, and p2eg::n_towers_Eta.
Referenced by createDigitizedClusterGT(), p4(), and printGCTClusterInfo().
|
inline |
Definition at line 1163 of file Phase2L1CaloEGammaUtils.h.
References p2eg::CRYSTALS_IN_TOWER_PHI, globalClusteriPhi(), p2eg::half_crystal_size, M_PI, and p2eg::n_towers_Phi.
Referenced by createDigitizedClusterGT(), p4(), and printGCTClusterInfo().
|
inline |
Definition at line 1032 of file Phase2L1CaloEGammaUtils.h.
References relIso.
Referenced by createCaloCrystalCluster(), and printGCTClusterInfo().
|
inline |
Definition at line 1178 of file Phase2L1CaloEGammaUtils.h.
References et, etFloat(), is_iso, is_looseTkiso, isoFloat(), p2eg::passes_iso(), p2eg::passes_looseTkiso(), and relIso.
Referenced by p2eg::GCTinternal_t::setIsolationInfo().
|
inline |
Definition at line 1037 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), and createL1TEGamma().
ap_uint<2> p2eg::GCTcluster_t::brems |
Definition at line 1023 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<3> p2eg::GCTcluster_t::crEta |
Definition at line 1007 of file Phase2L1CaloEGammaUtils.h.
Referenced by globalClusteriEta(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<3> p2eg::GCTcluster_t::crPhi |
Definition at line 1008 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), globalClusteriPhi(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<12> p2eg::GCTcluster_t::et |
Definition at line 1004 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace(), etFloat(), etInt(), p2eg::getFullTowers(), initFromRCTCluster(), and setRelIsoAndFlags().
ap_uint<15> p2eg::GCTcluster_t::et2x5 |
Definition at line 1011 of file Phase2L1CaloEGammaUtils.h.
Referenced by et2x5Float(), and initFromRCTCluster().
ap_uint<15> p2eg::GCTcluster_t::et5x5 |
Definition at line 1012 of file Phase2L1CaloEGammaUtils.h.
Referenced by et5x5Float(), and initFromRCTCluster().
unsigned int p2eg::GCTcluster_t::fb |
Definition at line 1020 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
unsigned int p2eg::GCTcluster_t::hoe |
Definition at line 1018 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
unsigned int p2eg::GCTcluster_t::hoe_flag |
Definition at line 1019 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
bool p2eg::GCTcluster_t::is_iso |
Definition at line 1015 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), initFromRCTCluster(), printGCTClusterInfo(), setRelIsoAndFlags(), and standaloneWP().
bool p2eg::GCTcluster_t::is_looseTkiso |
Definition at line 1016 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), initFromRCTCluster(), looseL1TkMatchWP(), printGCTClusterInfo(), and setRelIsoAndFlags().
bool p2eg::GCTcluster_t::is_looseTkss |
Definition at line 1014 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), initFromRCTCluster(), looseL1TkMatchWP(), and printGCTClusterInfo().
bool p2eg::GCTcluster_t::is_ss |
Definition at line 1013 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), initFromRCTCluster(), passesShowerShape(), printGCTClusterInfo(), and standaloneWP().
ap_uint<12> p2eg::GCTcluster_t::iso |
Definition at line 1009 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace(), createDigitizedClusterCorrelator(), initFromRCTCluster(), isoFloat(), and isoInt().
bool p2eg::GCTcluster_t::isPositiveEta |
Definition at line 1003 of file Phase2L1CaloEGammaUtils.h.
Referenced by globalClusteriEta(), initFromRCTCluster(), and printGCTClusterInfo().
int p2eg::GCTcluster_t::nGCTCard |
Definition at line 1026 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), globalClusteriPhi(), and initFromRCTCluster().
float p2eg::GCTcluster_t::relIso |
Definition at line 1025 of file Phase2L1CaloEGammaUtils.h.
Referenced by Lepton.Lepton::__str__(), initFromRCTCluster(), relIsoFloat(), and setRelIsoAndFlags().
unsigned int p2eg::GCTcluster_t::timing |
Definition at line 1021 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
ap_uint<6> p2eg::GCTcluster_t::towEta |
Definition at line 1005 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::getFullTowers(), globalClusteriEta(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<7> p2eg::GCTcluster_t::towPhi |
Definition at line 1006 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), p2eg::getFullTowers(), globalClusteriPhi(), initFromRCTCluster(), printGCTClusterInfo(), and p2eg::writeToCorrelatorAndGTOutputs().