FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
vector<char> ConnectionBias::GetCmd
(
uint16_t
board
,
uint16_t
channel
,
Command_t
cmd
,
uint16_t
dac
=
0
)
inline
private
Definition at line
106
of file
biasctrl.cc
.
References
data
.
107
{
108
vector<char>
data
(3);
109
110
/*
111
if (board>kNumBoards)
112
return;
113
if (channel>kNumChannelsPerBoard)
114
return;
115
if (dac>0xfff)
116
return;
117
*/
118
119
data
[0] = (cmd<<5) | (board<<1) | (((channel&16)>>4) & 1);
120
data
[1] = (channel<<4) | (dac>>8);
121
data
[2] = dac&0xff;
122
123
return
data
;
124
}
data
float data[4 *1440]
Definition:
EventBuilderWrapper.h:95
ConnectionBias
Generated on Sun Sep 18 2016 20:50:44 for FACT++ by
1.8.11