ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
CaloCalibClusterMomentsMaker2::MyCellInfo Class Reference

Class to store cluster number and weight for calorimeter cells. More...

#include <CaloCalibClusterMomentsMaker2.h>

Collaboration diagram for CaloCalibClusterMomentsMaker2::MyCellInfo:

Public Member Functions

 MyCellInfo (int iClus, double w)
 
void Add (const MyCellInfo &other)
 

Public Attributes

std::vector< std::pair< int, double > > m_ClusWeights
 

Detailed Description

Class to store cluster number and weight for calorimeter cells.

Definition at line 58 of file CaloCalibClusterMomentsMaker2.h.

Constructor & Destructor Documentation

◆ MyCellInfo()

CaloCalibClusterMomentsMaker2::MyCellInfo::MyCellInfo ( int  iClus,
double  w 
)
inline

Definition at line 60 of file CaloCalibClusterMomentsMaker2.h.

61  {
62  m_ClusWeights.emplace_back(iClus, w);
63  }

Member Function Documentation

◆ Add()

void CaloCalibClusterMomentsMaker2::MyCellInfo::Add ( const MyCellInfo other)
inline

Definition at line 64 of file CaloCalibClusterMomentsMaker2.h.

65  {
66  for (const std::pair<int, double>& p : other.m_ClusWeights) {
67  m_ClusWeights.push_back( p );
68  }
69  }

Member Data Documentation

◆ m_ClusWeights

std::vector<std::pair<int, double> > CaloCalibClusterMomentsMaker2::MyCellInfo::m_ClusWeights

Definition at line 70 of file CaloCalibClusterMomentsMaker2.h.


The documentation for this class was generated from the following file:
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
CaloCalibClusterMomentsMaker2::MyCellInfo::m_ClusWeights
std::vector< std::pair< int, double > > m_ClusWeights
Definition: CaloCalibClusterMomentsMaker2.h:70
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200