1 #ifndef DataFormats_HcalRecHit_HBHEChannelInfo_h_ 2 #define DataFormats_HcalRecHit_HBHEChannelInfo_h_ 47 const unsigned iSoi,
const int iCapid,
49 const bool linkError,
const bool capidError,
50 const bool dropThisChannel)
69 inline void setSample(
const unsigned ts,
const uint8_t rawADC,
70 const float differentialChargeGain,
const double q,
71 const double ped,
const double pedWidth,
92 inline unsigned soi()
const {
return soi_;}
108 inline const uint8_t*
adc()
const {
return adc_;}
123 inline uint8_t
tsAdc(
const unsigned ts)
const {
return adc_[ts];}
140 for (
unsigned i=begin;
i<imax; ++
i)
149 for (
unsigned i=begin;
i<imax; ++
i)
159 double dmax = -DBL_MAX;
161 for (
unsigned i=begin;
i<imax; ++
i)
176 double dmax = -DBL_MAX;
178 for (
unsigned i=begin;
i<imax; ++
i)
196 for (
unsigned i=begin;
i<imax; ++
i)
259 #endif // DataFormats_HcalRecHit_HBHEChannelInfo_h_
HBHEChannelInfo(const bool hasTimeFromTDC)
unsigned peakChargeTS(const unsigned begin, const unsigned end) const
double tsGain(const unsigned ts) const
const float * dFcPerADC() const
double tsGainWidth(const unsigned ts) const
double gainWidth_[MAXSAMPLES]
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)
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]