#include <CaloClusterer.h>
Public Member Functions | |
int | find_cell (float eta, float phi) const override |
int | ifind_cell (int ieta, int iphi) const |
Phase1GridBase (int nEta, int nPhi, int ietaCoarse, int ietaVeryCoarse, const float *towerEtas) | |
Public Member Functions inherited from l1tpf_calo::Grid | |
float | eta (int icell) const |
float | etaWidth (int icell) const |
int | ieta (int icell) const |
int | iphi (int icell) const |
int | neighbour (int icell, unsigned int idx) const |
float | phi (int icell) const |
float | phiWidth (int icell) const |
unsigned int | size () const |
virtual | ~Grid () |
Protected Member Functions | |
int | imove (int ieta, int iphi, int deta, int dphi) |
bool | valid_ieta_iphi (int ieta, int iphi) const |
Protected Member Functions inherited from l1tpf_calo::Grid | |
Grid (unsigned int size) | |
Protected Attributes | |
std::vector< int > | cell_map_ |
const int | ietaCoarse_ |
const int | ietaVeryCoarse_ |
const int | nEta_ |
const int | nPhi_ |
const float * | towerEtas_ |
Protected Attributes inherited from l1tpf_calo::Grid | |
std::vector< float > | eta_ |
std::vector< float > | etaWidth_ |
std::vector< int > | ieta_ |
std::vector< int > | iphi_ |
unsigned int | ncells_ |
std::vector< std::array< int, 8 > > | neighbours_ |
std::vector< float > | phi_ |
std::vector< float > | phiWidth_ |
Definition at line 51 of file CaloClusterer.h.
l1tpf_calo::Phase1GridBase::Phase1GridBase | ( | int | nEta, |
int | nPhi, | ||
int | ietaCoarse, | ||
int | ietaVeryCoarse, | ||
const float * | towerEtas | ||
) |
Definition at line 19 of file CaloClusterer.cc.
References funct::abs(), cms::cuda::assert(), begin, cell_map_, end, l1tpf_calo::Grid::eta_, l1tpf_calo::Grid::etaWidth_, ntuplemaker::fill, l1tpf_calo::Grid::ieta_, ietaCoarse_, ietaVeryCoarse_, imove(), createfilelist::int, l1tpf_calo::Grid::iphi_, M_PI, l1tpf_calo::Grid::ncells_, l1tpf_calo::Grid::neighbours_, nEta_, nPhi_, l1tpf_calo::Grid::phi_, l1tpf_calo::Grid::phiWidth_, towerEtas_, and valid_ieta_iphi().
|
overridevirtual |
Implements l1tpf_calo::Grid.
Definition at line 77 of file CaloClusterer.cc.
References funct::abs(), cms::cuda::assert(), HLT_2018_cff::distance, PVValHelper::eta, LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, cuda_std::lower_bound(), M_PI, and reco::reduceRange().
|
inline |
Definition at line 56 of file CaloClusterer.h.
References cell_map_, l1tpf_calo::Grid::ieta(), l1tpf_calo::Grid::iphi(), and nEta_.
|
protected |
Definition at line 118 of file CaloClusterer.cc.
References cms::cuda::assert(), LEDCalibrationChannels::ieta, and LEDCalibrationChannels::iphi.
Referenced by Phase1GridBase().
|
inlineprotected |
Definition at line 63 of file CaloClusterer.h.
References funct::abs(), l1tpf_calo::Grid::ieta(), ietaCoarse_, ietaVeryCoarse_, and l1tpf_calo::Grid::iphi().
Referenced by Phase1GridBase().
|
protected |
Definition at line 61 of file CaloClusterer.h.
Referenced by ifind_cell(), and Phase1GridBase().
|
protected |
Definition at line 59 of file CaloClusterer.h.
Referenced by Phase1GridBase(), and valid_ieta_iphi().
|
protected |
Definition at line 59 of file CaloClusterer.h.
Referenced by Phase1GridBase(), and valid_ieta_iphi().
|
protected |
Definition at line 59 of file CaloClusterer.h.
Referenced by ifind_cell(), and Phase1GridBase().
|
protected |
Definition at line 59 of file CaloClusterer.h.
Referenced by Phase1GridBase().
|
protected |
Definition at line 60 of file CaloClusterer.h.
Referenced by Phase1GridBase().