#include <Phase2L1CaloEGammaUtils.h>
Public Member Functions | |
l1tp2::CaloTower | createCaloTowerFromFiberIdx (int nGCTCard, int iFiber, int iTowerInFiber) |
l1tp2::DigitizedTowerCorrelator | createDigitizedTowerCorrelator (unsigned int indexCard, unsigned int indexFiber, unsigned int indexTower) |
l1tp2::CaloTower | createFullTowerFromCardIdx (int nGCTCard, int gctCard_tower_iEta, int gctCard_tower_iPhi) |
float | ecalEtFloat () const |
int | globalToweriEta (unsigned int nGCTCard, unsigned int gctCorrFiberIdx, unsigned int posInFiber) |
int | globalToweriEtaFromGCTcardiEta (int gctCard_tower_iEta) |
int | globalToweriPhi (unsigned int nGCTCard, unsigned int gctCorrFiberIdx, unsigned int posInFiber) |
int | globalToweriPhiFromGCTcardiPhi (unsigned int nGCTCard, int gctCard_tower_iPhi) |
float | hcalEtFloat () const |
void | initFromRCTTower (const RCTtower_t &rctTower) |
void | printGCTTowerInfoFromGlobalIdx (int global_tower_iEta, int global_tower_iPhi, std::string description="") |
float | totalEtFloat () const |
Public Attributes | |
ap_uint< 12 > | ecalEt |
ap_uint< 12 > | et |
ap_uint< 2 > | fb |
ap_uint< 12 > | hcalEt |
ap_uint< 4 > | hoe |
Definition at line 1296 of file Phase2L1CaloEGammaUtils.h.
|
inline |
Definition at line 1398 of file Phase2L1CaloEGammaUtils.h.
References ecalEtFloat(), p2eg::getTowerEta_fromAbsID(), p2eg::getTowerPhi_fromAbsID(), globalToweriEta(), globalToweriPhi(), hcalEtFloat(), l1tp2::CaloTower::setEcalTowerEt(), l1tp2::CaloTower::setHcalTowerEt(), l1tp2::CaloTower::setTowerEta(), l1tp2::CaloTower::setTowerIEta(), l1tp2::CaloTower::setTowerIPhi(), and l1tp2::CaloTower::setTowerPhi().
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1432 of file Phase2L1CaloEGammaUtils.h.
References fb, hoe, and totalEtFloat().
Referenced by p2eg::writeToCorrelatorAndGTOutputs().
|
inline |
Definition at line 1414 of file Phase2L1CaloEGammaUtils.h.
References ecalEtFloat(), p2eg::getTowerEta_fromAbsID(), p2eg::getTowerPhi_fromAbsID(), globalToweriEtaFromGCTcardiEta(), globalToweriPhiFromGCTcardiPhi(), l1tp2::CaloTower::setEcalTowerEt(), l1tp2::CaloTower::setHcalTowerEt(), l1tp2::CaloTower::setTowerEta(), l1tp2::CaloTower::setTowerIEta(), l1tp2::CaloTower::setTowerIPhi(), l1tp2::CaloTower::setTowerPhi(), and totalEtFloat().
Referenced by p2eg::GCTintTowers_t::writeToPFOutput().
|
inline |
Definition at line 1308 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and ecalEt.
Referenced by createCaloTowerFromFiberIdx(), createFullTowerFromCardIdx(), and printGCTTowerInfoFromGlobalIdx().
|
inline |
Definition at line 1330 of file Phase2L1CaloEGammaUtils.h.
References p2eg::N_GCTPOSITIVE_FIBERS, p2eg::N_GCTTOWERS_FIBER, and funct::void.
Referenced by createCaloTowerFromFiberIdx().
|
inline |
Definition at line 1371 of file Phase2L1CaloEGammaUtils.h.
Referenced by createFullTowerFromCardIdx().
|
inline |
Definition at line 1352 of file Phase2L1CaloEGammaUtils.h.
References p2eg::GCTCARD_0_TOWER_IPHI_OFFSET, p2eg::GCTCARD_1_TOWER_IPHI_OFFSET, p2eg::GCTCARD_2_TOWER_IPHI_OFFSET, p2eg::N_GCTPOSITIVE_FIBERS, p2eg::n_towers_Phi, and funct::void.
Referenced by createCaloTowerFromFiberIdx().
|
inline |
Definition at line 1379 of file Phase2L1CaloEGammaUtils.h.
References cms::cuda::assert(), p2eg::GCTCARD_0_TOWER_IPHI_OFFSET, p2eg::GCTCARD_1_TOWER_IPHI_OFFSET, p2eg::GCTCARD_2_TOWER_IPHI_OFFSET, and p2eg::n_towers_Phi.
Referenced by createFullTowerFromCardIdx().
|
inline |
Definition at line 1309 of file Phase2L1CaloEGammaUtils.h.
References p2eg::HCAL_LSB, and hcalEt.
Referenced by createCaloTowerFromFiberIdx(), and printGCTTowerInfoFromGlobalIdx().
|
inline |
Definition at line 1316 of file Phase2L1CaloEGammaUtils.h.
References p2eg::RCTtower_t::ecalEt, ecalEt, p2eg::RCTtower_t::et, et, p2eg::RCTtower_t::hcalEt, hcalEt, p2eg::RCTtower_t::hoe, and hoe.
Referenced by p2eg::getClustersTowers().
|
inline |
Definition at line 1441 of file Phase2L1CaloEGammaUtils.h.
References gather_cfg::cout, makeListRunsInFiles::description, ecalEtFloat(), fb, p2eg::getTowerEta_fromAbsID(), p2eg::getTowerPhi_fromAbsID(), hcalEtFloat(), and totalEtFloat().
|
inline |
Definition at line 1305 of file Phase2L1CaloEGammaUtils.h.
References p2eg::ECAL_LSB, and et.
Referenced by createDigitizedTowerCorrelator(), createFullTowerFromCardIdx(), and printGCTTowerInfoFromGlobalIdx().
ap_uint<12> p2eg::GCTtower_t::ecalEt |
Definition at line 1302 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::GCTinternal_t::computeClusterIsolationInPlace(), ecalEtFloat(), p2eg::getFullTowers(), and initFromRCTTower().
ap_uint<12> p2eg::GCTtower_t::et |
Definition at line 1298 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::getFullTowers(), initFromRCTTower(), and totalEtFloat().
ap_uint<2> p2eg::GCTtower_t::fb |
Definition at line 1300 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedTowerCorrelator(), and printGCTTowerInfoFromGlobalIdx().
ap_uint<12> p2eg::GCTtower_t::hcalEt |
Definition at line 1303 of file Phase2L1CaloEGammaUtils.h.
Referenced by p2eg::getFullTowers(), hcalEtFloat(), and initFromRCTTower().
ap_uint<4> p2eg::GCTtower_t::hoe |
Definition at line 1299 of file Phase2L1CaloEGammaUtils.h.
Referenced by createDigitizedTowerCorrelator(), p2eg::getFullTowers(), and initFromRCTTower().