#include <AdcTimingMitigator.h>
Definition at line 41 of file AdcTimingMitigator.h.
Definition at line 16 of file AdcTimingMitigator_tool.cc.
21 const string myname =
"AdcTimingMitigator::ctor: ";
24 cout << myname <<
"Configuration parameters:" <<
endl;
28 cout << myname <<
" FEMBs: [";
31 if ( first ) first =
false;
static constexpr double ps
QTextStream & endl(QTextStream &s)
Reimplemented from AdcChannelTool.
Definition at line 41 of file AdcTimingMitigator_tool.cc.
42 const string myname =
"AdcTimingMitigator::update: ";
46 cout << myname <<
"Skipping channel " << acd.
channel() <<
" in FEMB " << acd.
fembID() <<
endl;
53 cout << myname <<
"Skipping channel " << acd.
channel() <<
" with no samples." <<
endl;
62 cout << myname <<
"Updating samples for channel " << acd.
channel() <<
"." <<
endl;
64 for (
Index j=0; ; ++j ) {
70 if ( i2 >= acd.
samples.size() )
break;
73 yj = (y2 - y1)*(xj - i1) + y1;
75 cout << myname <<
" " << j <<
": " << y1 <<
" , " << y2 <<
" ==> " << yj <<
endl;
79 cout << myname <<
" " << j <<
": " <<
" Keeping first sample: " << yj <<
endl;
82 newsams.push_back(yj);
85 cout << myname <<
"Updating samples for channel " << acd.
channel() <<
": size " 86 << nsam <<
" --> " << newsams.size() <<
endl;
std::vector< AdcSignal > AdcSignalVector
QTextStream & endl(QTextStream &s)
int AdcTimingMitigator::m_LogLevel |
|
private |
float AdcTimingMitigator::m_SamplingOffset |
|
private |
float AdcTimingMitigator::m_SamplingRatio |
|
private |
The documentation for this class was generated from the following files: