00001 #include "proto/artdaqapp.hh" 00002 #include "artdaq/Application/LoadParameterSet.hh" 00003 00004 int main(int argc, char* argv[]) 00005 { 00006 fhicl::ParameterSet config_ps = LoadParameterSet<artdaq::artdaqapp::Config>(argc, argv, "boardreader", "The BoardReader is responsible for reading out one or more pieces of connected hardware, creating Fragments and sending them to the EventBuilders."); 00007 artdaq::detail::TaskType task = artdaq::detail::TaskType::BoardReaderTask; 00008 00009 artdaq::artdaqapp::runArtdaqApp(task, config_ps); 00010 }