11#include <framework/logging/Logger.h>
49 for (
unsigned int bin = 0; bin <
m_wiregains.size(); ++bin) {
60 if (wire < 0 || (
unsigned)wire >=
m_wiregains.size())
61 B2WARNING(
"Asking for a CDC Wire that is not found!");
70 if (wire < 0 || (
unsigned)wire >=
m_wiregains.size()) {
71 B2WARNING(
"Asking for a CDC Wire that is not found!");
dE/dx wire gain calibration constants
CDCDedxWireGain()
Default constructor.
ClassDef(CDCDedxWireGain, 5)
ClassDef.
float getWireGain(int wire) const
Return wire gain.
CDCDedxWireGain(const std::vector< double > &wiregains)
Constructor.
CDCDedxWireGain & operator*=(CDCDedxWireGain const &rhs)
Combine payloads.
~CDCDedxWireGain()
Destructor.
std::vector< double > m_wiregains
Note, we are using dense packed wire number (0-14336) defined as follows: const int iwire = (superlay...
void setWireGain(int wire, double gain)
Set wire gain.
Abstract base class for different kinds of events.