1 #ifndef DataFormats_HcalRecHit_HBHEChannelInfo_h_ 2 #define DataFormats_HcalRecHit_HBHEChannelInfo_h_ 56 const unsigned iSoi,
const int iCapid,
58 const bool linkError,
const bool capidError,
59 const bool dropThisChannel)
79 const float differentialChargeGain,
const double q,
80 const double ped,
const double pedWidth,
150 for (
unsigned i=begin;
i<imax; ++
i)
159 for (
unsigned i=begin;
i<imax; ++
i)
169 double dmax = -DBL_MAX;
171 for (
unsigned i=begin;
i<imax; ++
i)
186 double dmax = -DBL_MAX;
188 for (
unsigned i=begin;
i<imax; ++
i)
206 for (
unsigned i=begin;
i<imax; ++
i)
272 #endif // DataFormats_HcalRecHit_HBHEChannelInfo_h_
uint8_t const * adc() const
unsigned peakChargeTS(const unsigned begin, const unsigned end) const
double const * gainWidth() const
double tsGain(const unsigned ts) const
HBHEChannelInfo(const bool hasTimeFromTDC, const bool hasEffectivePed)
double tsGainWidth(const unsigned ts) const
double gainWidth_[MAXSAMPLES]
double const * pedestalWidth() const
double const * gain() const
bool hasEffectivePedestals() const
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)
double const * pedestal() const
bool hasEffectivePedestals_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
double tsPedestal(const unsigned ts) const
float dFcPerADC_[MAXSAMPLES]
double const * rawCharge() const
double tsRawCharge(const unsigned ts) const
static const unsigned MAXSAMPLES
double pedestalWidth_[MAXSAMPLES]
float soiRiseTime() const
double energyInWindow(const unsigned begin, const unsigned end) const
double tsCharge(const unsigned ts) const
double chargeInWindow(const unsigned begin, const unsigned end) const
double pedestal_[MAXSAMPLES]
double darkCurrent() const
float const * dFcPerADC() const
double tsEnergy(const unsigned ts) const
float tsRiseTime(const unsigned ts) const
double tsPedestalWidth(const unsigned ts) const
double rawCharge_[MAXSAMPLES]
constexpr float UNKNOWN_T_NOTDC
bool hasLinkError() const
float const * 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)
unsigned nSamples() const
uint8_t peakAdcValue(const unsigned begin, const unsigned end) const
uint8_t tsAdc(const unsigned ts) const
bool hasCapidError() const
unsigned peakEnergyTS(const unsigned begin, const unsigned end) const
float tsDFcPerADC(const unsigned ts) const
float riseTime_[MAXSAMPLES]