#include <LArShapeBlob.h>
Definition at line 18 of file LArShapeBlob.h.
◆ anonymous enum
◆ LArShapeBlob()
LArShapeBlob::LArShapeBlob |
( |
| ) |
|
◆ ~LArShapeBlob()
LArShapeBlob::~LArShapeBlob |
( |
| ) |
|
◆ readBlob()
Definition at line 17 of file LArShapeBlob.cxx.
24 if (!attrList)
return;
37 for(;gainIt!=gainIt_e;++gainIt) {
38 const unsigned gain=gainIt->first;
40 msg << MSG::ERROR <<
"Found unexpected COOL-channel (=gain) number:" <<
gain <<
endmsg;
47 if (blobSize==0) blobSize=shapeaBlob.size();
51 if (blobSize!=shapeaBlob.size() || blobSize!=shapebBlob.size()) {
52 msg << MSG::ERROR <<
"Unequal blob size (" << blobSize <<
"/"
53 << shapeaBlob.size() <<
"/" << shapebBlob.size() <<
")" <<
endmsg;
56 if (
m_nSamples!=attr[
"nSamples"].data<unsigned>()) {
57 msg << MSG::ERROR <<
"Unequal number of samples (" <<
m_nSamples <<
"/"
58 << attr[
"nSamples"].data<
unsigned>() <<
")" <<
endmsg;
63 m_pShape[
gain]=
static_cast<const float*
>(shapeaBlob.startingAddress());
64 m_pShapeDer[
gain]=
static_cast<const float*
>(shapebBlob.startingAddress());
69 msg << MSG::ERROR <<
"Number of samples is zero!" <<
endmsg;
◆ ShapeByHash()
◆ ShapeDerByHash()
◆ m_nChannels
unsigned LArShapeBlob::m_nChannels |
|
protected |
◆ m_nSamples
unsigned LArShapeBlob::m_nSamples |
|
protected |
◆ m_pShape
std::vector<const float*> LArShapeBlob::m_pShape |
|
protected |
◆ m_pShapeDer
std::vector<const float*> LArShapeBlob::m_pShapeDer |
|
protected |
◆ m_pTimeOffset
std::vector<const float*> LArShapeBlob::m_pTimeOffset |
|
protected |
The documentation for this class was generated from the following files: