Go to the documentation of this file. 1 #ifndef DataFormats_HcalRecHit_HBHEChannelInfo_h_
2 #define DataFormats_HcalRecHit_HBHEChannelInfo_h_
44 constexpr
explicit HBHEChannelInfo(
const bool hasTimeFromTDC,
const bool hasEffectivePed)
89 const bool capidError,
90 const bool dropThisChannel) {
107 const uint8_t rawADC,
108 const float differentialChargeGain,
111 const double pedWidth,
132 constexpr
unsigned soi()
const {
return soi_; }
149 constexpr uint8_t
const*
adc()
const {
return adc_; }
162 constexpr
double tsGain(
const unsigned ts)
const {
return gain_[ts]; }
166 constexpr uint8_t
tsAdc(
const unsigned ts)
const {
return adc_[ts]; }
181 for (
unsigned i =
begin;
i < imax; ++
i)
189 for (
unsigned i =
begin;
i < imax; ++
i)
198 double dmax = -DBL_MAX;
200 for (
unsigned i =
begin;
i < imax; ++
i) {
212 double dmax = -DBL_MAX;
214 for (
unsigned i =
begin;
i < imax; ++
i) {
229 for (
unsigned i =
begin;
i < imax; ++
i)
297 #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
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 bool linkError, const bool capidError, const bool dropThisChannel)
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 double tsEnergy(const unsigned ts) const
constexpr unsigned peakEnergyTS(const unsigned begin, const unsigned end) 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