#include <HBHENegativeFlag.h>
Public Member Functions | |
HBHENegativeFlagSetter () | |
HBHENegativeFlagSetter (double minimumChargeThreshold, double tS4TS5ChargeThreshold, int first, int last, std::vector< double > threshold, std::vector< double > cut) | |
void | setBXInfo (const BunchXParameter *info, unsigned length) |
void | setHBHEPileupCorrection (boost::shared_ptr< AbsOOTPileupCorrection > corr) |
void | setPulseShapeFlags (HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib) |
~HBHENegativeFlagSetter () | |
Private Member Functions | |
bool | checkPassFilter (double charge, double discriminant, std::vector< std::pair< double, double > > &cuts, int side) |
Private Attributes | |
boost::shared_ptr < AbsOOTPileupCorrection > | hbhePileupCorr_ |
const BunchXParameter * | mBunchCrossingInfo |
std::vector< std::pair< double, double > > | mCut |
int | mFirst |
int | mLast |
unsigned | mLengthBunchCrossingInfo |
double | mMinimumChargeThreshold |
double | mTS4TS5ChargeThreshold |
Definition at line 24 of file HBHENegativeFlag.h.
HBHENegativeFlagSetter::HBHENegativeFlagSetter | ( | ) |
Definition at line 28 of file HBHENegativeFlag.cc.
References mBunchCrossingInfo, mFirst, mLast, mLengthBunchCrossingInfo, mMinimumChargeThreshold, mTS4TS5ChargeThreshold, and NULL.
HBHENegativeFlagSetter::HBHENegativeFlagSetter | ( | double | minimumChargeThreshold, |
double | tS4TS5ChargeThreshold, | ||
int | first, | ||
int | last, | ||
std::vector< double > | threshold, | ||
std::vector< double > | cut | ||
) |
Definition at line 46 of file HBHENegativeFlag.cc.
References first, i, prof2calltree::last, mBunchCrossingInfo, mCut, mFirst, min(), mLast, mLengthBunchCrossingInfo, mMinimumChargeThreshold, mTS4TS5ChargeThreshold, NULL, python.multivaluedict::sort(), and std::swap().
HBHENegativeFlagSetter::~HBHENegativeFlagSetter | ( | ) |
Definition at line 72 of file HBHENegativeFlag.cc.
|
private |
Definition at line 151 of file HBHENegativeFlag.cc.
References Reconstruction_Data_cff::cuts, first, i, and MessageLogger_cff::limit.
Referenced by setPulseShapeFlags().
void HBHENegativeFlagSetter::setBXInfo | ( | const BunchXParameter * | info, |
unsigned | length | ||
) |
Definition at line 145 of file HBHENegativeFlag.cc.
References info(), mBunchCrossingInfo, and mLengthBunchCrossingInfo.
void HBHENegativeFlagSetter::setHBHEPileupCorrection | ( | boost::shared_ptr< AbsOOTPileupCorrection > | corr | ) |
Definition at line 140 of file HBHENegativeFlag.cc.
References corr, and hbhePileupCorr_.
Referenced by HcalHitReconstructor::HcalHitReconstructor().
void HBHENegativeFlagSetter::setPulseShapeFlags | ( | HBHERecHit & | hbhe, |
const HBHEDataFrame & | digi, | ||
const HcalCoder & | coder, | ||
const HcalCalibrations & | calib | ||
) |
Definition at line 77 of file HBHENegativeFlag.cc.
References HcalCoder::adc2fC(), checkPassFilter(), fwrapper::cs, HcalCaloFlagLabels::HBHENegativeNoise, hbhePileupCorr_, i, HBHEDataFrame::id(), CaloSamples::MAXSAMPLES, mBunchCrossingInfo, mCut, mFirst, min(), mLast, mLengthBunchCrossingInfo, mMinimumChargeThreshold, n, HcalCalibrations::pedestal(), HcalCalibrations::respcorrgain(), CaloRecHit::setFlagField(), and CaloSamples::size().
Referenced by HcalHitReconstructor::produce().
|
private |
Definition at line 41 of file HBHENegativeFlag.h.
Referenced by setHBHEPileupCorrection(), and setPulseShapeFlags().
|
private |
Definition at line 44 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter(), setBXInfo(), and setPulseShapeFlags().
|
private |
Definition at line 46 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter(), and setPulseShapeFlags().
|
private |
Definition at line 42 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter(), and setPulseShapeFlags().
|
private |
Definition at line 43 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter(), and setPulseShapeFlags().
|
private |
Definition at line 45 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter(), setBXInfo(), and setPulseShapeFlags().
|
private |
Definition at line 39 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter(), and setPulseShapeFlags().
|
private |
Definition at line 40 of file HBHENegativeFlag.h.
Referenced by HBHENegativeFlagSetter().