#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 (unsigned long fId, unsigned int fParam1, unsigned int fParam2) | |
HcalRecoParam () | |
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 |
mParam1, mParam2 re-define to keep more parameters 28-Oct-2011 sk.
Definition at line 15 of file HcalRecoParam.h.
HcalRecoParam::HcalRecoParam | ( | ) | [inline] |
Definition at line 17 of file HcalRecoParam.h.
HcalRecoParam::HcalRecoParam | ( | unsigned long | fId, |
unsigned int | fParam1, | ||
unsigned int | fParam2 | ||
) | [inline] |
Definition at line 19 of file HcalRecoParam.h.
bool HcalRecoParam::correctForLeadingEdge | ( | ) | const [inline] |
bool HcalRecoParam::correctForPhaseContainment | ( | ) | const [inline] |
Definition at line 27 of file HcalRecoParam.h.
References mParam1.
Referenced by HcalHitReconstructor::produce().
{return mParam1&0x1;}
bool HcalRecoParam::correctForTimeslew | ( | ) | const [inline] |
Definition at line 36 of file HcalRecoParam.h.
References mParam2.
Referenced by HcalHitReconstructor::produce().
{return (mParam2>>5)&0x1;}
float HcalRecoParam::correctionPhaseNS | ( | ) | const [inline] |
Definition at line 29 of file HcalRecoParam.h.
References mParam1.
Referenced by HcalHitReconstructor::produce().
{return ((mParam1>>2)&0xFF)/4.-32.;}
bool HcalRecoParam::correctTiming | ( | ) | const [inline] |
Definition at line 38 of file HcalRecoParam.h.
References mParam2.
Referenced by HcalHitReconstructor::produce().
{return (mParam2>>10)&0x1;}
unsigned int HcalRecoParam::firstAuxTS | ( | ) | const [inline] |
Definition at line 39 of file HcalRecoParam.h.
References mParam2.
Referenced by HcalHitReconstructor::produce().
{ return (mParam2>>11)&0xF;}
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().
unsigned int HcalRecoParam::leakCorrectionID | ( | ) | const [inline] |
unsigned int HcalRecoParam::noiseFlaggingID | ( | ) | const [inline] |
unsigned int HcalRecoParam::packingScheme | ( | ) | const [inline] |
unsigned int HcalRecoParam::param1 | ( | ) | const [inline] |
unsigned int HcalRecoParam::param2 | ( | ) | const [inline] |
unsigned int HcalRecoParam::pileupCleaningID | ( | ) | const [inline] |
Definition at line 42 of file HcalRecoParam.h.
References mParam2.
Referenced by HcalHitReconstructor::produce().
{return (mParam2>>23)&0xF;}
unsigned int HcalRecoParam::pulseShapeID | ( | ) | const [inline] |
uint32_t HcalRecoParam::rawId | ( | ) | const [inline] |
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().
unsigned int HcalRecoParam::specialCaseID | ( | ) | const [inline] |
unsigned int HcalRecoParam::timeslewCorrectionID | ( | ) | const [inline] |
bool HcalRecoParam::useLeakCorrection | ( | ) | const [inline] |
Definition at line 34 of file HcalRecoParam.h.
References mParam2.
Referenced by HcalHitReconstructor::produce().
{return mParam2&0x1;}
uint32_t HcalRecoParam::mId [private] |
Definition at line 46 of file HcalRecoParam.h.
Referenced by rawId().
uint32_t HcalRecoParam::mParam1 [private] |
Definition at line 47 of file HcalRecoParam.h.
Referenced by correctForLeadingEdge(), correctForPhaseContainment(), correctionPhaseNS(), firstSample(), param1(), pulseShapeID(), and samplesToAdd().
uint32_t HcalRecoParam::mParam2 [private] |
Definition at line 48 of file HcalRecoParam.h.
Referenced by correctForTimeslew(), correctTiming(), firstAuxTS(), leakCorrectionID(), noiseFlaggingID(), packingScheme(), param2(), pileupCleaningID(), samplesToAdd(), specialCaseID(), timeslewCorrectionID(), and useLeakCorrection().