Project
Loading...
Searching...
No Matches
GeneratorExternalParam.h
Go to the documentation of this file.
1
// Copyright 2019-2020 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_GENERATOREXTERNALPARAM_H_
15
#define ALICEO2_EVENTGEN_GENERATOREXTERNALPARAM_H_
16
17
#include "
CommonUtils/ConfigurableParam.h
"
18
#include "
CommonUtils/ConfigurableParamHelper.h
"
19
20
namespace
o2
21
{
22
namespace
eventgen
23
{
24
30
struct
GeneratorExternalParam
:
public
o2::conf::ConfigurableParamHelper
<GeneratorExternalParam> {
31
std::string
fileName
=
""
;
32
std::string
funcName
=
""
;
33
bool
markAllAsPrimary
=
true
;
// marks all generator level particles as "primary" with kPPrimary as process (like Pythia8 is doing)
34
O2ParamDef
(
GeneratorExternalParam
,
"GeneratorExternal"
);
35
};
36
37
struct
ExternalGenConfig
{
38
std::string
fileName
=
""
;
39
std::string
funcName
=
""
;
40
std::string
iniFile
=
""
;
// if ini file is given, the configuration will be taken from this and the other 2 fields neglected
41
};
42
43
}
// end namespace eventgen
44
}
// end namespace o2
45
46
#endif
// ALICEO2_EVENTGEN_GENERATOREXTERNALPARAM_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::ExternalGenConfig
Definition
GeneratorExternalParam.h:37
o2::eventgen::ExternalGenConfig::fileName
std::string fileName
Definition
GeneratorExternalParam.h:38
o2::eventgen::ExternalGenConfig::funcName
std::string funcName
Definition
GeneratorExternalParam.h:39
o2::eventgen::ExternalGenConfig::iniFile
std::string iniFile
Definition
GeneratorExternalParam.h:40
o2::eventgen::GeneratorExternalParam
Definition
GeneratorExternalParam.h:30
o2::eventgen::GeneratorExternalParam::markAllAsPrimary
bool markAllAsPrimary
Definition
GeneratorExternalParam.h:33
o2::eventgen::GeneratorExternalParam::fileName
std::string fileName
Definition
GeneratorExternalParam.h:31
o2::eventgen::GeneratorExternalParam::O2ParamDef
O2ParamDef(GeneratorExternalParam, "GeneratorExternal")
o2::eventgen::GeneratorExternalParam::funcName
std::string funcName
Definition
GeneratorExternalParam.h:32
Generators
include
Generators
GeneratorExternalParam.h
Generated on Tue Feb 25 2025 23:16:43 for Project by
1.9.8