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

Definition at line 1765 of file ftmctrl.cc.

References data, EventImp::GetSize(), and EventImp::Ptr().

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

1766  {
1767  if (!CheckEventSize(evt.GetSize(), "SetTriggerSeq", 6))
1768  return T::kSM_FatalError;
1769 
1770  const uint16_t *data = evt.Ptr<uint16_t>();
1771 
1772  if (!fFTM.SetTriggerSeq(data))
1773  T::Warn("SetTriggerSeq - Value out of range.");
1774 
1775  return T::GetCurrentState();
1776  }
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: ftmctrl.cc:1467
float data[4 *1440]
const T * Ptr(size_t offset=0) const
Definition: EventImp.h:74
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: