CMS 3D CMS Logo

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

#include <HcalLutMetadatum.h>

Public Member Functions

uint8_t getLutGranularity () const
 
uint8_t getOutputLutThreshold () const
 
float getRCalib () const
 
 HcalLutMetadatum ()
 
 HcalLutMetadatum (unsigned long fid, float rCalib, uint8_t lutGranularity, uint8_t outputLutThreshold)
 
uint32_t rawId () const
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

uint32_t mId
 
uint8_t mLutGranularity
 
uint8_t mOutputLutThreshold
 
float mRCalib
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 12 of file HcalLutMetadatum.h.

Constructor & Destructor Documentation

◆ HcalLutMetadatum() [1/2]

HcalLutMetadatum::HcalLutMetadatum ( )
inline

Definition at line 14 of file HcalLutMetadatum.h.

14 : mId(0), mRCalib(1.0) {}

◆ HcalLutMetadatum() [2/2]

HcalLutMetadatum::HcalLutMetadatum ( unsigned long  fid,
float  rCalib,
uint8_t  lutGranularity,
uint8_t  outputLutThreshold 
)
inline

Definition at line 15 of file HcalLutMetadatum.h.

16  : mId(fid), mRCalib(rCalib), mLutGranularity(lutGranularity), mOutputLutThreshold(outputLutThreshold) {}

Member Function Documentation

◆ getLutGranularity()

uint8_t HcalLutMetadatum::getLutGranularity ( ) const
inline

Definition at line 21 of file HcalLutMetadatum.h.

21 { return mLutGranularity; }

References mLutGranularity.

Referenced by CaloTPGTranscoderULUT::loadHCALCompress(), and HcaluLUTTPGCoder::update().

◆ getOutputLutThreshold()

uint8_t HcalLutMetadatum::getOutputLutThreshold ( ) const
inline

Definition at line 22 of file HcalLutMetadatum.h.

22 { return mOutputLutThreshold; }

References mOutputLutThreshold.

Referenced by CaloTPGTranscoderULUT::loadHCALCompress().

◆ getRCalib()

float HcalLutMetadatum::getRCalib ( ) const
inline

Definition at line 20 of file HcalLutMetadatum.h.

20 { return mRCalib; }

References mRCalib.

Referenced by HcaluLUTTPGCoder::update().

◆ rawId()

uint32_t HcalLutMetadatum::rawId ( ) const
inline

Definition at line 18 of file HcalLutMetadatum.h.

18 { return mId; }

References mId.

◆ serialize()

template<class Archive >
void HcalLutMetadatum::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 30 of file HcalLutMetadatum.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 30 of file HcalLutMetadatum.h.

Member Data Documentation

◆ mId

uint32_t HcalLutMetadatum::mId
private

Definition at line 25 of file HcalLutMetadatum.h.

Referenced by rawId().

◆ mLutGranularity

uint8_t HcalLutMetadatum::mLutGranularity
private

Definition at line 27 of file HcalLutMetadatum.h.

Referenced by getLutGranularity().

◆ mOutputLutThreshold

uint8_t HcalLutMetadatum::mOutputLutThreshold
private

Definition at line 28 of file HcalLutMetadatum.h.

Referenced by getOutputLutThreshold().

◆ mRCalib

float HcalLutMetadatum::mRCalib
private

Definition at line 26 of file HcalLutMetadatum.h.

Referenced by getRCalib().

HcalLutMetadatum::mId
uint32_t mId
Definition: HcalLutMetadatum.h:25
HcalLutMetadatum::mLutGranularity
uint8_t mLutGranularity
Definition: HcalLutMetadatum.h:27
HcalLutMetadatum::mOutputLutThreshold
uint8_t mOutputLutThreshold
Definition: HcalLutMetadatum.h:28
HcalLutMetadatum::mRCalib
float mRCalib
Definition: HcalLutMetadatum.h:26