CbmRoot
Loading...
Searching...
No Matches
services/tsa_dump/ProgramOptions.h
Go to the documentation of this file.
1/* Copyright (C) 2024 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5#pragma once
6
7#include "MicrosliceDescriptor.hpp"
8
9#include <cstdint> // For SIZE_MAX
10#include <string>
11
12struct ProgramOptions {
13 ProgramOptions(int argc, char** argv);
14
15 std::string sFullFilename;
16 uint64_t uNbTimeslices = 0;
17 // FIXME: define "reserved/undefined" system ID somewhere (best in flesnet microslice descriptor header)
18 uint16_t selSysId = 0x00;
19 size_t nbMsPerComp = SIZE_MAX;
20
21 void ConvertSysId(const std::string& option);
22};
Program options class for the "cbmreco_fairrun" application.
ProgramOptions(int argc, char **argv)
void ConvertSysId(const std::string &option)