1 #ifndef DataFormats_HcalRecHit_HBHEChannelInfo_h_ 2 #define DataFormats_HcalRecHit_HBHEChannelInfo_h_ 93 const bool capidError,
94 const bool dropThisChannel) {
112 const uint8_t rawADC,
113 const float differentialChargeGain,
116 const double pedWidth,
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 uint8_t const * adc() const
constexpr double const * pedestal() const
constexpr double tsEnergy(const unsigned ts) const
constexpr double noisecorr() const
constexpr double fcByPE() const
constexpr int recoShape() const
constexpr bool hasCapidError() const
constexpr float tsDFcPerADC(const unsigned ts) const
constexpr float const * riseTime() const
constexpr double tsRawCharge(const unsigned ts) const
constexpr bool hasEffectivePedestals() const
constexpr double chargeInWindow(const unsigned begin, const unsigned end) const
constexpr float tsRiseTime(const unsigned ts) const
double gainWidth_[MAXSAMPLES]
constexpr unsigned peakEnergyTS(const unsigned begin, const unsigned end) const
constexpr double tsGainWidth(const unsigned ts) const
constexpr HBHEChannelInfo(const bool hasTimeFromTDC, const bool hasEffectivePed)
constexpr double tsPedestalWidth(const unsigned ts) 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
constexpr double const * gainWidth() const
float dFcPerADC_[MAXSAMPLES]
constexpr HcalDetId id() const
static const unsigned MAXSAMPLES
constexpr int capid() const
constexpr double const * pedestalWidth() const
double pedestalWidth_[MAXSAMPLES]
constexpr float soiRiseTime() const
constexpr double const * rawCharge() const
constexpr double tsGain(const unsigned ts) const
constexpr uint8_t peakAdcValue(const unsigned begin, const unsigned end) const
constexpr bool hasLinkError() const
constexpr double energyInWindow(const unsigned begin, const unsigned end) const
constexpr unsigned soi() 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 double noisecorr, const bool linkError, const bool capidError, const bool dropThisChannel)
double pedestal_[MAXSAMPLES]
constexpr HBHEChannelInfo()
std::ostream & operator<<(std::ostream &s, const HBHEChannelInfo &inf)
constexpr bool isDropped() const
constexpr bool hasTimeInfo() const
constexpr double tsCharge(const unsigned ts) const
double rawCharge_[MAXSAMPLES]
constexpr unsigned nSamples() const
constexpr uint8_t tsAdc(const unsigned ts) const
constexpr double tsPedestal(const unsigned ts) const
constexpr void tagAsDropped()
constexpr float UNKNOWN_T_NOTDC
constexpr unsigned peakChargeTS(const unsigned begin, const unsigned end) const
constexpr float const * dFcPerADC() const
constexpr double darkCurrent() const
constexpr double const * gain() 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)
float riseTime_[MAXSAMPLES]