1 #include "proto/TransferTest.hh"
2 #include "artdaq/DAQdata/Globals.hh"
3 #include "fhiclcpp/make_ParameterSet.h"
6 int main(
int argc,
char* argv[])
9 TRACE(10,
"s_r_handles main enter");
11 std::cout <<
"argc:" << argc << std::endl;
12 for (
int i = 0; i < argc; ++i)
14 std::cout <<
"argv[" << i <<
"]: " << argv[i] << std::endl;
19 std::cerr << argv[0] <<
" requires 2 arguments, " << argc - 1 <<
" provided" << std::endl;
20 std::cerr <<
"Usage: " << argv[0] <<
" <my_rank> <fhicl_document>" << std::endl;
24 my_rank = atoi(argv[1]);
26 cet::filepath_lookup lookup_policy(
"FHICL_FILE_PATH");
27 fhicl::ParameterSet ps;
29 auto fhicl = std::string(argv[2]);
30 make_ParameterSet(fhicl, lookup_policy, ps);
35 TRACE(11,
"s_r_handles main return");
void configureMessageFacility(char const *progname, bool useConsole=true)
Configure and start the message facility. Provide the program name so that messages will be appropria...
Test a set of TransferInterface plugins.