CbmRoot
Loading...
Searching...
No Matches
reco/mq/runUnpack.cxx
Go to the documentation of this file.
1/* Copyright (C) 2022 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau, Dominik Smith [committer] */
4
5#include "CbmDevUnpack.h"
6#include "runFairMQDevice.h"
7
8#include <iomanip>
9#include <string>
10
11namespace bpo = boost::program_options;
12using namespace std;
13
14void addCustomOptions(bpo::options_description& options)
15{
16 options.add_options()("TsNameIn", bpo::value<std::string>()->default_value("ts-request"),
17 "MQ channel name for raw TS data");
18 options.add_options()("TsNameOut", bpo::value<std::string>()->default_value("unpts_0"),
19 "MQ channel name for unpacked TS data");
20}
21
22FairMQDevicePtr getDevice(const FairMQProgOptions& /*config*/) { return new CbmDevUnpack(); }
Hash for CbmL1LinkKey.
FairMQDevicePtr getDevice(const FairMQProgOptions &)
void addCustomOptions(bpo::options_description &options)