$treeview $search $mathjax $extrastylesheet
otsdaq_components
v2_03_00
$projectbrief
|
$projectbrief
|
$searchbox |
00001 /* 00002 #include "otsdaq-core/ConfigurationDataFormats/ConfigurationKey.h" 00003 #include "otsdaq-core/ConfigurationInterface/ConfigurationManager.h" 00004 #include "otsdaq-demo/FEInterfaces/FEWInterfacesManager.h" 00005 00006 #include "otsdaq-core/FECore/FEVInterface.h" 00007 #include "otsdaq-demo/FEInterfaces/FEWOtsGenericInterface.h" 00008 #include "otsdaq-demo/FEInterfaces/FEWPurdueFSSRInterface.h" 00009 00010 #include "otsdaq-core/ConfigurationInterface/ConfigurationInterface.h" 00011 #include "otsdaq-core/TablePluginDataFormats/Configurations.h" 00012 //#include "otsdaq-core/ConfigurationDataFormats/FrontEndTable.h" 00013 #include "otsdaq-core/ConfigurationDataFormats/FEWOtsUDPHardwareTable.h" 00014 00015 #include <iostream> 00016 00017 #include "../FEInterfaces/FEWOtsUDPFSSRInterface.h" 00018 #include "../FEInterfaces/FEWOtsUDPHCALInterface.h" 00019 00020 using namespace ots; 00021 */ 00022 int main() { return 1; } 00023 /* 00024 //Variables 00025 const int supervisorInstance_ = 1; 00026 const int configurationKeyValue_ = 0; 00027 const ConfigurationKey* theConfigurationKey_ = new 00028 ConfigurationKey(configurationKeyValue_); 00029 00031 //INSERTED GLOBALLY IN THE CODE 00032 // ConfigurationManager* theConfigurationManager_ = new ConfigurationManager; 00033 // FEWInterfacesManager theFEWInterfacesManager_(theConfigurationManager_, 00034 supervisorInstance_); 00035 // 00036 // 00037 theConfigurationManager_->setupFEWSupervisorConfiguration(theConfigurationKey_,supervisorInstance_); 00038 // theFEWInterfacesManager_.configure(); 00040 00042 //Getting just the informations about the FEWInterface 00043 00044 // const int fecInterfaceNumber_ = 0; 00045 // ConfigurationInterface* theInterface_; 00046 // theInterface_ = ConfigurationInterface::getInstance(true);//FIXME This will be 00047 variable because if false it takes it from the database 00048 // Configurations* configurations = 0; 00049 // theInterface_->get(configurations); 00050 // FEConfiguration* frontEndConfiguration = 0; 00051 // theInterface_->get(frontEndConfiguration, theConfigurationKey_, configurations); 00052 // FEWOtsUDPHardwareConfiguration* interfaceConfiguration_ = 0; 00053 // 00054 // 00055 if(configurations->findKOC(theConfigurationKey_->key(),"FEWOtsUDPHardwareConfiguration")) 00056 // theInterface_->get(interfaceConfiguration_, theConfigurationKey_, configurations); 00058 "OTS_UDP", interfaceConfiguration_); 00060 "OTS_UDP", interfaceConfiguration_); 00061 // FEVInterface* theFEWInterface = new FEWOtsGenericInterface(fecInterfaceNumber_, 00062 "OTS_UDP", "FSSR", interfaceConfiguration_); 00064 interfaceConfiguration_); 00065 // 00066 // theFEWInterface->configureFEW(); 00067 // // theFEWInterface->start(); 00068 // //theFEWInterface->configureDetector(); 00070 00071 return 0; 00072 } 00073 */