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 Member Functions | Private Attributes | Friends
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 Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

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

Friends

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

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 25 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 37 of file HcalFlagHFDigiTimeParam.h.

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

Member Function Documentation

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

Definition at line 59 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagCoefficients.

Referenced by HcalHitReconstructor::produce().

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

Definition at line 57 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagExpectedPeak.

Referenced by HcalHitReconstructor::produce().

uint32_t HcalFlagHFDigiTimeParam::HFdigiflagFirstSample ( ) const
inline

Definition at line 55 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagFirstSample.

Referenced by HcalHitReconstructor::produce().

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

Definition at line 56 of file HcalFlagHFDigiTimeParam.h.

References mHFdigiflagSamplesToAdd.

Referenced by HcalHitReconstructor::produce().

uint32_t HcalFlagHFDigiTimeParam::rawId ( ) const
inline

Definition at line 51 of file HcalFlagHFDigiTimeParam.h.

References mId.

51 {return mId;}
template<class Archive >
void HcalFlagHFDigiTimeParam::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 69 of file HcalFlagHFDigiTimeParam.h.

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

Definition at line 69 of file HcalFlagHFDigiTimeParam.h.

Member Data Documentation

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

Definition at line 67 of file HcalFlagHFDigiTimeParam.h.

Referenced by HcalFlagHFDigiTimeParam(), and HFdigiflagCoefficients().

uint32_t HcalFlagHFDigiTimeParam::mHFdigiflagExpectedPeak
private

Definition at line 65 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagExpectedPeak().

uint32_t HcalFlagHFDigiTimeParam::mHFdigiflagFirstSample
private

Definition at line 63 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagFirstSample().

double HcalFlagHFDigiTimeParam::mHFdigiflagMinEthreshold
private

Definition at line 66 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagMinEThreshold().

uint32_t HcalFlagHFDigiTimeParam::mHFdigiflagSamplesToAdd
private

Definition at line 64 of file HcalFlagHFDigiTimeParam.h.

Referenced by HFdigiflagSamplesToAdd().

uint32_t HcalFlagHFDigiTimeParam::mId
private

Definition at line 62 of file HcalFlagHFDigiTimeParam.h.

Referenced by rawId().