#include <ProtoduneOnlineChannel.h>
Definition at line 27 of file ProtoduneOnlineChannel.h.
Index ProtoduneOnlineChannel::get |
( |
Index |
chanOff | ) |
const |
|
overridevirtual |
Implements IndexMapTool.
Definition at line 161 of file ProtoduneOnlineChannel_tool.cc.
162 const string myname =
"ProtoduneOnlineChannel::get: ";
163 if ( chanOff >= 15360 ) {
164 if (
m_LogLevel > 1 ) cout << myname <<
"Invalid offline channel: " << chanOff <<
endl;
168 Index iapa = chanOff/2560;
170 Index ichApa = chanOff%2560;
173 Index ichPla = ichApa;
181 ifmbApa = (ifmbApa + 10) % 20;
182 }
else if ( ipla == 1 ) {
183 ifmbApa = 19 - ifmbApa;
184 }
else if ( ipla == 2 ) {
185 ifmbApa = 19 - ifmbApa;
188 Index ifmbDet = 20*iapa + ifmbApa;
192 if (
m_LogLevel > 1 ) cout << myname <<
"ERROR: Invalid FEMB channel: " << chanOff
193 <<
" --> " << iwchFemb <<
endl;
199 if ( ipla == 0 || ipla == 3 ) iwchFemb =
nwirFemb[ipla] - 1 - iwchFemb;
201 Index ichFemb = ipla == 0 ?
uch[iwchFemb] :
202 ipla == 1 ?
vch[iwchFemb] :
205 Index ichOn = 128*ifmbDet + ichFemb;
QTextStream & endl(QTextStream &s)
Index ProtoduneOnlineChannel::m_LogLevel |
|
private |
Index ProtoduneOnlineChannel::nwirFemb[4] = {40, 40, 48, 48} |
|
private |
Index ProtoduneOnlineChannel::nwirPlane[4] = {800, 800, 480, 480} |
|
private |
Index ProtoduneOnlineChannel::uch[40] |
|
private |
Index ProtoduneOnlineChannel::vch[40] |
|
private |
Index ProtoduneOnlineChannel::zch[48] |
|
private |
The documentation for this class was generated from the following files: