#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 31 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 49 of file HBHENegativeFlag.cc.
References edm::hlt::Exception, plotBeamSpotDB::first, i, prof2calltree::last, mBunchCrossingInfo, mCut, mFirst, min(), mLast, mLengthBunchCrossingInfo, mMinimumChargeThreshold, mTS4TS5ChargeThreshold, NULL, and python.multivaluedict::sort().
HBHENegativeFlagSetter::~HBHENegativeFlagSetter | ( | ) |
Definition at line 75 of file HBHENegativeFlag.cc.
|
private |
Definition at line 140 of file HBHENegativeFlag.cc.
References Reconstruction_Data_cff::cuts, plotBeamSpotDB::first, i, and MessageLogger_cff::limit.
Referenced by setPulseShapeFlags().
void HBHENegativeFlagSetter::setBXInfo | ( | const BunchXParameter * | info, |
unsigned | length | ||
) |
Definition at line 134 of file HBHENegativeFlag.cc.
References info(), mBunchCrossingInfo, and mLengthBunchCrossingInfo.
void HBHENegativeFlagSetter::setHBHEPileupCorrection | ( | boost::shared_ptr< AbsOOTPileupCorrection > | corr | ) |
Definition at line 129 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 80 of file HBHENegativeFlag.cc.
References HcalCoder::adc2fC(), checkPassFilter(), fwrapper::cs, fcn(), OOTPileupCorrDataFcn::getA1(), OOTPileupCorrDataFcn::getA2(), OOTPileupCorrData::getCorrectionByID(), HcalCaloFlagLabels::HBHENegativeNoise, hbhePileupCorr_, i, HBHERecHit::id(), CaloSamples::MAXSAMPLES, mCut, mFirst, mLast, mMinimumChargeThreshold, HcalCalibrations::pedestal(), 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(), and setBXInfo().
|
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(), and setBXInfo().
|
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().