CbmRoot
Loading...
Searching...
No Matches
qareport/ApplicationParameter.h
Go to the documentation of this file.
1/* Copyright (C) 2025 GSI/VECC, Darmstadt/Kolkata
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Souvik Chattopadhyay[committer] */
4
5#pragma once
6
7#include <string>
8#include <vector>
9
23 std::string qaFile;
24 std::string setup;
25 std::string outDir = "./report";
26 std::string engine = "latex";
27 std::string figExt = "png";
28 bool ignoreSame = false;
29
31 ApplicationParameter(int argc, char* argv[]);
32
33 private:
34 void ParseCommandLine(int argc, char* argv[]);
35};
Class to parse and store command-line arguments.
std::string figExt
png | svg | pdf
std::string engine
html | latex | beamer
bool ignoreSame
ignore "same" results in comparison tables
void ParseCommandLine(int argc, char *argv[])
ApplicationParameter(int argc, char *argv[])
Construction parses argv immediately; throws std::runtime_error on error.
std::string outDir
where figures & script will go
std::string qaFile
input ROOT file