#include <VDColdboxChannelGroups.h>
Definition at line 16 of file VDColdboxChannelGroups.h.
Definition at line 13 of file VDColdboxChannelGroups_tool.cc.
15 const string myname =
"VDColdboxChannelGroups::ctor: ";
18 if ( ptm ==
nullptr ) {
19 if (
m_LogLevel >= 1 ) cout << myname <<
"ERROR: Tool manager not found." <<
endl;
21 string crtName =
"channelRanges";
24 if (
m_LogLevel >= 1 ) cout << myname <<
"ERROR: Channel range tool not found: " << crtName <<
endl;
static constexpr double ps
QTextStream & endl(QTextStream &s)
VDColdboxChannelGroups::~VDColdboxChannelGroups |
( |
| ) |
|
|
overridedefault |
Implements IndexRangeGroupTool.
Definition at line 32 of file VDColdboxChannelGroups_tool.cc.
33 const string myname =
"VDColdboxChannelGroups::get: ";
35 cout << myname <<
"ERROR: Channel range tool was not found." <<
endl;
39 const NameVector ufnams = {
"femb01u",
"femb02u",
"femb03u",
"femb04u",
"femb05u",
"femb06u",
40 "femb07u",
"femb08u",
"femb09u",
"femb10u",
"femb11u"};
41 const NameVector yfnams = {
"femb01y",
"femb02y",
"femb03y",
"femb04y",
42 "femb11y",
"femb12y",
"femb13y"};
43 const NameVector zfnams = {
"femb04z",
"femb05z",
"femb06z",
"femb07z",
44 "femb08z",
"femb09z",
"femb10z",
"femb11z"};
46 fnams.insert(fnams.end(), yfnams.begin(), yfnams.end());
47 fnams.insert(fnams.end(), zfnams.begin(), zfnams.end());
48 if ( gnam ==
"fembviews" ) {
49 return makeGroup(gnam, fnams,
"FEMB views");
50 }
else if ( gnam ==
"fembu" ) {
51 return makeGroup(gnam, ufnams,
"U FEMBs");
52 }
else if ( gnam ==
"femby" ) {
53 return makeGroup(gnam, yfnams,
"Y FEMBs");
54 }
else if ( gnam ==
"fembz" ) {
55 return makeGroup(gnam, zfnams,
"Z FEMBs");
60 if (
m_LogLevel >= 2 ) cout << myname <<
"Range not found: " << gnam <<
endl;
IndexRangeGroup makeGroup(Name nam, NameVector rnams, Name lab) const
QTextStream & endl(QTextStream &s)
int VDColdboxChannelGroups::m_LogLevel |
|
private |
The documentation for this class was generated from the following files: