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

Definition at line 1708 of file biasctrl.cc.

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

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

1709  {
1710  if (!CheckEventSize(evt.GetSize(), "SetGlobalVolt", 4))
1711  return false;
1712 
1713  fBias.RampAllVoltages(evt.GetFloat());
1714 
1715  return T::GetCurrentState();
1716  }
float GetFloat() const
Definition: EventImp.h:97
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: