CMS 3D CMS Logo

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

#include <HcalTPParameters.h>

Public Member Functions

int getADCThresholdHF () const
 get ADC threshold fof TDC mask of HF More...
 
int getAuxi1 () const
 get Axiliary words More...
 
int getAuxi2 () const
 
int getFGVersionHBHE () const
 get FineGrain Algorithm Version for HBHE More...
 
uint32_t getHFTriggerInfo () const
 get Self Trigger bits More...
 
uint64_t getTDCMaskHF () const
 get TDC mask for HF More...
 
 HcalTPParameters ()
 
void loadObject (int version, int adcCut, uint64_t tdcMask, uint32_t tbits, int auxi1, int auxi2)
 
 ~HcalTPParameters ()
 

Private Member Functions

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

Private Attributes

int adcCut_
 
int auxi1_
 
int auxi2_
 
uint32_t tbits_
 
uint64_t tdcMask_
 
int version_
 

Friends

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

Detailed Description

Definition at line 10 of file HcalTPParameters.h.

Constructor & Destructor Documentation

◆ HcalTPParameters()

HcalTPParameters::HcalTPParameters ( )

◆ ~HcalTPParameters()

HcalTPParameters::~HcalTPParameters ( )

Definition at line 10 of file HcalTPParameters.cc.

10 {}

Member Function Documentation

◆ getADCThresholdHF()

int HcalTPParameters::getADCThresholdHF ( ) const
inline

get ADC threshold fof TDC mask of HF

Definition at line 21 of file HcalTPParameters.h.

References adcCut_.

21 { return adcCut_; }

◆ getAuxi1()

int HcalTPParameters::getAuxi1 ( ) const
inline

get Axiliary words

Definition at line 27 of file HcalTPParameters.h.

References auxi1_.

27 { return auxi1_; }

◆ getAuxi2()

int HcalTPParameters::getAuxi2 ( ) const
inline

Definition at line 28 of file HcalTPParameters.h.

References auxi2_.

28 { return auxi2_; }

◆ getFGVersionHBHE()

int HcalTPParameters::getFGVersionHBHE ( ) const
inline

get FineGrain Algorithm Version for HBHE

Definition at line 19 of file HcalTPParameters.h.

References version_.

Referenced by HcalTriggerPrimitiveAlgo::run().

19 { return version_; }

◆ getHFTriggerInfo()

uint32_t HcalTPParameters::getHFTriggerInfo ( ) const
inline

get Self Trigger bits

Definition at line 25 of file HcalTPParameters.h.

References tbits_.

25 { return tbits_; }

◆ getTDCMaskHF()

uint64_t HcalTPParameters::getTDCMaskHF ( ) const
inline

get TDC mask for HF

Definition at line 23 of file HcalTPParameters.h.

References tdcMask_.

23 { return tdcMask_; }

◆ loadObject()

void HcalTPParameters::loadObject ( int  version,
int  adcCut,
uint64_t  tdcMask,
uint32_t  tbits,
int  auxi1,
int  auxi2 
)

Definition at line 12 of file HcalTPParameters.cc.

References adcCut_, auxi1_, auxi2_, tbits_, tdcMask_, BeamSplash_cfg::version, and version_.

Referenced by HcalDbHardcode::makeHardcodeTPParameters().

12  {
13  version_ = version;
14  adcCut_ = adcCut;
15  tdcMask_ = tdcMask;
16  tbits_ = tbits;
17  auxi1_ = auxi1;
18  auxi2_ = auxi2;
19 }

◆ serialize()

template<class Archive >
void HcalTPParameters::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 38 of file HcalTPParameters.h.

◆ cond::serialization::access

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

Definition at line 38 of file HcalTPParameters.h.

Member Data Documentation

◆ adcCut_

int HcalTPParameters::adcCut_
private

Definition at line 32 of file HcalTPParameters.h.

Referenced by getADCThresholdHF(), and loadObject().

◆ auxi1_

int HcalTPParameters::auxi1_
private

Definition at line 35 of file HcalTPParameters.h.

Referenced by getAuxi1(), and loadObject().

◆ auxi2_

int HcalTPParameters::auxi2_
private

Definition at line 36 of file HcalTPParameters.h.

Referenced by getAuxi2(), and loadObject().

◆ tbits_

uint32_t HcalTPParameters::tbits_
private

Definition at line 34 of file HcalTPParameters.h.

Referenced by getHFTriggerInfo(), and loadObject().

◆ tdcMask_

uint64_t HcalTPParameters::tdcMask_
private

Definition at line 33 of file HcalTPParameters.h.

Referenced by getTDCMaskHF(), and loadObject().

◆ version_

int HcalTPParameters::version_
private

Definition at line 31 of file HcalTPParameters.h.

Referenced by getFGVersionHBHE(), and loadObject().