#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 | |
Cluster & | operator= (const Cluster &rhs) |
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 803 of file Phase2L1CaloEGammaUtils.h.
|
inline |
Definition at line 816 of file Phase2L1CaloEGammaUtils.h.
References brems, data, et2x5, et5x5, is_iso, is_looseTkiso, is_looseTkss, is_ss, and regionIdx.
|
inline |
Definition at line 829 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 899 of file Phase2L1CaloEGammaUtils.h.
References data, p2eg::ECAL_LSB, and getPt().
|
inline |
Definition at line 872 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), p2eg::compareClusterET(), getPt(), Phase2L1CaloEGammaEmulator::produce(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 875 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliEtaFromCardRegionInfo(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 876 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliPhiFromCardRegionInfo(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 913 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 925 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 883 of file Phase2L1CaloEGammaUtils.h.
References brems.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 892 of file Phase2L1CaloEGammaUtils.h.
References is_looseTkss.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 891 of file Phase2L1CaloEGammaUtils.h.
References is_ss.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 885 of file Phase2L1CaloEGammaUtils.h.
References clusterEnergy(), and p2eg::ECAL_LSB.
Referenced by applyCalibration(), and printClusterInfo().
|
inline |
Definition at line 856 of file Phase2L1CaloEGammaUtils.h.
References brems, calib, data, et2x5, et5x5, is_iso, is_looseTkiso, is_looseTkss, is_ss, and regionIdx.
|
inline |
Definition at line 949 of file Phase2L1CaloEGammaUtils.h.
References gpuPixelDoublets::cc, gather_cfg::cout, makeListRunsInFiles::description, getPt(), realEta(), and realPhi().
|
inline |
Definition at line 937 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 943 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 882 of file Phase2L1CaloEGammaUtils.h.
References regionIdx.
Referenced by crystaliEtaFromCardRegionInfo(), Phase2L1CaloEGammaEmulator::produce(), p2eg::stitchClusterOverRegionBoundary(), and towerEtaInCard().
|
inline |
Definition at line 877 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 870 of file Phase2L1CaloEGammaUtils.h.
References regionIdx.
Referenced by Phase2L1CaloEGammaEmulator::produce().
|
inline |
Definition at line 873 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliEtaFromCardRegionInfo(), Phase2L1CaloEGammaEmulator::produce(), p2eg::stitchClusterOverRegionBoundary(), and towerEtaInCard().
|
inline |
Definition at line 889 of file Phase2L1CaloEGammaUtils.h.
References region(), p2eg::TOWER_IN_ETA, and towerEta().
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 874 of file Phase2L1CaloEGammaUtils.h.
References data.
Referenced by Cluster(), crystaliPhiFromCardRegionInfo(), Phase2L1CaloEGammaEmulator::produce(), and p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 878 of file Phase2L1CaloEGammaUtils.h.
References et2x5.
Referenced by p2eg::stitchClusterOverRegionBoundary().
|
inline |
Definition at line 879 of file Phase2L1CaloEGammaUtils.h.
References et5x5.
Referenced by p2eg::stitchClusterOverRegionBoundary().
ap_uint<2> p2eg::Cluster::brems |
Definition at line 808 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getBrems(), and operator=().
float p2eg::Cluster::calib |
Definition at line 807 of file Phase2L1CaloEGammaUtils.h.
Referenced by getCalib(), and operator=().
ap_uint<28> p2eg::Cluster::data |
Definition at line 805 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(), operator=(), satur(), cuy.FindIssue::startElement(), towerEta(), and towerPhi().
ap_uint<15> p2eg::Cluster::et2x5 |
Definition at line 810 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getEt2x5(), operator=(), and uint_et2x5().
ap_uint<15> p2eg::Cluster::et5x5 |
Definition at line 809 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getEt5x5(), operator=(), and uint_et5x5().
bool p2eg::Cluster::is_iso |
Definition at line 813 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getIsIso(), and operator=().
bool p2eg::Cluster::is_looseTkiso |
Definition at line 814 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getIsLooseTkIso(), and operator=().
bool p2eg::Cluster::is_looseTkss |
Definition at line 812 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getIsLooseTkss(), and operator=().
bool p2eg::Cluster::is_ss |
Definition at line 811 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), getIsSS(), and operator=().
int p2eg::Cluster::regionIdx |
Definition at line 806 of file Phase2L1CaloEGammaUtils.h.
Referenced by Cluster(), operator=(), region(), and setRegionIdx().