ATLAS Offline Software
Functions
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 }
dqutils::HanOutputFile
Definition: HanOutputFile.h:32
LArCellNtuple.argv
argv
Definition: LArCellNtuple.py:152
DQHistogramMergeRegExp.argc
argc
Definition: DQHistogramMergeRegExp.py:20
create_dcsc_inputs_sqlite.arg
list arg
Definition: create_dcsc_inputs_sqlite.py:48
python.dummyaccess.exists
def exists(filename)
Definition: dummyaccess.py:9
python.trfValidateRootFile.rc
rc
Definition: trfValidateRootFile.py:355