#include <HBHEStatusBitSetter.h>
Public Member Functions | |
void | Clear () |
HBHEStatusBitSetter () | |
HBHEStatusBitSetter (double nominalPedestal, double hitEnergyMinimum, int hitMultiplicityThreshold, const std::vector< edm::ParameterSet > &pulseShapeParameterSets) | |
HBHEStatusBitSetter (const HBHEStatusBitSetter &)=delete | |
HBHEStatusBitSetter & | operator= (const HBHEStatusBitSetter &)=delete |
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 Attributes | |
const HcalFrontEndMap * | frontEndMap_ |
double | hitEnergyMinimum_ |
int | hitMultiplicityThreshold_ |
std::vector< int > | hpdMultiplicity_ |
double | nominalPedestal_ |
std::vector< std::vector< double > > | pulseShapeParameters_ |
Definition at line 14 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 submitPVValidationJobs::params, muonDTDigis_cfi::pset, pulseShapeParameters_, and HLT_2024v12_cff::pulseShapeParameterSets.
HBHEStatusBitSetter::~HBHEStatusBitSetter | ( | ) |
Definition at line 28 of file HBHEStatusBitSetter.cc.
|
delete |
void HBHEStatusBitSetter::Clear | ( | ) |
Definition at line 42 of file HBHEStatusBitSetter.cc.
References hpdMultiplicity_, and mps_fire::i.
|
delete |
void HBHEStatusBitSetter::rememberHit | ( | const HBHERecHit & | hbhe | ) |
Definition at line 48 of file HBHEStatusBitSetter.cc.
References frontEndMap_, photonIsolationHIProducer_cfi::hbhe, 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_, photonIsolationHIProducer_cfi::hbhe, HcalCaloFlagLabels::HBHEPulseShape, nominalPedestal_, pulseShapeParameters_, rememberHit(), HBHEDataFrame::size(), and findQualityFiles::size.
void HBHEStatusBitSetter::SetFlagsFromRecHits | ( | HBHERecHitCollection & | rec | ) |
Definition at line 120 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_, visualization-live-secondInstance_cfg::m, and HcalFrontEndMap::maxRMIndex().
|
private |
Definition at line 39 of file HBHEStatusBitSetter.h.
Referenced by rememberHit(), SetFlagsFromDigi(), SetFlagsFromRecHits(), and SetFrontEndMap().
|
private |
Definition at line 36 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and rememberHit().
|
private |
Definition at line 37 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromRecHits().
|
private |
Definition at line 40 of file HBHEStatusBitSetter.h.
Referenced by Clear(), rememberHit(), SetFlagsFromRecHits(), and SetFrontEndMap().
|
private |
Definition at line 38 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().
|
private |
Definition at line 41 of file HBHEStatusBitSetter.h.
Referenced by HBHEStatusBitSetter(), and SetFlagsFromDigi().