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

Definition at line 1660 of file biasctrl.cc.

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

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

1661  {
1662  if (!CheckEventSize(evt.GetSize(), "SetGlobalDac", 2))
1663  return false;
1664 
1665  fBias.RampAllDacs(evt.GetUShort());
1666 
1667  return T::GetCurrentState();
1668  }
uint16_t GetUShort() const
Definition: EventImp.h:92
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: biasctrl.cc:1639
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: