CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HcalRecoParam Class Reference

#include <HcalRecoParam.h>

Public Member Functions

bool correctForLeadingEdge () const
 
bool correctForPhaseContainment () const
 
bool correctForTimeslew () const
 
float correctionPhaseNS () const
 
bool correctTiming () const
 
unsigned int firstAuxTS () const
 
unsigned int firstSample () const
 
 HcalRecoParam ()
 
 HcalRecoParam (unsigned long fId, unsigned int fParam1, unsigned int fParam2)
 
unsigned int leakCorrectionID () const
 
unsigned int noiseFlaggingID () const
 
unsigned int packingScheme () const
 
unsigned int param1 () const
 
unsigned int param2 () const
 
unsigned int pileupCleaningID () const
 
unsigned int pulseShapeID () const
 
uint32_t rawId () const
 
unsigned int samplesToAdd () const
 
unsigned int specialCaseID () const
 
unsigned int timeslewCorrectionID () const
 
bool useLeakCorrection () const
 

Private Attributes

uint32_t mId
 
uint32_t mParam1
 
uint32_t mParam2
 

Detailed Description

Author
Radek Ofierzynski POOL object to store timeslice reco values

mParam1, mParam2 re-define to keep more parameters 28-Oct-2011 sk.

Definition at line 15 of file HcalRecoParam.h.

Constructor & Destructor Documentation

HcalRecoParam::HcalRecoParam ( )
inline

Definition at line 17 of file HcalRecoParam.h.

17 :mId(0), mParam1(0), mParam2(0) {}
uint32_t mId
Definition: HcalRecoParam.h:46
uint32_t mParam2
Definition: HcalRecoParam.h:48
uint32_t mParam1
Definition: HcalRecoParam.h:47
HcalRecoParam::HcalRecoParam ( unsigned long  fId,
unsigned int  fParam1,
unsigned int  fParam2 
)
inline

Definition at line 19 of file HcalRecoParam.h.

19  :
20  mId(fId), mParam1(fParam1), mParam2(fParam2) {}
uint32_t mId
Definition: HcalRecoParam.h:46
uint32_t mParam2
Definition: HcalRecoParam.h:48
uint32_t mParam1
Definition: HcalRecoParam.h:47

Member Function Documentation

bool HcalRecoParam::correctForLeadingEdge ( ) const
inline

Definition at line 28 of file HcalRecoParam.h.

References mParam1.

28 {return (mParam1>>1)&0x1;}
uint32_t mParam1
Definition: HcalRecoParam.h:47
bool HcalRecoParam::correctForPhaseContainment ( ) const
inline

Definition at line 27 of file HcalRecoParam.h.

References mParam1.

Referenced by HcalHitReconstructor::produce().

27 {return mParam1&0x1;}
uint32_t mParam1
Definition: HcalRecoParam.h:47
bool HcalRecoParam::correctForTimeslew ( ) const
inline

Definition at line 36 of file HcalRecoParam.h.

References mParam2.

Referenced by HcalHitReconstructor::produce().

36 {return (mParam2>>5)&0x1;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
float HcalRecoParam::correctionPhaseNS ( ) const
inline

Definition at line 29 of file HcalRecoParam.h.

References mParam1.

Referenced by HcalHitReconstructor::produce().

29 {return ((mParam1>>2)&0xFF)/4.-32.;}
uint32_t mParam1
Definition: HcalRecoParam.h:47
bool HcalRecoParam::correctTiming ( ) const
inline

Definition at line 38 of file HcalRecoParam.h.

References mParam2.

Referenced by HcalHitReconstructor::produce().

38 {return (mParam2>>10)&0x1;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::firstAuxTS ( ) const
inline

Definition at line 39 of file HcalRecoParam.h.

References mParam2.

Referenced by HcalHitReconstructor::produce().

39 { return (mParam2>>11)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::firstSample ( ) const
inline

Definition at line 30 of file HcalRecoParam.h.

References mParam1.

Referenced by HcalSimpleReconstructor::process(), HcalSimpleReconstructor::processUpgrade(), and HcalHitReconstructor::produce().

30 {return (mParam1<10)?(mParam1):((mParam1>>10)&0xF);}
uint32_t mParam1
Definition: HcalRecoParam.h:47
unsigned int HcalRecoParam::leakCorrectionID ( ) const
inline

Definition at line 35 of file HcalRecoParam.h.

References mParam2.

35 {return (mParam2>>1)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::noiseFlaggingID ( ) const
inline

Definition at line 41 of file HcalRecoParam.h.

References mParam2.

41 {return (mParam2>>19)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::packingScheme ( ) const
inline

Definition at line 43 of file HcalRecoParam.h.

References mParam2.

43 {return (mParam2>>27)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::param1 ( ) const
inline

Definition at line 24 of file HcalRecoParam.h.

References mParam1.

24 {return mParam1;}
uint32_t mParam1
Definition: HcalRecoParam.h:47
unsigned int HcalRecoParam::param2 ( ) const
inline

Definition at line 25 of file HcalRecoParam.h.

References mParam2.

25 {return mParam2;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::pileupCleaningID ( ) const
inline

Definition at line 42 of file HcalRecoParam.h.

References mParam2.

Referenced by HcalHitReconstructor::produce().

42 {return (mParam2>>23)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::pulseShapeID ( ) const
inline

Definition at line 32 of file HcalRecoParam.h.

References mParam1.

32 {return (mParam1>>18)&0x1FF;}
uint32_t mParam1
Definition: HcalRecoParam.h:47
uint32_t HcalRecoParam::rawId ( ) const
inline

Definition at line 22 of file HcalRecoParam.h.

References mId.

22 {return mId;}
uint32_t mId
Definition: HcalRecoParam.h:46
unsigned int HcalRecoParam::samplesToAdd ( ) const
inline

Definition at line 31 of file HcalRecoParam.h.

References mParam1, and mParam2.

Referenced by HcalSimpleReconstructor::process(), HcalSimpleReconstructor::processUpgrade(), and HcalHitReconstructor::produce().

31 {return (mParam1<10)?(mParam2):((mParam1>>14)&0xF);}
uint32_t mParam2
Definition: HcalRecoParam.h:48
uint32_t mParam1
Definition: HcalRecoParam.h:47
unsigned int HcalRecoParam::specialCaseID ( ) const
inline

Definition at line 40 of file HcalRecoParam.h.

References mParam2.

40 {return (mParam2>>15)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
unsigned int HcalRecoParam::timeslewCorrectionID ( ) const
inline

Definition at line 37 of file HcalRecoParam.h.

References mParam2.

37 {return (mParam2>>6)&0xF;}
uint32_t mParam2
Definition: HcalRecoParam.h:48
bool HcalRecoParam::useLeakCorrection ( ) const
inline

Definition at line 34 of file HcalRecoParam.h.

References mParam2.

Referenced by HcalHitReconstructor::produce().

34 {return mParam2&0x1;}
uint32_t mParam2
Definition: HcalRecoParam.h:48

Member Data Documentation

uint32_t HcalRecoParam::mId
private

Definition at line 46 of file HcalRecoParam.h.

Referenced by rawId().

uint32_t HcalRecoParam::mParam1
private
uint32_t HcalRecoParam::mParam2
private