1 #define TRACE_NAME "transfer_driver"
3 #include "artdaq/DAQdata/Globals.hh"
4 #include "artdaq/DAQrate/TransferTest.hh"
5 #include "fhiclcpp/make_ParameterSet.h"
7 int main(
int argc,
char* argv[])
9 artdaq::configureMessageFacility(
"transfer_driver");
10 TLOG(TLVL_INFO) <<
"BEGIN";
12 std::cout <<
"argc:" << argc << std::endl;
13 for (
int i = 0; i < argc; ++i)
15 std::cout <<
"argv[" << i <<
"]: " << argv[i] << std::endl;
20 std::cerr << argv[0] <<
" requires 2 arguments, " << argc - 1 <<
" provided" << std::endl;
21 std::cerr <<
"Usage: " << argv[0] <<
" <my_rank> <fhicl_document>" << std::endl;
25 my_rank = atoi(argv[1]);
27 cet::filepath_lookup lookup_policy(
"FHICL_FILE_PATH");
28 fhicl::ParameterSet ps;
30 auto fhicl = std::string(argv[2]);
31 make_ParameterSet(fhicl, lookup_policy, ps);
38 TLOG(TLVL_INFO) <<
"END";
Test a set of TransferInterface plugins.
static int partition_number_
The partition number of the current application.