FACT++  1.0
template<class T>
int StateMachineFAD< T >::SetupZFits ( const EventImp evt,
const std::function< void(int32_t)> &  func 
)
inlineprivate

Definition at line 1311 of file fadctrl.cc.

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

Referenced by StateMachineFAD< T >::StateMachineFAD().

1312  {
1313  if (!CheckEventSize(evt.GetSize(), "SetupZFits", 2))
1314  return T::kSM_FatalError;
1315 
1316  func(evt.GetShort());
1317  return T::GetCurrentState();
1318  }
int16_t GetShort() const
Definition: EventImp.h:91
bool CheckEventSize(size_t has, const char *name, size_t size)
Definition: fadctrl.cc:562
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: