CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
p2eg::GCTintTowers_t Class Reference

#include <Phase2L1CaloEGammaUtils.h>

Public Member Functions

void writeToPFOutput (int nGCTCard, std::unique_ptr< l1tp2::CaloTowerCollection > const &gctFullTowers)
 

Public Attributes

GCTtower_t GCTtower [N_GCTETA][N_GCTPHI]
 

Detailed Description

Definition at line 1577 of file Phase2L1CaloEGammaUtils.h.

Member Function Documentation

◆ writeToPFOutput()

void p2eg::GCTintTowers_t::writeToPFOutput ( int  nGCTCard,
std::unique_ptr< l1tp2::CaloTowerCollection > const &  gctFullTowers 
)
inline

Definition at line 1583 of file Phase2L1CaloEGammaUtils.h.

References p2eg::GCTtower_t::createFullTowerFromCardIdx(), l1tPhase2CaloJetEmulator_cfi::gctFullTowers, GCTtower, l1tPhase2CaloJetEmulator_cfi::iEta, p2eg::N_GCTETA, and p2eg::N_GCTPHI.

Referenced by p2eg::algo_top().

1583  {
1584  for (unsigned int iEta = 0; iEta < N_GCTETA; iEta++) {
1585  for (unsigned int iPhi = 0; iPhi < N_GCTPHI; iPhi++) {
1586  GCTtower_t thisFullTower = GCTtower[iEta][iPhi];
1587  gctFullTowers->push_back(thisFullTower.createFullTowerFromCardIdx(nGCTCard, iEta, iPhi));
1588  }
1589  }
1590  }
GCTtower_t GCTtower[N_GCTETA][N_GCTPHI]
static constexpr int N_GCTPHI
static constexpr int N_GCTETA

Member Data Documentation

◆ GCTtower

GCTtower_t p2eg::GCTintTowers_t::GCTtower[N_GCTETA][N_GCTPHI]

Definition at line 1579 of file Phase2L1CaloEGammaUtils.h.

Referenced by p2eg::getFullTowers(), and writeToPFOutput().