FACT++  1.0
template<class T , class S >
int StateMachineBias< T, S >::SetChannelDac ( const EventImp evt)
inlineprivate

Definition at line 1684 of file biasctrl.cc.

References EventImp::Get(), and EventImp::GetSize().

Referenced by StateMachineBias< T, S >::StateMachineBias().

1685  {
1686  if (!CheckEventSize(evt.GetSize(), "SetChannelDac", 4))
1687  return false;
1688 
1689  fBias.RampSingleChannelDac(evt.Get<uint16_t>(), evt.Get<uint16_t>(2));
1690 
1691  return T::GetCurrentState();
1692  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: biasctrl.cc:1639
T Get(size_t offset=0) const
Definition: EventImp.h:66
virtual size_t GetSize() const
Definition: EventImp.h:55

+ Here is the call graph for this function:

+ Here is the caller graph for this function: