![]() |
![]() |
#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 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 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_ |
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.
|
inlineconstexpr |
Definition at line 21 of file HBHEChannelInfo.h.
|
inlineexplicitconstexpr |
Definition at line 44 of file HBHEChannelInfo.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 178 of file HBHEChannelInfo.h.
References begin, end, mps_fire::i, nSamples_, pedestal_, and rawCharge_.
|
inlineconstexpr |
Definition at line 67 of file HBHEChannelInfo.h.
References capid_, darkCurrent_, dropped_, fcByPE_, hasCapidError_, hasLinkError_, id_, lambda_, nSamples_, recoShape_, soi_, and mitigatedMETSequence_cff::U.
Referenced by BeautifulSoup.Tag::setString().
|
inlineconstexpr |
Definition at line 136 of file HBHEChannelInfo.h.
References darkCurrent_.
Referenced by setChannelInfo().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 186 of file HBHEChannelInfo.h.
References begin, end, gain_, mps_fire::i, nSamples_, pedestal_, and rawCharge_.
|
inlineconstexpr |
Definition at line 137 of file HBHEChannelInfo.h.
References fcByPE_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), MahiFit::phase1Debug(), and setChannelInfo().
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 135 of file HBHEChannelInfo.h.
References hasEffectivePedestals_.
Referenced by HBHEPhase1Reconstructor::processData().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 134 of file HBHEChannelInfo.h.
References hasTimeInfo_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Debug(), and HBHEPhase1Reconstructor::processData().
|
inlineconstexpr |
Definition at line 126 of file HBHEChannelInfo.h.
References id_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply().
|
inlineconstexpr |
Definition at line 139 of file HBHEChannelInfo.h.
References dropped_.
Referenced by HBHEPhase1Reconstructor::processData().
|
inlineconstexpr |
Definition at line 138 of file HBHEChannelInfo.h.
References lambda_.
Referenced by setChannelInfo().
|
inlineconstexpr |
Definition at line 131 of file HBHEChannelInfo.h.
References nSamples_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
Definition at line 226 of file HBHEChannelInfo.h.
References adc_, begin, end, mps_fire::i, and nSamples_.
|
inlineconstexpr |
Definition at line 196 of file HBHEChannelInfo.h.
References begin, end, mps_fire::i, MAXSAMPLES, nSamples_, pedestal_, data-class-funcs::q, and rawCharge_.
|
inlineconstexpr |
Definition at line 210 of file HBHEChannelInfo.h.
References begin, MillePedeFileConverter_cfg::e, end, gain_, mps_fire::i, MAXSAMPLES, nSamples_, pedestal_, and rawCharge_.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 129 of file HBHEChannelInfo.h.
References recoShape_.
Referenced by HcalDeterministicFit::phase1Apply(), and setChannelInfo().
|
inlineconstexpr |
Definition at line 151 of file HBHEChannelInfo.h.
References hasTimeInfo_, and riseTime_.
|
inlineconstexpr |
Definition at line 80 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().
|
inlineconstexpr |
Definition at line 106 of file HBHEChannelInfo.h.
References adc_, dFcPerADC_, g, gain_, gainWidth(), gainWidth_, pedestal_, pedestalWidth_, data-class-funcs::q, rawCharge_, riseTime_, and OrderedSet::t.
Referenced by HBHEPhase1Reconstructor::processData().
|
inlineconstexpr |
Definition at line 132 of file HBHEChannelInfo.h.
References soi_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
Definition at line 173 of file HBHEChannelInfo.h.
References hasTimeInfo_, nSamples_, riseTime_, soi_, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 167 of file HBHEChannelInfo.h.
References dFcPerADC_.
Referenced by PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 162 of file HBHEChannelInfo.h.
References gain_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 160 of file HBHEChannelInfo.h.
References pedestal_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
Definition at line 161 of file HBHEChannelInfo.h.
References pedestalWidth_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
Definition at line 159 of file HBHEChannelInfo.h.
References rawCharge_.
Referenced by HcalDeterministicFit::phase1Apply(), PulseShapeFitOOTPileupCorrection::phase1Apply(), MahiFit::phase1Apply(), and MahiFit::phase1Debug().
|
inlineconstexpr |
Definition at line 168 of file HBHEChannelInfo.h.
References hasTimeInfo_, riseTime_, and HcalSpecialTimes::UNKNOWN_T_NOTDC.
Referenced by MahiFit::phase1Debug().
|
private |
Definition at line 262 of file HBHEChannelInfo.h.
Referenced by adc(), peakAdcValue(), setSample(), and tsAdc().
|
private |
Definition at line 278 of file HBHEChannelInfo.h.
Referenced by capid(), clear(), and setChannelInfo().
|
private |
Definition at line 254 of file HBHEChannelInfo.h.
Referenced by clear(), darkCurrent(), and setChannelInfo().
|
private |
Definition at line 266 of file HBHEChannelInfo.h.
Referenced by dFcPerADC(), setSample(), and tsDFcPerADC().
|
private |
Definition at line 288 of file HBHEChannelInfo.h.
Referenced by clear(), isDropped(), setChannelInfo(), and tagAsDropped().
|
private |
Definition at line 255 of file HBHEChannelInfo.h.
Referenced by clear(), fcByPE(), and setChannelInfo().
|
private |
Definition at line 248 of file HBHEChannelInfo.h.
Referenced by energyInWindow(), gain(), peakEnergyTS(), setSample(), tsEnergy(), and tsGain().
|
private |
Definition at line 251 of file HBHEChannelInfo.h.
Referenced by gainWidth(), setSample(), and tsGainWidth().
|
private |
Definition at line 292 of file HBHEChannelInfo.h.
Referenced by clear(), hasCapidError(), and setChannelInfo().
|
private |
Definition at line 284 of file HBHEChannelInfo.h.
Referenced by hasEffectivePedestals().
|
private |
Definition at line 291 of file HBHEChannelInfo.h.
Referenced by clear(), hasLinkError(), and setChannelInfo().
|
private |
Definition at line 281 of file HBHEChannelInfo.h.
Referenced by hasTimeInfo(), riseTime(), soiRiseTime(), and tsRiseTime().
|
private |
Definition at line 236 of file HBHEChannelInfo.h.
Referenced by clear(), id(), and setChannelInfo().
|
private |
Definition at line 256 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 272 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), clear(), energyInWindow(), nSamples(), peakAdcValue(), peakChargeTS(), peakEnergyTS(), setChannelInfo(), and soiRiseTime().
|
private |
Definition at line 242 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), energyInWindow(), peakChargeTS(), peakEnergyTS(), pedestal(), setSample(), tsCharge(), tsEnergy(), and tsPedestal().
|
private |
Definition at line 245 of file HBHEChannelInfo.h.
Referenced by pedestalWidth(), setSample(), and tsPedestalWidth().
|
private |
Definition at line 239 of file HBHEChannelInfo.h.
Referenced by chargeInWindow(), energyInWindow(), peakChargeTS(), peakEnergyTS(), rawCharge(), setSample(), tsCharge(), tsEnergy(), and tsRawCharge().
|
private |
Definition at line 269 of file HBHEChannelInfo.h.
Referenced by clear(), recoShape(), and setChannelInfo().
|
private |
Definition at line 259 of file HBHEChannelInfo.h.
Referenced by riseTime(), setSample(), soiRiseTime(), and tsRiseTime().
|
private |
Definition at line 275 of file HBHEChannelInfo.h.
Referenced by clear(), setChannelInfo(), soi(), and soiRiseTime().