1 #ifndef DataFormats_HcalRecHit_HBHEChannelInfo_h_ 2 #define DataFormats_HcalRecHit_HBHEChannelInfo_h_ 26 inline explicit HBHEChannelInfo(
const bool hasTimeFromTDC,
const bool hasEffectivePed)
48 const unsigned iSoi,
const int iCapid,
50 const bool linkError,
const bool capidError,
51 const bool dropThisChannel)
70 inline void setSample(
const unsigned ts,
const uint8_t rawADC,
71 const float differentialChargeGain,
const double q,
72 const double ped,
const double pedWidth,
93 inline unsigned soi()
const {
return soi_;}
110 inline const uint8_t*
adc()
const {
return adc_;}
125 inline uint8_t
tsAdc(
const unsigned ts)
const {
return adc_[ts];}
142 for (
unsigned i=begin;
i<imax; ++
i)
151 for (
unsigned i=begin;
i<imax; ++
i)
161 double dmax = -DBL_MAX;
163 for (
unsigned i=begin;
i<imax; ++
i)
178 double dmax = -DBL_MAX;
180 for (
unsigned i=begin;
i<imax; ++
i)
198 for (
unsigned i=begin;
i<imax; ++
i)
264 #endif // DataFormats_HcalRecHit_HBHEChannelInfo_h_
unsigned peakChargeTS(const unsigned begin, const unsigned end) const
double tsGain(const unsigned ts) const
HBHEChannelInfo(const bool hasTimeFromTDC, const bool hasEffectivePed)
const float * dFcPerADC() const
double tsGainWidth(const unsigned ts) const
double gainWidth_[MAXSAMPLES]
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)
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
const double * gainWidth() const
float dFcPerADC_[MAXSAMPLES]
double tsRawCharge(const unsigned ts) const
static const unsigned MAXSAMPLES
double pedestalWidth_[MAXSAMPLES]
float soiRiseTime() const
const double * pedestal() 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
const double * gain() const
const double * rawCharge() const
double tsEnergy(const unsigned ts) const
float tsRiseTime(const unsigned ts) const
double tsPedestalWidth(const unsigned ts) const
const uint8_t * adc() const
double rawCharge_[MAXSAMPLES]
constexpr float UNKNOWN_T_NOTDC
bool hasLinkError() 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)
const float * riseTime() const
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
const double * pedestalWidth() const
float tsDFcPerADC(const unsigned ts) const
float riseTime_[MAXSAMPLES]