#include <HBHEChannelInfo.h>
Public Types | |
typedef HcalDetId | key_type |
Public Member Functions | |
constexpr uint8_t const * | adc () const |
constexpr int | capid () const |
constexpr double | chargeInWindow (const unsigned begin, const unsigned end) const |
constexpr void | clear () |
constexpr double | darkCurrent () const |
constexpr float const * | dFcPerADC () const |
constexpr double | energyInWindow (const unsigned begin, const unsigned end) const |
constexpr double | fcByPE () const |
constexpr double const * | gain () const |
constexpr double const * | gainWidth () const |
constexpr bool | hasCapidError () const |
constexpr bool | hasEffectivePedestals () const |
constexpr bool | hasLinkError () const |
constexpr bool | hasTimeInfo () const |
constexpr | HBHEChannelInfo () |
constexpr | HBHEChannelInfo (const bool hasTimeFromTDC, const bool hasEffectivePed) |
constexpr HcalDetId | id () const |
constexpr bool | isDropped () const |
constexpr double | lambda () const |
constexpr double | noisecorr () const |
constexpr unsigned | nSamples () const |
constexpr uint8_t | peakAdcValue (const unsigned begin, const unsigned end) const |
constexpr unsigned | peakChargeTS (const unsigned begin, const unsigned end) const |
constexpr unsigned | peakEnergyTS (const unsigned begin, const unsigned end) const |
constexpr double const * | pedestal () const |
constexpr double const * | pedestalWidth () const |
constexpr double const * | rawCharge () const |
constexpr int | recoShape () const |
constexpr float const * | riseTime () const |
constexpr 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 double noisecorr, const bool linkError, const bool capidError, const bool dropThisChannel) |
constexpr 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) |
constexpr unsigned | soi () const |
constexpr float | soiRiseTime () const |
constexpr void | tagAsDropped () |
constexpr uint8_t | tsAdc (const unsigned ts) const |
constexpr double | tsCharge (const unsigned ts) const |
constexpr float | tsDFcPerADC (const unsigned ts) const |
constexpr double | tsEnergy (const unsigned ts) const |
constexpr double | tsGain (const unsigned ts) const |
constexpr double | tsGainWidth (const unsigned ts) const |
constexpr double | tsPedestal (const unsigned ts) const |
constexpr double | tsPedestalWidth (const unsigned ts) const |
constexpr double | tsRawCharge (const unsigned ts) const |
constexpr 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_ |
double | noisecorr_ |
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 15 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 45 of file HBHEChannelInfo.h.
|
inline |
|
inline |
|
inline |
Definition at line 184 of file HBHEChannelInfo.h.
References SplitLinear::begin, mps_fire::end, mps_fire::i, nSamples_, pedestal_, and rawCharge_.
|
inline |
Definition at line 69 of file HBHEChannelInfo.h.
References capid_, darkCurrent_, dropped_, fcByPE_, hasCapidError_, hasLinkError_, id_, lambda_, noisecorr_, nSamples_, recoShape_, soi_, and mitigatedMETSequence_cff::U.
|
inline |
Definition at line 141 of file HBHEChannelInfo.h.
References darkCurrent_.
Referenced by setChannelInfo().
|
inline |
|
inline |
Definition at line 192 of file HBHEChannelInfo.h.
References SplitLinear::begin, mps_fire::end, gain_, mps_fire::i, nSamples_, pedestal_, and rawCharge_.
|
inline |
Definition at line 142 of file HBHEChannelInfo.h.
References fcByPE_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), MahiFit::phase1Debug(), and setChannelInfo().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 140 of file HBHEChannelInfo.h.
References hasEffectivePedestals_.
Referenced by HBHEPhase1Reconstructor::processData().
|
inline |
|
inline |
Definition at line 139 of file HBHEChannelInfo.h.
References hasTimeInfo_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Debug(), and HBHEPhase1Reconstructor::processData().
|
inline |
Definition at line 131 of file HBHEChannelInfo.h.
References id_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply().
|
inline |
Definition at line 145 of file HBHEChannelInfo.h.
References dropped_.
Referenced by HBHEPhase1Reconstructor::processData().
|
inline |
Definition at line 143 of file HBHEChannelInfo.h.
References lambda_.
Referenced by setChannelInfo().
|
inline |
Definition at line 144 of file HBHEChannelInfo.h.
References noisecorr_.
Referenced by MahiFit::phase1Apply(), and setChannelInfo().
|
inline |
Definition at line 136 of file HBHEChannelInfo.h.
References nSamples_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 232 of file HBHEChannelInfo.h.
References adc_, SplitLinear::begin, mps_fire::end, mps_fire::i, and nSamples_.
|
inline |
Definition at line 202 of file HBHEChannelInfo.h.
References SplitLinear::begin, mps_fire::end, mps_fire::i, MAXSAMPLES, nSamples_, pedestal_, submitPVResolutionJobs::q, and rawCharge_.
|
inline |
Definition at line 216 of file HBHEChannelInfo.h.
References SplitLinear::begin, MillePedeFileConverter_cfg::e, mps_fire::end, gain_, mps_fire::i, MAXSAMPLES, nSamples_, pedestal_, and rawCharge_.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 134 of file HBHEChannelInfo.h.
References recoShape_.
Referenced by HcalDeterministicFit::phase1Apply(), and setChannelInfo().
|
inline |
|
inline |
Definition at line 83 of file HBHEChannelInfo.h.
References capid_, darkCurrent(), darkCurrent_, hcalRecHitTable_cff::detId, dropped_, fcByPE(), fcByPE_, hasCapidError_, hasLinkError_, id_, lambda(), lambda_, MAXSAMPLES, noisecorr(), noisecorr_, nSamples_, recoShape(), recoShape_, and soi_.
Referenced by HBHEPhase1Reconstructor::processData().
|
inline |
Definition at line 111 of file HBHEChannelInfo.h.
References adc_, dFcPerADC_, g, gain_, gainWidth(), gainWidth_, QIE10Task_cfi::ped, pedestal_, pedestalWidth_, submitPVResolutionJobs::q, rawCharge_, riseTime_, and submitPVValidationJobs::t.
Referenced by HBHEPhase1Reconstructor::processData().
|
inline |
Definition at line 137 of file HBHEChannelInfo.h.
References soi_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 179 of file HBHEChannelInfo.h.
References hasTimeInfo_, nSamples_, riseTime_, soi_, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 173 of file HBHEChannelInfo.h.
References dFcPerADC_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
|
inline |
Definition at line 168 of file HBHEChannelInfo.h.
References gain_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
|
inline |
Definition at line 166 of file HBHEChannelInfo.h.
References pedestal_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 167 of file HBHEChannelInfo.h.
References pedestalWidth_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 165 of file HBHEChannelInfo.h.
References rawCharge_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inline |
Definition at line 174 of file HBHEChannelInfo.h.
References hasTimeInfo_, riseTime_, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
Referenced by MahiFit::phase1Debug().
|
private |
Definition at line 269 of file HBHEChannelInfo.h.
Referenced by adc(), peakAdcValue(), setSample(), and tsAdc().
|
private |
Definition at line 285 of file HBHEChannelInfo.h.
Referenced by capid(), clear(), and setChannelInfo().
|
private |
Definition at line 260 of file HBHEChannelInfo.h.
Referenced by clear(), darkCurrent(), and setChannelInfo().
|
private |
Definition at line 273 of file HBHEChannelInfo.h.
Referenced by dFcPerADC(), setSample(), and tsDFcPerADC().
|
private |
Definition at line 295 of file HBHEChannelInfo.h.
Referenced by clear(), isDropped(), setChannelInfo(), and tagAsDropped().
|
private |
Definition at line 261 of file HBHEChannelInfo.h.
Referenced by clear(), fcByPE(), and setChannelInfo().
|
private |
Definition at line 254 of file HBHEChannelInfo.h.
Referenced by energyInWindow(), gain(), peakEnergyTS(), setSample(), tsEnergy(), and tsGain().
|
private |
Definition at line 257 of file HBHEChannelInfo.h.
Referenced by gainWidth(), setSample(), and tsGainWidth().
|
private |
Definition at line 299 of file HBHEChannelInfo.h.
Referenced by clear(), hasCapidError(), and setChannelInfo().
|
private |
Definition at line 291 of file HBHEChannelInfo.h.
Referenced by hasEffectivePedestals().
|
private |
Definition at line 298 of file HBHEChannelInfo.h.
Referenced by clear(), hasLinkError(), and setChannelInfo().
|
private |
Definition at line 288 of file HBHEChannelInfo.h.
Referenced by hasTimeInfo(), riseTime(), soiRiseTime(), and tsRiseTime().
|
private |
Definition at line 242 of file HBHEChannelInfo.h.
Referenced by clear(), id(), and setChannelInfo().
|
private |
Definition at line 262 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 263 of file HBHEChannelInfo.h.
Referenced by clear(), noisecorr(), and setChannelInfo().
|
private |
Definition at line 279 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), clear(), energyInWindow(), nSamples(), peakAdcValue(), peakChargeTS(), peakEnergyTS(), setChannelInfo(), and soiRiseTime().
|
private |
Definition at line 248 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), energyInWindow(), peakChargeTS(), peakEnergyTS(), pedestal(), setSample(), tsCharge(), tsEnergy(), and tsPedestal().
|
private |
Definition at line 251 of file HBHEChannelInfo.h.
Referenced by pedestalWidth(), setSample(), and tsPedestalWidth().
|
private |
Definition at line 245 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), energyInWindow(), peakChargeTS(), peakEnergyTS(), rawCharge(), setSample(), tsCharge(), tsEnergy(), and tsRawCharge().
|
private |
Definition at line 276 of file HBHEChannelInfo.h.
Referenced by clear(), recoShape(), and setChannelInfo().
|
private |
Definition at line 266 of file HBHEChannelInfo.h.
Referenced by riseTime(), setSample(), soiRiseTime(), and tsRiseTime().
|
private |
Definition at line 282 of file HBHEChannelInfo.h.
Referenced by clear(), setChannelInfo(), soi(), and soiRiseTime().