#include <LArRampBlob.h>
Definition at line 17 of file LArRampBlob.h.
◆ anonymous enum
◆ LArRampBlob()
LArRampBlob::LArRampBlob |
( |
| ) |
|
◆ ~LArRampBlob()
LArRampBlob::~LArRampBlob |
( |
| ) |
|
◆ ADC2DACByHash()
◆ readBlob()
Definition at line 18 of file LArRampBlob.cxx.
23 if (!attrList)
return;
33 for(;gainIt!=gainIt_e;++gainIt) {
34 const unsigned gain=gainIt->first;
36 msg << MSG::ERROR <<
"Found unexpected COOL-channel (=gain) number:" <<
gain <<
endmsg;
41 if (blobSize==0) blobSize=rampBlob.size();
45 if (blobSize!=rampBlob.size()) {
46 msg << MSG::ERROR <<
"Unequal blob size (" << blobSize <<
"/"
47 << rampBlob.size() <<
")" <<
endmsg;
50 if (
m_nPoints!=attr[
"nPoints"].data<unsigned>()) {
51 msg << MSG::ERROR <<
"Unequal polynom degree (" <<
m_nPoints <<
"/"
52 << attr[
"nPoints"].data<
unsigned>() <<
")" <<
endmsg;
56 m_pRamp[
gain]=
static_cast<const float*
>(rampBlob.startingAddress());
61 msg << MSG::ERROR <<
"Number of points is zero!" <<
endmsg;
◆ m_nChannels
unsigned LArRampBlob::m_nChannels |
|
protected |
◆ m_nPoints
unsigned LArRampBlob::m_nPoints |
|
protected |
◆ m_pRamp
std::vector<const float*> LArRampBlob::m_pRamp |
|
private |
The documentation for this class was generated from the following files: