#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 |
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 1083 of file Phase2L1CaloEGammaUtils.h.
|
inline |
Definition at line 1273 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 |
|
inline |
Definition at line 1348 of file Phase2L1CaloEGammaUtils.h.
References etFloat(), sistrip::SpyUtilities::isValid(), realEta(), and realPhi().
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1308 of file Phase2L1CaloEGammaUtils.h.
References etInt(), globalClusteriEta(), globalClusteriPhi(), globalToweriEta(), globalToweriPhi(), isoInt(), looseL1TkMatchWP(), p4(), passesShowerShape(), photonWP(), conifer::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 1111 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and et2x5.
Referenced by createCaloCrystalCluster(), and printGCTClusterInfo().
|
inline |
Definition at line 1112 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and et5x5.
Referenced by createCaloCrystalCluster(), and printGCTClusterInfo().
|
inline |
Definition at line 1109 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 1115 of file Phase2L1CaloEGammaUtils.h.
References et.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1161 of file Phase2L1CaloEGammaUtils.h.
References crEta, p2eg::CRYSTALS_IN_TOWER_ETA, isPositiveEta, p2eg::N_GCTTOWERS_FIBER, and towEta.
Referenced by createL1TEGamma(), globalToweriEta(), inCardToweriEta(), and realEta().
|
inline |
Definition at line 1189 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 1209 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriEta().
Referenced by createL1TEGamma().
|
inline |
Definition at line 1214 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriPhi().
Referenced by createL1TEGamma().
|
inline |
Definition at line 1230 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriEta().
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace().
|
inline |
Definition at line 1222 of file Phase2L1CaloEGammaUtils.h.
References globalClusteriPhi().
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace().
|
inline |
Definition at line 1127 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, 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 1110 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and iso.
Referenced by printGCTClusterInfo(), and setRelIsoAndFlags().
|
inline |
Definition at line 1116 of file Phase2L1CaloEGammaUtils.h.
References iso.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1119 of file Phase2L1CaloEGammaUtils.h.
References is_looseTkiso, and is_looseTkss.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1251 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 1122 of file Phase2L1CaloEGammaUtils.h.
References is_ss.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1120 of file Phase2L1CaloEGammaUtils.h.
Referenced by createL1TEGamma().
|
inline |
Definition at line 1356 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 1235 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 1243 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 1113 of file Phase2L1CaloEGammaUtils.h.
References relIso.
Referenced by createCaloCrystalCluster(), and printGCTClusterInfo().
|
inline |
Definition at line 1258 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 1118 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), and createL1TEGamma().
ap_uint<2> p2eg::GCTcluster_t::brems |
Definition at line 1104 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<3> p2eg::GCTcluster_t::crEta |
Definition at line 1089 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), globalClusteriEta(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<3> p2eg::GCTcluster_t::crPhi |
Definition at line 1090 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), globalClusteriPhi(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<12> p2eg::GCTcluster_t::et |
Definition at line 1086 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 1093 of file Phase2L1CaloEGammaUtils.h.
Referenced by et2x5Float(), and initFromRCTCluster().
ap_uint<15> p2eg::GCTcluster_t::et5x5 |
Definition at line 1094 of file Phase2L1CaloEGammaUtils.h.
Referenced by et5x5Float(), and initFromRCTCluster().
unsigned int p2eg::GCTcluster_t::fb |
Definition at line 1101 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
unsigned int p2eg::GCTcluster_t::hoe |
Definition at line 1100 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
bool p2eg::GCTcluster_t::is_iso |
Definition at line 1097 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), initFromRCTCluster(), printGCTClusterInfo(), setRelIsoAndFlags(), and standaloneWP().
bool p2eg::GCTcluster_t::is_looseTkiso |
Definition at line 1098 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), initFromRCTCluster(), looseL1TkMatchWP(), printGCTClusterInfo(), and setRelIsoAndFlags().
bool p2eg::GCTcluster_t::is_looseTkss |
Definition at line 1096 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), initFromRCTCluster(), looseL1TkMatchWP(), and printGCTClusterInfo().
bool p2eg::GCTcluster_t::is_ss |
Definition at line 1095 of file Phase2L1CaloEGammaUtils.h.
Referenced by createCaloCrystalCluster(), createDigitizedClusterCorrelator(), initFromRCTCluster(), passesShowerShape(), printGCTClusterInfo(), and standaloneWP().
ap_uint<12> p2eg::GCTcluster_t::iso |
Definition at line 1091 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace(), initFromRCTCluster(), isoFloat(), and isoInt().
bool p2eg::GCTcluster_t::isPositiveEta |
Definition at line 1085 of file Phase2L1CaloEGammaUtils.h.
Referenced by globalClusteriEta(), initFromRCTCluster(), and printGCTClusterInfo().
int p2eg::GCTcluster_t::nGCTCard |
Definition at line 1107 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), globalClusteriPhi(), and initFromRCTCluster().
float p2eg::GCTcluster_t::relIso |
Definition at line 1106 of file Phase2L1CaloEGammaUtils.h.
Referenced by Lepton.Lepton::__str__(), initFromRCTCluster(), relIsoFloat(), and setRelIsoAndFlags().
unsigned int p2eg::GCTcluster_t::timing |
Definition at line 1102 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), and initFromRCTCluster().
ap_uint<6> p2eg::GCTcluster_t::towEta |
Definition at line 1087 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), p2eg::getFullTowers(), globalClusteriEta(), initFromRCTCluster(), and printGCTClusterInfo().
ap_uint<7> p2eg::GCTcluster_t::towPhi |
Definition at line 1088 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedClusterCorrelator(), p2eg::getFullTowers(), globalClusteriPhi(), initFromRCTCluster(), printGCTClusterInfo(), and p2eg::writeToCorrelatorAndGTOutputs().