Go to the documentation of this file. 1 #ifndef DataFormats_HcalRecHit_HBHEChannelInfo_h_
2 #define DataFormats_HcalRecHit_HBHEChannelInfo_h_
45 constexpr
explicit HBHEChannelInfo(
const bool hasTimeFromTDC,
const bool hasEffectivePed)
93 const bool capidError,
94 const bool dropThisChannel) {
112 const uint8_t rawADC,
113 const float differentialChargeGain,
116 const double pedWidth,
137 constexpr
unsigned soi()
const {
return soi_; }
155 constexpr uint8_t
const*
adc()
const {
return adc_; }
168 constexpr
double tsGain(
const unsigned ts)
const {
return gain_[ts]; }
172 constexpr uint8_t
tsAdc(
const unsigned ts)
const {
return adc_[ts]; }
187 for (
unsigned i = begin;
i < imax; ++
i)
195 for (
unsigned i = begin;
i < imax; ++
i)
204 double dmax = -DBL_MAX;
206 for (
unsigned i = begin;
i < imax; ++
i) {
218 double dmax = -DBL_MAX;
220 for (
unsigned i = begin;
i < imax; ++
i) {
235 for (
unsigned i = begin;
i < imax; ++
i)
304 #endif // DataFormats_HcalRecHit_HBHEChannelInfo_h_
constexpr float tsDFcPerADC(const unsigned ts) const
constexpr float const * riseTime() const
constexpr double chargeInWindow(const unsigned begin, const unsigned end) const
constexpr bool hasTimeInfo() const
double rawCharge_[MAXSAMPLES]
constexpr float tsRiseTime(const unsigned ts) const
constexpr unsigned nSamples() const
constexpr double const * gain() const
constexpr unsigned peakChargeTS(const unsigned begin, const unsigned end) const
constexpr double tsPedestalWidth(const unsigned ts) const
constexpr double tsGain(const unsigned ts) const
constexpr uint8_t peakAdcValue(const unsigned begin, const unsigned end) const
constexpr double darkCurrent() const
constexpr double lambda() const
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 int capid() const
constexpr double const * pedestalWidth() const
constexpr uint8_t const * adc() const
constexpr double const * pedestal() const
double gainWidth_[MAXSAMPLES]
constexpr bool isDropped() const
constexpr double fcByPE() const
constexpr double const * rawCharge() const
constexpr int recoShape() const
constexpr float UNKNOWN_T_NOTDC
bool hasEffectivePedestals_
constexpr uint8_t tsAdc(const unsigned ts) const
constexpr double tsPedestal(const unsigned ts) const
constexpr bool hasEffectivePedestals() const
constexpr HBHEChannelInfo()
constexpr double const * gainWidth() const
constexpr HBHEChannelInfo(const bool hasTimeFromTDC, const bool hasEffectivePed)
constexpr float soiRiseTime() const
constexpr double tsCharge(const unsigned ts) const
constexpr bool hasLinkError() const
float riseTime_[MAXSAMPLES]
constexpr double energyInWindow(const unsigned begin, const unsigned end) const
float dFcPerADC_[MAXSAMPLES]
constexpr HcalDetId id() const
double pedestal_[MAXSAMPLES]
constexpr float const * dFcPerADC() const
static const unsigned MAXSAMPLES
double pedestalWidth_[MAXSAMPLES]
std::ostream & operator<<(std::ostream &s, const HBHEChannelInfo &inf)
constexpr bool hasCapidError() const
constexpr double tsRawCharge(const unsigned ts) const
constexpr unsigned soi() const
constexpr void tagAsDropped()
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 double tsEnergy(const unsigned ts) const
constexpr unsigned peakEnergyTS(const unsigned begin, const unsigned end) const
constexpr double noisecorr() const
constexpr double tsGainWidth(const unsigned ts) const
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