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

Definition at line 8 of file HcalTPParameters.cc.

HcalTPParameters::~HcalTPParameters ( )

Definition at line 12 of file HcalTPParameters.cc.

12 { }

Member Function Documentation

int HcalTPParameters::getADCThresholdHF ( ) const
inline

get ADC threshold fof TDC mask of HF

Definition at line 23 of file HcalTPParameters.h.

References adcCut_.

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), and HcalTriggerPrimitiveAlgo::validChannel().

23 {return adcCut_;}
int HcalTPParameters::getAuxi1 ( ) const
inline

get Axiliary words

Definition at line 29 of file HcalTPParameters.h.

References auxi1_.

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >().

29 {return auxi1_;}
int HcalTPParameters::getAuxi2 ( ) const
inline

Definition at line 30 of file HcalTPParameters.h.

References auxi2_.

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >().

30 {return auxi2_;}
int HcalTPParameters::getFGVersionHBHE ( ) const
inline

get FineGrain Algorithm Version for HBHE

Definition at line 21 of file HcalTPParameters.h.

References version_.

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), and HcalTriggerPrimitiveAlgo::run().

21 {return version_;}
uint32_t HcalTPParameters::getHFTriggerInfo ( ) const
inline

get Self Trigger bits

Definition at line 27 of file HcalTPParameters.h.

References tbits_.

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >().

27 {return tbits_;}
uint64_t HcalTPParameters::getTDCMaskHF ( ) const
inline

get TDC mask for HF

Definition at line 25 of file HcalTPParameters.h.

References tdcMask_.

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >().

25 {return tdcMask_;}
void HcalTPParameters::loadObject ( int  version,
int  adcCut,
uint64_t  tdcMask,
uint32_t  tbits,
int  auxi1,
int  auxi2 
)

Definition at line 14 of file HcalTPParameters.cc.

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

Referenced by HcalDbASCIIIO::createObject< HcalSiPMCharacteristics >(), and HcalDbHardcode::makeHardcodeTPParameters().

15  {
16  version_ = version;
17  adcCut_ = adcCut;
18  tdcMask_ = tdcMask;
19  tbits_ = tbits;
20  auxi1_ = auxi1;
21  auxi2_ = auxi2;
22 }
template<class Archive >
void HcalTPParameters::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 41 of file HcalTPParameters.h.

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

Definition at line 41 of file HcalTPParameters.h.

Member Data Documentation

int HcalTPParameters::adcCut_
private

Definition at line 35 of file HcalTPParameters.h.

Referenced by getADCThresholdHF(), and loadObject().

int HcalTPParameters::auxi1_
private

Definition at line 38 of file HcalTPParameters.h.

Referenced by getAuxi1(), and loadObject().

int HcalTPParameters::auxi2_
private

Definition at line 39 of file HcalTPParameters.h.

Referenced by getAuxi2(), and loadObject().

uint32_t HcalTPParameters::tbits_
private

Definition at line 37 of file HcalTPParameters.h.

Referenced by getHFTriggerInfo(), and loadObject().

uint64_t HcalTPParameters::tdcMask_
private

Definition at line 36 of file HcalTPParameters.h.

Referenced by getTDCMaskHF(), and loadObject().

int HcalTPParameters::version_
private

Definition at line 34 of file HcalTPParameters.h.

Referenced by getFGVersionHBHE(), and loadObject().