#include <HBHEStatusBitSetter.h>
Public Member Functions | |
void | Clear () |
HBHEStatusBitSetter () | |
HBHEStatusBitSetter (double nominalPedestal, double hitEnergyMinimum, int hitMultiplicityThreshold, std::vector< edm::ParameterSet > pulseShapeParameterSets) | |
void | SetFlagsFromDigi (HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib, int firstSample=3, int samplesToAdd=4) |
void | SetFlagsFromRecHits (HBHERecHitCollection &rec) |
~HBHEStatusBitSetter () | |
Private Attributes | |
unsigned int | firstSample_ |
double | hitEnergyMinimum_ |
int | hitMultiplicityThreshold_ |
std::vector< int > | hpdMultiplicity_ |
HcalLogicalMap * | logicalMap_ |
double | nominalPedestal_ |
std::vector< std::vector < double > > | pulseShapeParameters_ |
unsigned int | samplesToAdd_ |
Definition at line 14 of file HBHEStatusBitSetter.h.
HBHEStatusBitSetter::HBHEStatusBitSetter | ( | ) |
Definition at line 6 of file HBHEStatusBitSetter.cc.
References HcalLogicalMapGenerator::createMap(), relval_steps::gen(), hitEnergyMinimum_, hitMultiplicityThreshold_, hpdMultiplicity_, logicalMap_, HcalFrontEndId::maxRmIndex, and nominalPedestal_.
HBHEStatusBitSetter::HBHEStatusBitSetter | ( | double | nominalPedestal, |
double | hitEnergyMinimum, | ||
int | hitMultiplicityThreshold, | ||
std::vector< edm::ParameterSet > | pulseShapeParameterSets | ||
) |
Definition at line 20 of file HBHEStatusBitSetter.cc.
References HcalLogicalMapGenerator::createMap(), relval_steps::gen(), edm::ParameterSet::getParameter(), hitEnergyMinimum_, hitMultiplicityThreshold_, hpdMultiplicity_, logicalMap_, HcalFrontEndId::maxRmIndex, nominalPedestal_, and pulseShapeParameters_.
HBHEStatusBitSetter::~HBHEStatusBitSetter | ( | ) |
void HBHEStatusBitSetter::Clear | ( | ) |
Definition at line 49 of file HBHEStatusBitSetter.cc.
References hpdMultiplicity_, and i.
Referenced by HcalHitReconstructor::produce().
void HBHEStatusBitSetter::SetFlagsFromDigi | ( | HBHERecHit & | hbhe, |
const HBHEDataFrame & | digi, | ||
const HcalCoder & | coder, | ||
const HcalCalibrations & | calib, | ||
int | firstSample = 3 , |
||
int | samplesToAdd = 4 |
||
) |
Definition at line 54 of file HBHEStatusBitSetter.cc.
References HcalCoder::adc2fC(), asciidump::at, CaloRecHit::detid(), CaloRecHit::energy(), castor_dqm_sourceclient_file_cfg::firstSample, firstSample_, HcalLogicalMap::getHcalFrontEndId(), HcalCaloFlagLabels::HBHEPulseShape, hitEnergyMinimum_, hpdMultiplicity_, getHLTprescales::index, logicalMap_, nominalPedestal_, pulseShapeParameters_, samplesToAdd_, CaloRecHit::setFlagField(), HBHEDataFrame::size(), and findQualityFiles::size.
Referenced by HcalHitReconstructor::produce().
void HBHEStatusBitSetter::SetFlagsFromRecHits | ( | HBHERecHitCollection & | rec | ) |
Definition at line 115 of file HBHEStatusBitSetter.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), HcalLogicalMap::getHcalFrontEndId(), HcalCaloFlagLabels::HBHEHpdHitMultiplicity, hitMultiplicityThreshold_, hpdMultiplicity_, getHLTprescales::index, and logicalMap_.
Referenced by HcalHitReconstructor::produce().
|
private |
Definition at line 29 of file HBHEStatusBitSetter.h.
Referenced by SetFlagsFromDigi().
|
private |
Definition at line 27 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().
|
private |
Definition at line 28 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromRecHits().
|
private |
Definition at line 33 of file HBHEStatusBitSetter.h.
Referenced by Clear(), HBHEStatusBitSetter(), SetFlagsFromDigi(), and SetFlagsFromRecHits().
|
private |
Definition at line 32 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), SetFlagsFromDigi(), SetFlagsFromRecHits(), and ~HBHEStatusBitSetter().
|
private |
Definition at line 31 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().
|
private |
Definition at line 34 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().
|
private |
Definition at line 30 of file HBHEStatusBitSetter.h.
Referenced by SetFlagsFromDigi().