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 1599 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 1605 of file Phase2L1CaloEGammaUtils.h.

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

Referenced by p2eg::algo_top().

1605  {
1606  for (unsigned int iEta = 0; iEta < N_GCTETA; iEta++) {
1607  for (unsigned int iPhi = 0; iPhi < N_GCTPHI; iPhi++) {
1608  GCTtower_t thisFullTower = GCTtower[iEta][iPhi];
1609  gctFullTowers->push_back(thisFullTower.createFullTowerFromCardIdx(nGCTCard, iEta, iPhi));
1610  }
1611  }
1612  }
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 1601 of file Phase2L1CaloEGammaUtils.h.

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