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 1658 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 1664 of file Phase2L1CaloEGammaUtils.h.

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

Referenced by p2eg::algo_top().

1664  {
1665  for (unsigned int iEta = 0; iEta < N_GCTETA; iEta++) {
1666  for (unsigned int iPhi = 0; iPhi < N_GCTPHI; iPhi++) {
1667  GCTtower_t thisFullTower = GCTtower[iEta][iPhi];
1668  gctFullTowers->push_back(thisFullTower.createFullTowerFromCardIdx(nGCTCard, iEta, iPhi));
1669  }
1670  }
1671  }
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 1660 of file Phase2L1CaloEGammaUtils.h.

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