tdaq-develop-2025-02-12
Return to top level
InterfaceTestMain.cc
1
/*
2
#include "otsdaq-demo/FEInterfaces/FEWInterfacesManager.h"
3
#include "otsdaq/ConfigurationDataFormats/ConfigurationKey.h"
4
#include "otsdaq/ConfigurationInterface/ConfigurationManager.h"
5
6
#include "otsdaq-demo/FEInterfaces/FEWOtsGenericInterface.h"
7
#include "otsdaq-demo/FEInterfaces/FEWPurdueFSSRInterface.h"
8
#include "otsdaq/FECore/FEVInterface.h"
9
10
#include "otsdaq/ConfigurationInterface/ConfigurationInterface.h"
11
#include "otsdaq/TablePlugins/Configurations.h"
12
//#include "otsdaq/ConfigurationDataFormats/FrontEndTable.h"
13
#include "otsdaq/ConfigurationDataFormats/FEWOtsUDPHardwareTable.h"
14
15
#include <iostream>
16
17
#include "../FEInterfaces/FEWOtsUDPFSSRInterface.h"
18
#include "../FEInterfaces/FEWOtsUDPHCALInterface.h"
19
20
using namespace ots;
21
*/
22
int
main() {
return
1; }
23
/*
24
//Variables
25
const int supervisorInstance_ = 1;
26
const int configurationKeyValue_ = 0;
27
const ConfigurationKey* theConfigurationKey_ = new
28
ConfigurationKey(configurationKeyValue_);
29
31
//INSERTED GLOBALLY IN THE CODE
34
supervisorInstance_);
37
theConfigurationManager_->setupFEWSupervisorConfiguration(theConfigurationKey_,supervisorInstance_);
40
42
//Getting just the informations about the FEWInterface
43
47
variable because if false it takes it from the database
55
if(configurations->findKOC(theConfigurationKey_->key(),"FEWOtsUDPHardwareConfiguration"))
58
"OTS_UDP", interfaceConfiguration_);
60
"OTS_UDP", interfaceConfiguration_);
62
"OTS_UDP", "FSSR", interfaceConfiguration_);
64
interfaceConfiguration_);
70
71
return 0;
72
}
73
*/
otsdaq-components
otsdaq-components
InterfaceTest
InterfaceTestMain.cc
Generated on Mon Feb 17 2025 17:02:02 for tdaq-develop-2025-02-12 by
1.9.1