CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell Class Reference

Public Member Functions

void add (const l1t::HGCalTriggerCell &c, uint32_t stcId)
 
void addToFractionSum (float frac)
 
float getFractionSum () const
 
uint32_t getMaxId () const
 
uint32_t getSTCId () const
 
int getSumHwPt () const
 
float getSumMipPt () const
 
float getSumPt () const
 
float getTCpt (uint32_t tcid) const
 
int size () const
 
 SuperTriggerCell ()
 

Private Attributes

float fracsum_
 
uint32_t maxId_
 
float maxMipPt_
 
uint32_t stcId_
 
int sumHwPt_
 
float sumMipPt_
 
float sumPt_
 
std::map< uint32_t, float > tc_pts_
 

Detailed Description

Definition at line 60 of file HGCalConcentratorSuperTriggerCellImpl.h.

Constructor & Destructor Documentation

◆ SuperTriggerCell()

HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::SuperTriggerCell ( )
inline

Member Function Documentation

◆ add()

void HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::add ( const l1t::HGCalTriggerCell c,
uint32_t  stcId 
)
inline

◆ addToFractionSum()

void HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::addToFractionSum ( float  frac)
inline

Definition at line 84 of file HGCalConcentratorSuperTriggerCellImpl.h.

References Exception, DivergingColor::frac, and fracsum_.

84  {
85  fracsum_ += frac;
86  if (fracsum_ > 1) {
87  throw cms::Exception("HGCalConcentratorSuperTriggerCellError")
88  << "Sum of Trigger Cell fractions should not be greater than 1";
89  }
90  }

◆ getFractionSum()

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getFractionSum ( ) const
inline

◆ getMaxId()

uint32_t HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getMaxId ( ) const
inline

◆ getSTCId()

uint32_t HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSTCId ( ) const
inline

◆ getSumHwPt()

int HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumHwPt ( ) const
inline

◆ getSumMipPt()

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumMipPt ( ) const
inline

◆ getSumPt()

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getSumPt ( ) const
inline

◆ getTCpt()

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::getTCpt ( uint32_t  tcid) const
inline

◆ size()

int HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::size ( void  ) const
inline

Member Data Documentation

◆ fracsum_

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::fracsum_
private

Definition at line 62 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by addToFractionSum(), and getFractionSum().

◆ maxId_

uint32_t HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::maxId_
private

Definition at line 64 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add(), and getMaxId().

◆ maxMipPt_

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::maxMipPt_
private

Definition at line 62 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add().

◆ stcId_

uint32_t HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::stcId_
private

Definition at line 64 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add(), and getSTCId().

◆ sumHwPt_

int HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::sumHwPt_
private

Definition at line 63 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add(), and getSumHwPt().

◆ sumMipPt_

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::sumMipPt_
private

Definition at line 62 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add(), and getSumMipPt().

◆ sumPt_

float HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::sumPt_
private

Definition at line 62 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add(), and getSumPt().

◆ tc_pts_

std::map<uint32_t, float> HGCalConcentratorSuperTriggerCellImpl::SuperTriggerCell::tc_pts_
private

Definition at line 65 of file HGCalConcentratorSuperTriggerCellImpl.h.

Referenced by add(), getTCpt(), and size().