#include <HBHEStatusBitSetter.h>
Public Member Functions | |
void | Clear () |
HBHEStatusBitSetter () | |
HBHEStatusBitSetter (double nominalPedestal, double hitEnergyMinimum, int hitMultiplicityThreshold, const std::vector< edm::ParameterSet > &pulseShapeParameterSets) | |
void | SetFlagsFromDigi (const HcalTopology *topo, HBHERecHit &hbhe, const HBHEDataFrame &digi, const HcalCoder &coder, const HcalCalibrations &calib, int firstSample=3, int samplesToAdd=4) |
void | SetFlagsFromRecHits (const HcalTopology *topo, 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 hitEnergyMinimum_, hitMultiplicityThreshold_, hpdMultiplicity_, logicalMap_, HcalFrontEndId::maxRmIndex, and nominalPedestal_.
HBHEStatusBitSetter::HBHEStatusBitSetter | ( | double | nominalPedestal, |
double | hitEnergyMinimum, | ||
int | hitMultiplicityThreshold, | ||
const std::vector< edm::ParameterSet > & | pulseShapeParameterSets | ||
) |
Definition at line 19 of file HBHEStatusBitSetter.cc.
References edm::ParameterSet::getParameter(), hitEnergyMinimum_, hitMultiplicityThreshold_, hpdMultiplicity_, logicalMap_, HcalFrontEndId::maxRmIndex, nominalPedestal_, and pulseShapeParameters_.
HBHEStatusBitSetter::~HBHEStatusBitSetter | ( | ) |
void HBHEStatusBitSetter::Clear | ( | ) |
Definition at line 46 of file HBHEStatusBitSetter.cc.
References hpdMultiplicity_, and i.
Referenced by HcalHitReconstructor::produce().
void HBHEStatusBitSetter::SetFlagsFromDigi | ( | const HcalTopology * | topo, |
HBHERecHit & | hbhe, | ||
const HBHEDataFrame & | digi, | ||
const HcalCoder & | coder, | ||
const HcalCalibrations & | calib, | ||
int | firstSample = 3 , |
||
int | samplesToAdd = 4 |
||
) |
Definition at line 51 of file HBHEStatusBitSetter.cc.
References HcalCoder::adc2fC(), asciidump::at, HcalLogicalMapGenerator::createMap(), CaloRecHit::detid(), CaloRecHit::energy(), castor_dqm_sourceclient_file_cfg::firstSample, firstSample_, relval_steps::gen(), HcalLogicalMap::getHcalFrontEndId(), HcalCaloFlagLabels::HBHEPulseShape, hitEnergyMinimum_, hpdMultiplicity_, cmsHarvester::index, logicalMap_, nominalPedestal_, pulseShapeParameters_, samplesToAdd_, CaloRecHit::setFlagField(), HBHEDataFrame::size(), and findQualityFiles::size.
Referenced by HcalHitReconstructor::produce().
void HBHEStatusBitSetter::SetFlagsFromRecHits | ( | const HcalTopology * | topo, |
HBHERecHitCollection & | rec | ||
) |
Definition at line 118 of file HBHEStatusBitSetter.cc.
References edm::SortedCollection< T, SORT >::begin(), HcalLogicalMapGenerator::createMap(), edm::SortedCollection< T, SORT >::end(), relval_steps::gen(), HcalLogicalMap::getHcalFrontEndId(), HcalCaloFlagLabels::HBHEHpdHitMultiplicity, hitMultiplicityThreshold_, hpdMultiplicity_, cmsHarvester::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().