ATLAS Offline Software
Loading...
Searching...
No Matches
han_results_print.cxx File Reference
#include <cstdlib>
#include <filesystem>
#include <iostream>
#include <string>
#include "CxxUtils/checker_macros.h"
#include "DataQualityUtils/HanOutputFile.h"
Include dependency graph for han_results_print.cxx:

Go to the source code of this file.

Functions

int main ATLAS_NOT_THREAD_SAFE (int argc, char *argv[])

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

int main ATLAS_NOT_THREAD_SAFE ( int argc,
char * argv[] )

Definition at line 27 of file han_results_print.cxx.

27 {
28 CmdLineArgs arg;
29 int rc = arg.parse(argc, argv);
30
31 if (rc != 0) return rc;
32
33 std::string resultsName(arg.hresults);
34
35 if (!std::filesystem::exists(resultsName)) {
36 std::cerr << "File " << resultsName << " does not seem to exist. Exiting" << std::endl;
37 return 1;
38 }
39
40 dqutils::HanOutputFile of(resultsName);
41
42 of.printAllDQAssessments();
43 return 0;
44}
static Double_t rc