#include <iostream>
#include <string>
#include <cstdlib>
#include "TPython.h"
#include "CxxUtils/checker_macros.h"
#include "DataQualityInterfaces/HanApp.h"
#include "DataQualityInterfaces/ConditionsSingleton.h"
Go to the source code of this file.
◆ ATLAS_NOT_THREAD_SAFE()
| int main ATLAS_NOT_THREAD_SAFE |
( |
int | argc, |
|
|
char * | argv[] ) |
Definition at line 37 of file han.cxx.
38{
39 TPython::Exec("import logging; logging.basicConfig()");
41 int rc =
arg.parse( argc, argv );
43
44 std::string inputName(
arg.data );
45 std::string configName(
arg.hconfig );
48 if(
arg.output !=
"" ) {
50 }
51 else {
52 std::string::size_type
s = inputName.size();
53 std::string::size_type
p = inputName.rfind(
'.', s );
56 }
57
59 if (
arg.cmdlineConditions !=
"") {
61 <<std::endl;
62 }
64 return app.
Analyze( configName, inputName, outputName, pathName );
65}
static ConditionsSingleton & getInstance()
void setCondition(const std::string &c)
const std::string & getCondition() const
virtual int Analyze(const std::string &configName_, const std::string &inputName_, const std::string &outputName_, const std::string &path_="")