1 #ifndef _ots_ROCCosmicRayVetoInterface_h_
2 #define _ots_ROCCosmicRayVetoInterface_h_
7 #include "dtcInterfaceLib/DTC.h"
8 #include "otsdaq-mu2e/ROCCore/ROCCoreVInterface.h"
18 const ConfigurationTree &theXDAQContextConfigTree,
19 const std::string &interfaceConfigurationPath);
25 void configure (
void)
override;
26 void halt (
void)
override;
27 void pause (
void)
override;
28 void resume (
void)
override;
29 void start (std::string runNumber)
override;
30 void stop (
void)
override;
31 bool running (
void)
override;
36 virtual void writeEmulatorRegister (uint16_t address, uint16_t data_to_write)
override;
37 virtual uint16_t readEmulatorRegister (uint16_t address)
override;
53 void RocConfigure(
bool gr=
false);
54 void ResetTxBuffers();
57 void DoTheCRV_Dance (__ARGS__);
58 void GetFirmwareVersion (__ARGS__);
59 void GetTestCounter (__ARGS__);
60 void SetTestCounter (__ARGS__);
61 void HardReset (__ARGS__);
62 void SoftReset (__ARGS__);
63 void RocConfigure (__ARGS__);
64 void GetStatus (__ARGS__);
65 void FiberRx (__ARGS__);
66 void FiberTx (__ARGS__);
67 void SetLoopbackMode (__ARGS__);