Project
Loading...
Searching...
No Matches
GeneratorFileOrCmdParam.h
Go to the documentation of this file.
1
// Copyright 2023-2099 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
13
14
#ifndef ALICEO2_EVENTGEN_GENERATORFILEORCMDPARAM_H_
15
#define ALICEO2_EVENTGEN_GENERATORFILEORCMDPARAM_H_
16
17
#include "
CommonUtils/ConfigurableParam.h
"
18
#include "
CommonUtils/ConfigurableParamHelper.h
"
19
#include <string>
20
21
namespace
o2
22
{
23
namespace
eventgen
24
{
25
31
struct
GeneratorFileOrCmdParam
:
public
o2::conf::ConfigurableParamHelper
<GeneratorFileOrCmdParam> {
32
std::string
fileNames
=
""
;
33
std::string
cmd
=
""
;
// Program command line to spawn
34
std::string
outputSwitch
=
">"
;
35
std::string
seedSwitch
=
"-s"
;
36
std::string
bMaxSwitch
=
"-b"
;
37
std::string
nEventsSwitch
=
"-n"
;
38
std::string
backgroundSwitch
=
"&"
;
39
O2ParamDef
(
GeneratorFileOrCmdParam
,
"GeneratorFileOrCmd"
);
40
};
41
42
struct
FileOrCmdGenConfig
{
43
std::string
fileNames
=
""
;
44
std::string
cmd
=
""
;
// Program command line to spawn
45
};
46
47
}
// end namespace eventgen
48
}
// end namespace o2
49
50
#endif
// ALICEO2_EVENTGEN_GENERATORFILEORCMDPARAM_H_
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:78
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::eventgen::FileOrCmdGenConfig
Definition
GeneratorFileOrCmdParam.h:42
o2::eventgen::FileOrCmdGenConfig::fileNames
std::string fileNames
Definition
GeneratorFileOrCmdParam.h:43
o2::eventgen::FileOrCmdGenConfig::cmd
std::string cmd
Definition
GeneratorFileOrCmdParam.h:44
o2::eventgen::GeneratorFileOrCmdParam
Definition
GeneratorFileOrCmdParam.h:31
o2::eventgen::GeneratorFileOrCmdParam::bMaxSwitch
std::string bMaxSwitch
Definition
GeneratorFileOrCmdParam.h:36
o2::eventgen::GeneratorFileOrCmdParam::cmd
std::string cmd
Definition
GeneratorFileOrCmdParam.h:33
o2::eventgen::GeneratorFileOrCmdParam::outputSwitch
std::string outputSwitch
Definition
GeneratorFileOrCmdParam.h:34
o2::eventgen::GeneratorFileOrCmdParam::backgroundSwitch
std::string backgroundSwitch
Definition
GeneratorFileOrCmdParam.h:38
o2::eventgen::GeneratorFileOrCmdParam::fileNames
std::string fileNames
Definition
GeneratorFileOrCmdParam.h:32
o2::eventgen::GeneratorFileOrCmdParam::nEventsSwitch
std::string nEventsSwitch
Definition
GeneratorFileOrCmdParam.h:37
o2::eventgen::GeneratorFileOrCmdParam::O2ParamDef
O2ParamDef(GeneratorFileOrCmdParam, "GeneratorFileOrCmd")
o2::eventgen::GeneratorFileOrCmdParam::seedSwitch
std::string seedSwitch
Definition
GeneratorFileOrCmdParam.h:35
Generators
include
Generators
GeneratorFileOrCmdParam.h
Generated on Tue Feb 25 2025 23:16:43 for Project by
1.9.8