#include <AdcChannelTrimmer.h>
|
using | Index = unsigned int |
|
using | Index = unsigned int |
|
Definition at line 39 of file AdcChannelTrimmer.h.
Definition at line 15 of file AdcChannelTrimmer_tool.cc.
19 const string myname =
"AdcChannelTrimmer::ctor: ";
22 cout << myname <<
"Configuration: " <<
endl;
static constexpr double ps
QTextStream & endl(QTextStream &s)
AdcChannelTrimmer::~AdcChannelTrimmer |
( |
| ) |
|
|
overridedefault |
Reimplemented from AdcChannelTool.
Definition at line 63 of file AdcChannelTrimmer_tool.cc.
64 const string myname =
"AdcChannelTrimmer::update: ";
67 if ( action != -1 )
return ret;
74 ret.
setInt(
"trimAction", 1);
void setInt(Name name, int val)
int getInt(Name name, int def=0) const
DataMap view(const AdcChannelData &acd) const override
Reimplemented from AdcChannelTool.
Definition at line 31 of file AdcChannelTrimmer_tool.cc.
32 const string myname =
"AdcChannelTrimmer::view: ";
36 ret.
setInt(
"trimAction", 0);
37 if (
m_LogLevel >= 3 ) cout <<
"Samples have requested length of " 42 ret.
setInt(
"trimAction", 3);
43 if (
m_LogLevel >= 3 ) cout <<
"WARNING: No samples found." <<
endl;
47 Index udsam = idsam < 0 ? -idsam : idsam;
48 ret.
setInt(
"trimLength", idsam);
50 ret.
setInt(
"trimAction", 2);
51 cout << myname <<
"ERROR: Channel " << acd.
channel() <<
" sample length " << nsam
54 ret.
setInt(
"trimAction", -1);
55 if (
m_LogLevel >= 2 ) cout << myname <<
"Trimming channel " << acd.
channel() <<
" from "
void setInt(Name name, int val)
QTextStream & endl(QTextStream &s)
Index AdcChannelTrimmer::m_Length |
|
private |
int AdcChannelTrimmer::m_LogLevel |
|
private |
Index AdcChannelTrimmer::m_MaxTrim |
|
private |
The documentation for this class was generated from the following files: