FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
runTutorial1.cxx
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
#include "../macros/run_tutorial1_binary.C"
9
#include "
FairLogger.h
"
10
#include "
FairSimConfig.h
"
11
12
int
main
(
int
argc,
char
* argv[])
13
{
14
FairSimConfig
simConfig;
15
16
int
value = simConfig.
ParseCommandLine
(argc, argv);
17
18
if
(value) {
19
return
0;
20
}
21
22
if
(simConfig.
IsHelp
()) {
23
simConfig.
PrintHelpMessage
();
24
return
0;
25
}
26
27
LOG(info) <<
"Executing runTutorial1"
;
28
29
run_tutorial1_main
(simConfig);
30
31
return
0;
32
}
FairSimConfig::ParseCommandLine
int ParseCommandLine(int argc, char *argv[])
Definition:
FairSimConfig.cxx:41
FairSimConfig.h
run_tutorial1_main
void run_tutorial1_main(const FairSimConfig &config)
Definition:
run_tutorial1_binary.C:37
main
int main(void)
Definition:
cxx11-test-__func__.cpp:1
FairSimConfig
Definition:
FairSimConfig.h:19
FairSimConfig::IsHelp
bool IsHelp() const
Definition:
FairSimConfig.h:29
FairLogger.h
FairSimConfig::PrintHelpMessage
void PrintHelpMessage()
Definition:
FairSimConfig.cxx:83
FairRoot
examples
simulation
Tutorial1
src
runTutorial1.cxx
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5