#include <HBHEChannelInfo.h>
Public Types | |
typedef HcalDetId | key_type |
Public Member Functions | |
const uint8_t * | adc () const |
int | capid () const |
double | chargeInWindow (const unsigned begin, const unsigned end) const |
void | clear () |
double | darkCurrent () const |
const float * | dFcPerADC () const |
double | energyInWindow (const unsigned begin, const unsigned end) const |
double | fcByPE () const |
const double * | gain () const |
const double * | gainWidth () const |
bool | hasCapidError () const |
bool | hasEffectivePedestals () const |
bool | hasLinkError () const |
bool | hasTimeInfo () const |
HBHEChannelInfo () | |
HBHEChannelInfo (const bool hasTimeFromTDC, const bool hasEffectivePed) | |
HcalDetId | id () const |
bool | isDropped () const |
double | lambda () const |
unsigned | nSamples () const |
uint8_t | peakAdcValue (const unsigned begin, const unsigned end) const |
unsigned | peakChargeTS (const unsigned begin, const unsigned end) const |
unsigned | peakEnergyTS (const unsigned begin, const unsigned end) const |
const double * | pedestal () const |
const double * | pedestalWidth () const |
const double * | rawCharge () const |
int | recoShape () const |
const float * | riseTime () const |
void | setChannelInfo (const HcalDetId &detId, const int recoShape, const unsigned nSamp, const unsigned iSoi, const int iCapid, const double darkCurrent, const double fcByPE, const double lambda, const bool linkError, const bool capidError, const bool dropThisChannel) |
void | setSample (const unsigned ts, const uint8_t rawADC, const float differentialChargeGain, const double q, const double ped, const double pedWidth, const double g, const double gainWidth, const float t) |
unsigned | soi () const |
float | soiRiseTime () const |
void | tagAsDropped () |
uint8_t | tsAdc (const unsigned ts) const |
double | tsCharge (const unsigned ts) const |
float | tsDFcPerADC (const unsigned ts) const |
double | tsEnergy (const unsigned ts) const |
double | tsGain (const unsigned ts) const |
double | tsGainWidth (const unsigned ts) const |
double | tsPedestal (const unsigned ts) const |
double | tsPedestalWidth (const unsigned ts) const |
double | tsRawCharge (const unsigned ts) const |
float | tsRiseTime (const unsigned ts) const |
Static Public Attributes | |
static const unsigned | MAXSAMPLES = 10 |
Private Attributes | |
uint8_t | adc_ [MAXSAMPLES] |
int32_t | capid_ |
double | darkCurrent_ |
float | dFcPerADC_ [MAXSAMPLES] |
bool | dropped_ |
double | fcByPE_ |
double | gain_ [MAXSAMPLES] |
double | gainWidth_ [MAXSAMPLES] |
bool | hasCapidError_ |
bool | hasEffectivePedestals_ |
bool | hasLinkError_ |
bool | hasTimeInfo_ |
HcalDetId | id_ |
double | lambda_ |
uint32_t | nSamples_ |
double | pedestal_ [MAXSAMPLES] |
double | pedestalWidth_ [MAXSAMPLES] |
double | rawCharge_ [MAXSAMPLES] |
int32_t | recoShape_ |
float | riseTime_ [MAXSAMPLES] |
uint32_t | soi_ |
Unpacked charge and TDC information in a format which works for both QIE8 and QIE11
Definition at line 14 of file HBHEChannelInfo.h.
typedef HcalDetId HBHEChannelInfo::key_type |
Definition at line 17 of file HBHEChannelInfo.h.
|
inline |
Definition at line 21 of file HBHEChannelInfo.h.
|
inlineexplicit |
Definition at line 26 of file HBHEChannelInfo.h.
|
inline |
|
inline |
Definition at line 94 of file HBHEChannelInfo.h.
References capid_.
Referenced by HBHERecHitAuxSetter::setAux().
|
inline |
Definition at line 138 of file HBHEChannelInfo.h.
References mps_fire::i, nSamples_, pedestal_, and rawCharge_.
Referenced by SimpleHBHEPhase1Algo::reconstruct().
|
inline |
Definition at line 32 of file HBHEChannelInfo.h.
References capid_, darkCurrent_, dropped_, fcByPE_, hasCapidError_, hasLinkError_, id_, lambda_, nSamples_, recoShape_, soi_, and mitigatedMETSequence_cff::U.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), BeautifulSoup.Tag::setString(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
Definition at line 97 of file HBHEChannelInfo.h.
References darkCurrent_.
Referenced by setChannelInfo().
|
inline |
|
inline |
Definition at line 147 of file HBHEChannelInfo.h.
References gain_, mps_fire::i, nSamples_, pedestal_, and rawCharge_.
Referenced by SimpleHBHEPhase1Algo::m0Energy().
|
inline |
Definition at line 98 of file HBHEChannelInfo.h.
References fcByPE_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), MahiFit::phase1Debug(), and setChannelInfo().
|
inline |
|
inline |
|
inline |
Definition at line 102 of file HBHEChannelInfo.h.
References hasCapidError_.
Referenced by HBHERecHitAuxSetter::setAux().
|
inline |
|
inline |
Definition at line 101 of file HBHEChannelInfo.h.
References hasLinkError_.
Referenced by HBHERecHitAuxSetter::setAux().
|
inline |
Definition at line 95 of file HBHEChannelInfo.h.
References hasTimeInfo_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), MahiFit::phase1Debug(), HBHEPhase1Reconstructor::processData(), SimpleHBHEPhase1Algo::reconstruct(), and HBHERecHitAuxSetter::setAux().
|
inline |
Definition at line 87 of file HBHEChannelInfo.h.
References id_.
Referenced by SimpleHBHEPhase1Algo::m0Energy(), PulseShapeFitOOTPileupCorrection::phase1Apply(), SimpleHBHEPhase1Algo::reconstruct(), and HBHEPhase1Reconstructor::runHBHENegativeEFilter().
|
inline |
Definition at line 100 of file HBHEChannelInfo.h.
References dropped_.
Referenced by HBHEPhase1Reconstructor::processData(), and HBHERecHitAuxSetter::setAux().
|
inline |
Definition at line 99 of file HBHEChannelInfo.h.
References lambda_.
Referenced by setChannelInfo().
|
inline |
Definition at line 92 of file HBHEChannelInfo.h.
References nSamples_.
Referenced by SimpleHBHEPhase1Algo::m0Time(), HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), MahiFit::phase1Debug(), SimpleHBHEPhase1Algo::reconstruct(), HBHEPhase1Reconstructor::runHBHENegativeEFilter(), and HBHERecHitAuxSetter::setAux().
|
inline |
|
inline |
Definition at line 158 of file HBHEChannelInfo.h.
References mps_fire::i, MAXSAMPLES, nSamples_, pedestal_, lumiQueryAPI::q, and rawCharge_.
|
inline |
Definition at line 175 of file HBHEChannelInfo.h.
References MillePedeFileConverter_cfg::e, gain_, mps_fire::i, MAXSAMPLES, nSamples_, pedestal_, and rawCharge_.
Referenced by SimpleHBHEPhase1Algo::m0Time().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 90 of file HBHEChannelInfo.h.
References recoShape_.
Referenced by HcalDeterministicFit::phase1Apply(), SimpleHBHEPhase1Algo::reconstruct(), and setChannelInfo().
|
inline |
|
inline |
Definition at line 47 of file HBHEChannelInfo.h.
References capid_, darkCurrent(), darkCurrent_, dropped_, fcByPE(), fcByPE_, hasCapidError_, hasLinkError_, id_, lambda(), lambda_, MAXSAMPLES, nSamples_, recoShape(), recoShape_, and soi_.
Referenced by HBHEPhase1Reconstructor::processData().
|
inline |
Definition at line 70 of file HBHEChannelInfo.h.
References adc_, dFcPerADC_, g, gain_, gainWidth(), gainWidth_, pedestal_, pedestalWidth_, lumiQueryAPI::q, rawCharge_, riseTime_, and lumiQTWidget::t.
Referenced by HBHEPhase1Reconstructor::processData().
|
inline |
Definition at line 93 of file HBHEChannelInfo.h.
References soi_.
Referenced by SimpleHBHEPhase1Algo::m0Energy(), SimpleHBHEPhase1Algo::m0Time(), HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), MahiFit::phase1Debug(), SimpleHBHEPhase1Algo::reconstruct(), and HBHERecHitAuxSetter::setAux().
|
inline |
Definition at line 131 of file HBHEChannelInfo.h.
References hasTimeInfo_, nSamples_, riseTime_, soi_, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
Referenced by SimpleHBHEPhase1Algo::reconstruct().
|
inline |
|
inline |
Definition at line 125 of file HBHEChannelInfo.h.
References adc_.
Referenced by HBHERecHitAuxSetter::setAux().
|
inline |
Definition at line 121 of file HBHEChannelInfo.h.
References pedestal_, and rawCharge_.
Referenced by HBHEPhase1Reconstructor::runHBHENegativeEFilter().
|
inline |
Definition at line 126 of file HBHEChannelInfo.h.
References dFcPerADC_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 123 of file HBHEChannelInfo.h.
References gain_, pedestal_, and rawCharge_.
Referenced by SimpleHBHEPhase1Algo::m0Time().
|
inline |
Definition at line 119 of file HBHEChannelInfo.h.
References gain_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
|
inline |
Definition at line 117 of file HBHEChannelInfo.h.
References pedestal_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 118 of file HBHEChannelInfo.h.
References pedestalWidth_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 116 of file HBHEChannelInfo.h.
References rawCharge_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 127 of file HBHEChannelInfo.h.
References hasTimeInfo_, riseTime_, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
Referenced by MahiFit::phase1Debug().
|
private |
Definition at line 231 of file HBHEChannelInfo.h.
Referenced by adc(), peakAdcValue(), setSample(), and tsAdc().
|
private |
Definition at line 247 of file HBHEChannelInfo.h.
Referenced by capid(), clear(), and setChannelInfo().
|
private |
Definition at line 223 of file HBHEChannelInfo.h.
Referenced by clear(), darkCurrent(), and setChannelInfo().
|
private |
Definition at line 235 of file HBHEChannelInfo.h.
Referenced by dFcPerADC(), setSample(), and tsDFcPerADC().
|
private |
Definition at line 257 of file HBHEChannelInfo.h.
Referenced by clear(), isDropped(), setChannelInfo(), and tagAsDropped().
|
private |
Definition at line 224 of file HBHEChannelInfo.h.
Referenced by clear(), fcByPE(), and setChannelInfo().
|
private |
Definition at line 217 of file HBHEChannelInfo.h.
Referenced by energyInWindow(), gain(), peakEnergyTS(), setSample(), tsEnergy(), and tsGain().
|
private |
Definition at line 220 of file HBHEChannelInfo.h.
Referenced by gainWidth(), setSample(), and tsGainWidth().
|
private |
Definition at line 261 of file HBHEChannelInfo.h.
Referenced by clear(), hasCapidError(), and setChannelInfo().
|
private |
Definition at line 253 of file HBHEChannelInfo.h.
Referenced by hasEffectivePedestals().
|
private |
Definition at line 260 of file HBHEChannelInfo.h.
Referenced by clear(), hasLinkError(), and setChannelInfo().
|
private |
Definition at line 250 of file HBHEChannelInfo.h.
Referenced by hasTimeInfo(), riseTime(), soiRiseTime(), and tsRiseTime().
|
private |
Definition at line 205 of file HBHEChannelInfo.h.
Referenced by clear(), id(), and setChannelInfo().
|
private |
Definition at line 225 of file HBHEChannelInfo.h.
Referenced by clear(), lambda(), and setChannelInfo().
|
static |
Definition at line 19 of file HBHEChannelInfo.h.
Referenced by SimpleHBHEPhase1Algo::m0Time(), peakChargeTS(), peakEnergyTS(), HBHEPhase1Reconstructor::processData(), HBHEPhase1Reconstructor::runHBHENegativeEFilter(), and setChannelInfo().
|
private |
Definition at line 241 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), clear(), energyInWindow(), nSamples(), peakAdcValue(), peakChargeTS(), peakEnergyTS(), setChannelInfo(), and soiRiseTime().
|
private |
Definition at line 211 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), energyInWindow(), peakChargeTS(), peakEnergyTS(), pedestal(), setSample(), tsCharge(), tsEnergy(), and tsPedestal().
|
private |
Definition at line 214 of file HBHEChannelInfo.h.
Referenced by pedestalWidth(), setSample(), and tsPedestalWidth().
|
private |
Definition at line 208 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), energyInWindow(), peakChargeTS(), peakEnergyTS(), rawCharge(), setSample(), tsCharge(), tsEnergy(), and tsRawCharge().
|
private |
Definition at line 238 of file HBHEChannelInfo.h.
Referenced by clear(), recoShape(), and setChannelInfo().
|
private |
Definition at line 228 of file HBHEChannelInfo.h.
Referenced by riseTime(), setSample(), soiRiseTime(), and tsRiseTime().
|
private |
Definition at line 244 of file HBHEChannelInfo.h.
Referenced by clear(), setChannelInfo(), soi(), and soiRiseTime().