#include <HBHEStatusBitSetter.h>
Public Member Functions | |
void | Clear () |
HBHEStatusBitSetter () | |
HBHEStatusBitSetter (double nominalPedestal, double hitEnergyMinimum, int hitMultiplicityThreshold, const std::vector< edm::ParameterSet > &pulseShapeParameterSets) | |
void | rememberHit (const HBHERecHit &hbhe) |
void | SetFlagsFromDigi (HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib) |
void | SetFlagsFromRecHits (HBHERecHitCollection &rec) |
void | SetFrontEndMap (const HcalFrontEndMap *m) |
~HBHEStatusBitSetter () | |
Private Member Functions | |
HBHEStatusBitSetter (const HBHEStatusBitSetter &)=delete | |
HBHEStatusBitSetter & | operator= (const HBHEStatusBitSetter &)=delete |
Private Attributes | |
const HcalFrontEndMap * | frontEndMap_ |
double | hitEnergyMinimum_ |
int | hitMultiplicityThreshold_ |
std::vector< int > | hpdMultiplicity_ |
double | nominalPedestal_ |
std::vector< std::vector< double > > | pulseShapeParameters_ |
Definition at line 15 of file HBHEStatusBitSetter.h.
HBHEStatusBitSetter::HBHEStatusBitSetter | ( | ) |
Definition at line 5 of file HBHEStatusBitSetter.cc.
References hitEnergyMinimum_, hitMultiplicityThreshold_, and nominalPedestal_.
HBHEStatusBitSetter::HBHEStatusBitSetter | ( | double | nominalPedestal, |
double | hitEnergyMinimum, | ||
int | hitMultiplicityThreshold, | ||
const std::vector< edm::ParameterSet > & | pulseShapeParameterSets | ||
) |
Definition at line 11 of file HBHEStatusBitSetter.cc.
References edm::ParameterSet::getParameter(), muonDTDigis_cfi::pset, and pulseShapeParameters_.
HBHEStatusBitSetter::~HBHEStatusBitSetter | ( | ) |
Definition at line 28 of file HBHEStatusBitSetter.cc.
|
privatedelete |
void HBHEStatusBitSetter::Clear | ( | ) |
Definition at line 42 of file HBHEStatusBitSetter.cc.
References hpdMultiplicity_, and mps_fire::i.
|
privatedelete |
void HBHEStatusBitSetter::rememberHit | ( | const HBHERecHit & | hbhe | ) |
Definition at line 48 of file HBHEStatusBitSetter.cc.
References CaloRecHit::detid(), CaloRecHit::energy(), frontEndMap_, hitEnergyMinimum_, hpdMultiplicity_, and HcalFrontEndMap::lookupRMIndex().
Referenced by SetFlagsFromDigi().
void HBHEStatusBitSetter::SetFlagsFromDigi | ( | HBHERecHit & | hbhe, |
const HBHEDataFrame & | digi, | ||
const HcalCoder & | coder, | ||
const HcalCalibrations & | calib | ||
) |
Definition at line 60 of file HBHEStatusBitSetter.cc.
References HcalCoder::adc2fC(), frontEndMap_, HcalCaloFlagLabels::HBHEPulseShape, nominalPedestal_, pulseShapeParameters_, rememberHit(), CaloRecHit::setFlagField(), HBHEDataFrame::size(), and findQualityFiles::size.
void HBHEStatusBitSetter::SetFlagsFromRecHits | ( | HBHERecHitCollection & | rec | ) |
Definition at line 113 of file HBHEStatusBitSetter.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), frontEndMap_, HcalCaloFlagLabels::HBHEHpdHitMultiplicity, hitMultiplicityThreshold_, hpdMultiplicity_, and HcalFrontEndMap::lookupRMIndex().
void HBHEStatusBitSetter::SetFrontEndMap | ( | const HcalFrontEndMap * | m | ) |
Definition at line 30 of file HBHEStatusBitSetter.cc.
References frontEndMap_, hpdMultiplicity_, funct::m, and HcalFrontEndMap::maxRMIndex().
|
private |
Definition at line 35 of file HBHEStatusBitSetter.h.
Referenced by rememberHit(), SetFlagsFromDigi(), SetFlagsFromRecHits(), and SetFrontEndMap().
|
private |
Definition at line 32 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and rememberHit().
|
private |
Definition at line 33 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromRecHits().
|
private |
Definition at line 36 of file HBHEStatusBitSetter.h.
Referenced by Clear(), rememberHit(), SetFlagsFromRecHits(), and SetFrontEndMap().
|
private |
Definition at line 34 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().
|
private |
Definition at line 37 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().