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
HcalFlagHFDigiTimeParam Class Reference

#include <HcalFlagHFDigiTimeParam.h>

Public Member Functions

 HcalFlagHFDigiTimeParam ()
 
 HcalFlagHFDigiTimeParam (unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd, unsigned int fExpectedPeak, double fminEThreshold, const std::vector< double > &fcoef)
 
std::vector< double > HFdigiflagCoefficients () const
 
uint32_t HFdigiflagExpectedPeak () const
 
uint32_t HFdigiflagFirstSample () const
 
double HFdigiflagMinEThreshold () const
 
uint32_t HFdigiflagSamplesToAdd () const
 
uint32_t rawId () const
 

Private Attributes

std::vector< double > mHFdigiflagCoefficients
 
uint32_t mHFdigiflagExpectedPeak
 
uint32_t mHFdigiflagFirstSample
 
double mHFdigiflagMinEthreshold
 
uint32_t mHFdigiflagSamplesToAdd
 
uint32_t mId
 

Detailed Description

Author
Jeff Temple

DB object to store HF DigiTime flag parameters Flag parameters stored are:

HFDigiTimeParam needs the following arguments: HFdigiflagFirstSample, HFdigiflagSamplesToAdd, HFdigiflagExpectedPeak – values used to set the digi sections used for forming TS(peak)/NTS ratio

HFdigiflagMinEthreshold – minimum energy threshold needed before a rechit may be considered for flagging

HFdigiflagCoefficients: vector of doubles that define cut contour. Current contour is [0]-exp([1]+[2]*E), but I think we want this to be a vector, so that we can allow for [0]-exp([1]+[2]*E+[3]*E*E), or [0], etc.

Definition at line 23 of file HcalFlagHFDigiTimeParam.h.

Constructor & Destructor Documentation

HcalFlagHFDigiTimeParam::HcalFlagHFDigiTimeParam ( )
inline
HcalFlagHFDigiTimeParam::HcalFlagHFDigiTimeParam ( unsigned long  fId,
unsigned int  fFirstSample,
unsigned int  fSamplesToAdd,
unsigned int  fExpectedPeak,
double  fminEThreshold,
const std::vector< double > &  fcoef 
)
inline

Definition at line 35 of file HcalFlagHFDigiTimeParam.h.

40  :
41  mId(fId),
42  mHFdigiflagFirstSample(fFirstSample),
43  mHFdigiflagSamplesToAdd(fSamplesToAdd),
44  mHFdigiflagExpectedPeak(fExpectedPeak),
45  mHFdigiflagMinEthreshold(fminEThreshold),
47  { }
std::vector< double > mHFdigiflagCoefficients

Member Function Documentation

std::vector<double> HcalFlagHFDigiTimeParam::HFdigiflagCoefficients ( ) const
inline

Definition at line 57 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagCoefficients.

Referenced by HcalHitReconstructor::produce().

std::vector< double > mHFdigiflagCoefficients
uint32_t HcalFlagHFDigiTimeParam::HFdigiflagExpectedPeak ( ) const
inline

Definition at line 55 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagExpectedPeak.

Referenced by HcalHitReconstructor::produce().

uint32_t HcalFlagHFDigiTimeParam::HFdigiflagFirstSample ( ) const
inline

Definition at line 53 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagFirstSample.

Referenced by HcalHitReconstructor::produce().

double HcalFlagHFDigiTimeParam::HFdigiflagMinEThreshold ( ) const
inline
uint32_t HcalFlagHFDigiTimeParam::HFdigiflagSamplesToAdd ( ) const
inline

Definition at line 54 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagSamplesToAdd.

Referenced by HcalHitReconstructor::produce().

uint32_t HcalFlagHFDigiTimeParam::rawId ( ) const
inline

Definition at line 49 of file HcalFlagHFDigiTimeParam.h.

References mId.

49 {return mId;}

Member Data Documentation

std::vector<double> HcalFlagHFDigiTimeParam::mHFdigiflagCoefficients
private

Definition at line 65 of file HcalFlagHFDigiTimeParam.h.

Referenced by HcalFlagHFDigiTimeParam(), and HFdigiflagCoefficients().

uint32_t HcalFlagHFDigiTimeParam::mHFdigiflagExpectedPeak
private

Definition at line 63 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagExpectedPeak().

uint32_t HcalFlagHFDigiTimeParam::mHFdigiflagFirstSample
private

Definition at line 61 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagFirstSample().

double HcalFlagHFDigiTimeParam::mHFdigiflagMinEthreshold
private

Definition at line 64 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagMinEThreshold().

uint32_t HcalFlagHFDigiTimeParam::mHFdigiflagSamplesToAdd
private

Definition at line 62 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagSamplesToAdd().

uint32_t HcalFlagHFDigiTimeParam::mId
private

Definition at line 60 of file HcalFlagHFDigiTimeParam.h.

Referenced by rawId().