#include <FembLinearCalibration.h>
Definition at line 51 of file FembLinearCalibration.h.
Definition at line 18 of file FembLinearCalibration_tool.cc.
26 const string myname =
"FembLinearCalibration::ctor: ";
31 sslab <<
"Gains[" <<
m_Gains.size() <<
"]" << (
m_Gains.size() ?
": " :
" ");;
32 cout << myname <<
setw(w) << sslab.str();
34 if ( icha > 0 ) cout <<
", ";
35 if ( icha >= 10 ) { cout <<
"...";
break; }
41 sslab <<
"Channel ADC min[" <<
m_AdcMins.size() <<
"]" << (
m_AdcMins.size() ?
": " :
" ");;
42 cout << myname <<
setw(w) << sslab.str();
44 if ( icha > 0 ) cout <<
", ";
45 if ( icha >= 10 ) { cout <<
"...";
break; }
51 sslab <<
"Channel ADC max[" <<
m_AdcMaxs.size() <<
"]" << (
m_AdcMaxs.size() ?
": " :
" ");
52 cout << myname <<
setw(w) << sslab.str();
54 if ( icha > 0 ) cout <<
", ";
55 if ( icha >= 10 ) { cout <<
"...";
break; }
std::vector< AdcCount > AdcCountVector
static constexpr double ps
Q_EXPORT QTSManip setw(int w)
std::vector< AdcSignal > AdcSignalVector
QTextStream & endl(QTextStream &s)
Reimplemented from AdcChannelTool.
Definition at line 72 of file FembLinearCalibration_tool.cc.
73 const string myname =
"FembLinearCalibration::update: ";
78 cout << myname <<
"Data does not have a channel ID." <<
endl;
84 cout << myname <<
"Gain not found for channel " << icha <<
endl;
90 cout << myname <<
"ADC min not found for channel " << icha <<
endl;
96 cout << myname <<
"ADC max not found for channel " << icha <<
endl;
109 for (
Index isam=0; isam<nsam; ++isam ) {
111 if ( acd.
raw[isam] <= adcmin ) {
114 }
else if ( acd.
raw[isam] >= adcmax ) {
120 res.
setInt(
"calibSampleCount", nsam);
121 res.
setInt(
"calibUnderflowCount", nunder);
122 res.
setInt(
"calibOverflowCount", nover);
123 res.
setInt(
"calibAdcMin", adcmin);
124 res.
setInt(
"calibAdcMax", adcmax);
void setFloat(Name name, float val)
DataMap & setStatus(int stat)
const AdcFlag AdcUnderflow
const AdcFlag AdcOverflow
void setInt(Name name, int val)
static Index badChannel()
QTextStream & endl(QTextStream &s)
AdcCount FembLinearCalibration::m_AdcMax |
|
private |
AdcCount FembLinearCalibration::m_AdcMin |
|
private |
int FembLinearCalibration::m_LogLevel |
|
private |
The documentation for this class was generated from the following files: