#include <Phase2L1CaloEGammaUtils.h>
Public Member Functions | |
void | applyCalibration (float factor) |
Cluster () | |
Cluster (ap_uint< 12 > clusterEnergy, ap_uint< 5 > towerEta, ap_uint< 2 > towerPhi, ap_uint< 3 > clusterEta, ap_uint< 3 > clusterPhi, ap_uint< 3 > satur, ap_uint< 15 > clusterEt5x5=0, ap_uint< 15 > clusterEt2x5=0, ap_uint< 2 > clusterBrems=0, float clusterCalib=1.0, bool cluster_is_ss=false, bool cluster_is_looseTkss=false, bool cluster_is_iso=false, bool cluster_is_looseTkiso=false, int clusterRegionIdx=0) | |
ap_uint< 12 > | clusterEnergy () const |
ap_uint< 3 > | clusterEta () const |
ap_uint< 3 > | clusterPhi () const |
const int | crystaliEtaFromCardRegionInfo (int cc) |
const int | crystaliPhiFromCardRegionInfo (int cc) |
int | getBrems () const |
float | getCalib () const |
float | getEt2x5 () const |
float | getEt5x5 () const |
bool | getIsIso () |
bool | getIsLooseTkIso () |
bool | getIsLooseTkss () |
bool | getIsSS () |
float | getPt () const |
operator uint32_t () const | |
void | printClusterInfo (int cc, std::string description="") |
const float | realEta (int cc) |
const float | realPhi (int cc) |
int | region () const |
ap_uint< 3 > | satur () const |
void | setRegionIdx (int regIdx) |
ap_uint< 5 > | towerEta () const |
int | towerEtaInCard () |
ap_uint< 2 > | towerPhi () const |
ap_uint< 15 > | uint_et2x5 () const |
ap_uint< 15 > | uint_et5x5 () const |
Public Attributes | |
ap_uint< 2 > | brems |
float | calib |
ap_uint< 28 > | data |
ap_uint< 15 > | et2x5 |
ap_uint< 15 > | et5x5 |
bool | is_iso |
bool | is_looseTkiso |
bool | is_looseTkss |
bool | is_ss |
int | regionIdx |
Definition at line 733 of file Phase2L1CaloEGammaUtils.h.
|
inline |
Definition at line 746 of file Phase2L1CaloEGammaUtils.h.
References brems, data, et2x5, et5x5, is_iso, is_looseTkiso, is_looseTkss, is_ss, and regionIdx.
|
inline |
Definition at line 759 of file Phase2L1CaloEGammaUtils.h.
References brems, clusterEnergy(), clusterEta(), clusterPhi(), data, et2x5, et5x5, is_iso, is_looseTkiso, is_looseTkss, is_ss, regionIdx, satur(), towerEta(), and towerPhi().
|
inline |
Definition at line 815 of file Phase2L1CaloEGammaUtils.h.
References data, p2eg::ECAL_LSB, and getPt().
|
inline |
Definition at line 788 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), p2eg::compareClusterET(), getPt(), Phase2L1CaloEGammaEmulator::produce(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 791 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliEtaFromCardRegionInfo(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 792 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliPhiFromCardRegionInfo(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 829 of file Phase2L1CaloEGammaUtils.h.
References gpuPixelDoublets::cc, clusterEta(), p2eg::CRYSTALS_IN_TOWER_ETA, p2eg::getCard_refCrystal_iEta(), region(), p2eg::TOWER_IN_ETA, and towerEta().
Referenced by realEta().
|
inline |
Definition at line 841 of file Phase2L1CaloEGammaUtils.h.
References gpuPixelDoublets::cc, clusterPhi(), p2eg::CRYSTALS_IN_TOWER_PHI, p2eg::getCard_refCrystal_iPhi(), and towerPhi().
Referenced by realPhi().
|
inline |
Definition at line 799 of file Phase2L1CaloEGammaUtils.h.
References brems.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 808 of file Phase2L1CaloEGammaUtils.h.
References is_looseTkss.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 807 of file Phase2L1CaloEGammaUtils.h.
References is_ss.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 801 of file Phase2L1CaloEGammaUtils.h.
References clusterEnergy(), and p2eg::ECAL_LSB.
Referenced by applyCalibration(), and printClusterInfo().
|
inline |
|
inline |
Definition at line 865 of file Phase2L1CaloEGammaUtils.h.
References gpuPixelDoublets::cc, gather_cfg::cout, makeListRunsInFiles::description, getPt(), realEta(), and realPhi().
|
inline |
Definition at line 853 of file Phase2L1CaloEGammaUtils.h.
References gpuPixelDoublets::cc, crystaliEtaFromCardRegionInfo(), p2eg::CRYSTALS_IN_TOWER_ETA, p2eg::ECAL_eta_range, p2eg::half_crystal_size, and p2eg::n_towers_Eta.
Referenced by printClusterInfo().
|
inline |
Definition at line 859 of file Phase2L1CaloEGammaUtils.h.
References gpuPixelDoublets::cc, crystaliPhiFromCardRegionInfo(), p2eg::CRYSTALS_IN_TOWER_PHI, p2eg::half_crystal_size, M_PI, and p2eg::n_towers_Phi.
Referenced by printClusterInfo().
|
inline |
Definition at line 798 of file Phase2L1CaloEGammaUtils.h.
References regionIdx.
Referenced by crystaliEtaFromCardRegionInfo(), Phase2L1CaloEGammaEmulator::produce(), p2eg::stitchClusterOverRegionBoundary(), and towerEtaInCard().
|
inline |
Definition at line 793 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 786 of file Phase2L1CaloEGammaUtils.h.
References regionIdx.
Referenced by Phase2L1CaloEGammaEmulator::produce().
|
inline |
Definition at line 789 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliEtaFromCardRegionInfo(), Phase2L1CaloEGammaEmulator::produce(), p2eg::stitchClusterOverRegionBoundary(), and towerEtaInCard().
|
inline |
Definition at line 805 of file Phase2L1CaloEGammaUtils.h.
References region(), p2eg::TOWER_IN_ETA, and towerEta().
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 790 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliPhiFromCardRegionInfo(), Phase2L1CaloEGammaEmulator::produce(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 794 of file Phase2L1CaloEGammaUtils.h.
References et2x5.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 795 of file Phase2L1CaloEGammaUtils.h.
References et5x5.
Referenced by p2eg::stitchClusterOverRegionBoundary().
ap_uint<2> p2eg::Cluster::brems |
Definition at line 738 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), and getBrems().
float p2eg::Cluster::calib |
Definition at line 737 of file Phase2L1CaloEGammaUtils.h.
Referenced by getCalib().
ap_uint<28> p2eg::Cluster::data |
Definition at line 735 of file Phase2L1CaloEGammaUtils.h.
Referenced by data_sources.node::__str__(), applyCalibration(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), Cluster(), clusterEnergy(), clusterEta(), clusterPhi(), data_sources.json_list::get_members(), data_sources.json_list::last(), operator uint32_t(), satur(), cuy.FindIssue::startElement(), towerEta(), and towerPhi().
ap_uint<15> p2eg::Cluster::et2x5 |
Definition at line 740 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getEt2x5(), and uint_et2x5().
ap_uint<15> p2eg::Cluster::et5x5 |
Definition at line 739 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getEt5x5(), and uint_et5x5().
bool p2eg::Cluster::is_iso |
Definition at line 743 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), and getIsIso().
bool p2eg::Cluster::is_looseTkiso |
Definition at line 744 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), and getIsLooseTkIso().
bool p2eg::Cluster::is_looseTkss |
Definition at line 742 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), and getIsLooseTkss().
bool p2eg::Cluster::is_ss |
Definition at line 741 of file Phase2L1CaloEGammaUtils.h.
int p2eg::Cluster::regionIdx |
Definition at line 736 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), region(), and setRegionIdx().