#include <iostream>
#include <string>
#include <cstdlib>
#include "DataQualityInterfaces/HanConfig.h"
#include "DataQualityInterfaces/ConditionsSingleton.h"
#include "CxxUtils/checker_macros.h"
#include "CxxUtils/ubsan_suppress.h"
#include "TInterpreter.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 35 of file han_config_gen.cxx.
36{
38
40 int rc =
arg.parse( argc, argv );
42
43 std::string infileName(
arg.mconfig );
45
46
47 std::string outfileName;
48
49 std::string::size_type
s = infileName.size();
50 std::string::size_type
p = infileName.rfind(
'.', s );
51 outfileName = infileName.substr( 0, p );
52 outfileName += ".hcfg";
53
55 config.AssembleAndSave( infileName, outfileName,
arg.m_connectionString,
arg.m_runNumber,
arg.m_bulk);
56 return 0;
57}
static ConditionsSingleton & getInstance()
void setCondition(const std::string &c)
void ubsan_suppress(void(*func)())
Helper for suppressing ubsan warnings.