#include <HcalFlagHFDigiTimeParam.h>
Public Member Functions | |
HcalFlagHFDigiTimeParam () | |
HcalFlagHFDigiTimeParam (unsigned long fId, unsigned int fFirstSample, unsigned int fSamplesToAdd, unsigned int fExpectedPeak, double fminEThreshold, 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 |
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.
HcalFlagHFDigiTimeParam::HcalFlagHFDigiTimeParam | ( | ) | [inline] |
Definition at line 27 of file HcalFlagHFDigiTimeParam.h.
References mHFdigiflagCoefficients.
:HcalFlagHFDigiTimeParam():mId(0),mHFdigiflagFirstSample(1),mHFdigiflagSamplesToAdd(3),mHFdigiflagExpectedPeak(2),mHFdigiflagMinEthreshold(40) { mHFdigiflagCoefficients.clear(); mHFdigiflagCoefficients.push_back(0.93); mHFdigiflagCoefficients.push_back(-0.38275); mHFdigiflagCoefficients.push_back(-0.012667); }
HcalFlagHFDigiTimeParam::HcalFlagHFDigiTimeParam | ( | unsigned long | fId, |
unsigned int | fFirstSample, | ||
unsigned int | fSamplesToAdd, | ||
unsigned int | fExpectedPeak, | ||
double | fminEThreshold, | ||
std::vector< double > | fcoef | ||
) | [inline] |
Definition at line 35 of file HcalFlagHFDigiTimeParam.h.
: mId(fId), mHFdigiflagFirstSample(fFirstSample), mHFdigiflagSamplesToAdd(fSamplesToAdd), mHFdigiflagExpectedPeak(fExpectedPeak), mHFdigiflagMinEthreshold(fminEThreshold), mHFdigiflagCoefficients(fcoef) { }
std::vector<double> HcalFlagHFDigiTimeParam::HFdigiflagCoefficients | ( | ) | const [inline] |
Definition at line 57 of file HcalFlagHFDigiTimeParam.h.
References mHFdigiflagCoefficients.
Referenced by HcalHitReconstructor::produce().
{return mHFdigiflagCoefficients;}
uint32_t HcalFlagHFDigiTimeParam::HFdigiflagExpectedPeak | ( | ) | const [inline] |
Definition at line 55 of file HcalFlagHFDigiTimeParam.h.
References mHFdigiflagExpectedPeak.
Referenced by HcalHitReconstructor::produce().
{return mHFdigiflagExpectedPeak;}
uint32_t HcalFlagHFDigiTimeParam::HFdigiflagFirstSample | ( | ) | const [inline] |
Definition at line 53 of file HcalFlagHFDigiTimeParam.h.
References mHFdigiflagFirstSample.
Referenced by HcalHitReconstructor::produce().
{return mHFdigiflagFirstSample;}
double HcalFlagHFDigiTimeParam::HFdigiflagMinEThreshold | ( | ) | const [inline] |
Definition at line 56 of file HcalFlagHFDigiTimeParam.h.
References mHFdigiflagMinEthreshold.
Referenced by HcalHitReconstructor::produce().
{return mHFdigiflagMinEthreshold;}
uint32_t HcalFlagHFDigiTimeParam::HFdigiflagSamplesToAdd | ( | ) | const [inline] |
Definition at line 54 of file HcalFlagHFDigiTimeParam.h.
References mHFdigiflagSamplesToAdd.
Referenced by HcalHitReconstructor::produce().
{return mHFdigiflagSamplesToAdd;}
uint32_t HcalFlagHFDigiTimeParam::rawId | ( | ) | const [inline] |
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().