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 ( )

Definition at line 8 of file HcalTPParameters.cc.

8 : version_(0), adcCut_(0), tdcMask_(0), tbits_(0), auxi1_(0), auxi2_(0) {}

◆ ~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.

21 { return adcCut_; }

References adcCut_.

◆ getAuxi1()

int HcalTPParameters::getAuxi1 ( ) const
inline

get Axiliary words

Definition at line 27 of file HcalTPParameters.h.

27 { return auxi1_; }

References auxi1_.

◆ getAuxi2()

int HcalTPParameters::getAuxi2 ( ) const
inline

Definition at line 28 of file HcalTPParameters.h.

28 { return auxi2_; }

References auxi2_.

◆ getFGVersionHBHE()

int HcalTPParameters::getFGVersionHBHE ( ) const
inline

get FineGrain Algorithm Version for HBHE

Definition at line 19 of file HcalTPParameters.h.

19 { return version_; }

References version_.

Referenced by HcalTriggerPrimitiveAlgo::run().

◆ getHFTriggerInfo()

uint32_t HcalTPParameters::getHFTriggerInfo ( ) const
inline

get Self Trigger bits

Definition at line 25 of file HcalTPParameters.h.

25 { return tbits_; }

References tbits_.

◆ getTDCMaskHF()

uint64_t HcalTPParameters::getTDCMaskHF ( ) const
inline

get TDC mask for HF

Definition at line 23 of file HcalTPParameters.h.

23 { return tdcMask_; }

References 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.

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

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

Referenced by HcalDbHardcode::makeHardcodeTPParameters().

◆ 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().

HcalTPParameters::tdcMask_
uint64_t tdcMask_
Definition: HcalTPParameters.h:33
HcalTPParameters::adcCut_
int adcCut_
Definition: HcalTPParameters.h:32
HcalTPParameters::tbits_
uint32_t tbits_
Definition: HcalTPParameters.h:34
HcalTPParameters::auxi1_
int auxi1_
Definition: HcalTPParameters.h:35
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
HcalTPParameters::version_
int version_
Definition: HcalTPParameters.h:31
HcalTPParameters::auxi2_
int auxi2_
Definition: HcalTPParameters.h:36