CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
HGCalCaptureBlockEmulatorInfo Class Reference

Map of ECON-D emulator truth information within a capture block. More...

#include <HGCalRawDataEmulatorInfo.h>

Public Member Functions

void addECONDEmulatedInfo (unsigned int, const HGCalECONDEmulatorInfo &)
 
void clear ()
 
 HGCalCaptureBlockEmulatorInfo ()=default
 

Private Attributes

std::unordered_map< unsigned int, HGCalECONDEmulatorInfoecond_info_
 

Detailed Description

Map of ECON-D emulator truth information within a capture block.

Definition at line 47 of file HGCalRawDataEmulatorInfo.h.

Constructor & Destructor Documentation

◆ HGCalCaptureBlockEmulatorInfo()

HGCalCaptureBlockEmulatorInfo::HGCalCaptureBlockEmulatorInfo ( )
default

Member Function Documentation

◆ addECONDEmulatedInfo()

void HGCalCaptureBlockEmulatorInfo::addECONDEmulatedInfo ( unsigned int  econd_id,
const HGCalECONDEmulatorInfo econd_info 
)

Definition at line 58 of file HGCalRawDataEmulatorInfo.cc.

References econd_info_.

Referenced by hgcal::HGCalFrameGenerator::produceECONEvent().

59  {
60  econd_info_[econd_id] = econd_info;
61 }
std::unordered_map< unsigned int, HGCalECONDEmulatorInfo > econd_info_

◆ clear()

void HGCalCaptureBlockEmulatorInfo::clear ( void  )
inline

Definition at line 51 of file HGCalRawDataEmulatorInfo.h.

References econd_info_.

51 { econd_info_.clear(); }
std::unordered_map< unsigned int, HGCalECONDEmulatorInfo > econd_info_

Member Data Documentation

◆ econd_info_

std::unordered_map<unsigned int, HGCalECONDEmulatorInfo> HGCalCaptureBlockEmulatorInfo::econd_info_
private

Definition at line 56 of file HGCalRawDataEmulatorInfo.h.

Referenced by addECONDEmulatedInfo(), and clear().