CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
HcalChannelProperties Struct Reference

#include <HcalChannelProperties.h>

Public Member Functions

 HcalChannelProperties ()
 
 HcalChannelProperties (const HcalCalibrations *i_calib, const HcalRecoParam *i_paramTs, const HcalQIECoder *i_channelCoder, const HcalQIEShape *i_shape, const HcalSiPMParameter *i_siPMParameter, const std::array< HcalPipelinePedestalAndGain, 4 > &i_pedsAndGains, const bool i_taggedBadByDb)
 

Public Attributes

const HcalCalibrationscalib
 
const HcalQIECoderchannelCoder
 
const HcalRecoParamparamTs
 
std::array< HcalPipelinePedestalAndGain, 4 > pedsAndGains
 
const HcalQIEShapeshape
 
const HcalSiPMParametersiPMParameter
 
bool taggedBadByDb
 

Detailed Description

Definition at line 18 of file HcalChannelProperties.h.

Constructor & Destructor Documentation

◆ HcalChannelProperties() [1/2]

HcalChannelProperties::HcalChannelProperties ( )
inline

Definition at line 19 of file HcalChannelProperties.h.

20  : calib(nullptr),
21  paramTs(nullptr),
22  channelCoder(nullptr),
23  shape(nullptr),
24  siPMParameter(nullptr),
25  taggedBadByDb(false) {}

◆ HcalChannelProperties() [2/2]

HcalChannelProperties::HcalChannelProperties ( const HcalCalibrations i_calib,
const HcalRecoParam i_paramTs,
const HcalQIECoder i_channelCoder,
const HcalQIEShape i_shape,
const HcalSiPMParameter i_siPMParameter,
const std::array< HcalPipelinePedestalAndGain, 4 > &  i_pedsAndGains,
const bool  i_taggedBadByDb 
)
inline

Definition at line 27 of file HcalChannelProperties.h.

34  : calib(i_calib),
35  paramTs(i_paramTs),
36  channelCoder(i_channelCoder),
37  shape(i_shape),
38  siPMParameter(i_siPMParameter),
39  pedsAndGains(i_pedsAndGains),
40  taggedBadByDb(i_taggedBadByDb) {
41  assert(calib);
42  assert(paramTs);
44  assert(shape);
45  /* siPMParameter is allowed to be nullptr for QIE8 */
46  }

References cms::cuda::assert(), channelCoder, paramTs, and shape.

Member Data Documentation

◆ calib

const HcalCalibrations* HcalChannelProperties::calib

Definition at line 48 of file HcalChannelProperties.h.

Referenced by HBHEPhase1Reconstructor::processData().

◆ channelCoder

const HcalQIECoder* HcalChannelProperties::channelCoder

◆ paramTs

const HcalRecoParam* HcalChannelProperties::paramTs

◆ pedsAndGains

std::array<HcalPipelinePedestalAndGain, 4> HcalChannelProperties::pedsAndGains

◆ shape

const HcalQIEShape* HcalChannelProperties::shape

◆ siPMParameter

const HcalSiPMParameter* HcalChannelProperties::siPMParameter

Definition at line 52 of file HcalChannelProperties.h.

Referenced by HBHEPhase1Reconstructor::processData().

◆ taggedBadByDb

bool HcalChannelProperties::taggedBadByDb

Definition at line 54 of file HcalChannelProperties.h.

Referenced by HBHEPhase1Reconstructor::processData().

HcalChannelProperties::channelCoder
const HcalQIECoder * channelCoder
Definition: HcalChannelProperties.h:50
HcalChannelProperties::shape
const HcalQIEShape * shape
Definition: HcalChannelProperties.h:51
HcalChannelProperties::pedsAndGains
std::array< HcalPipelinePedestalAndGain, 4 > pedsAndGains
Definition: HcalChannelProperties.h:53
HcalChannelProperties::paramTs
const HcalRecoParam * paramTs
Definition: HcalChannelProperties.h:49
cms::cuda::assert
assert(be >=bs)
HcalChannelProperties::taggedBadByDb
bool taggedBadByDb
Definition: HcalChannelProperties.h:54
calib
Definition: CalibElectron.h:12
HcalChannelProperties::calib
const HcalCalibrations * calib
Definition: HcalChannelProperties.h:48
HcalChannelProperties::siPMParameter
const HcalSiPMParameter * siPMParameter
Definition: HcalChannelProperties.h:52