1 #ifndef _ots_CFOFrontEndInterface_h_
2 #define _ots_CFOFrontEndInterface_h_
6 #include "otsdaq-mu2e/CFOandDTCCore/CFOandDTCCoreVInterface.h"
8 #include "cfoInterfaceLib/CFO_Registers.h"
18 const ConfigurationTree& theXDAQContextConfigTree,
19 const std::string& interfaceConfigurationPath);
25 void configure (
void);
29 void start (std::string runNumber);
35 float MeasureLoopback (
int linkToLoopback);
36 virtual void readStatus (
void)
override;
37 int getLinkStatus (
void);
50 float delay_rms[8][6][8];
51 float delay_failed[8][6][8];
57 CFOLib::CFO_Registers* thisCFO_;
60 m_ioc_reg_access_t reg_access_;
62 int loopback_distribution_[10000];
63 unsigned int min_distribution_;
64 unsigned int max_distribution_;
65 float average_loopback_;
67 float failed_loopback_;
68 unsigned int initial_9100_;
69 unsigned int initial_9114_;
70 unsigned int initial_91a0_;
71 unsigned int initial_9154_;
CFOFrontEndInterface(const std::string &interfaceUID, const ConfigurationTree &theXDAQContextConfigTree, const std::string &interfaceConfigurationPath)