Project
Loading...
Searching...
No Matches
GeneratorHybridParam.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_GENERATORHYBRIDPARAM_H_
15
#define ALICEO2_EVENTGEN_GENERATORHYBRIDPARAM_H_
16
17
#include "
CommonUtils/ConfigurableParam.h
"
18
#include "
CommonUtils/ConfigurableParamHelper.h
"
19
20
namespace
o2
21
{
22
namespace
eventgen
23
{
24
31
struct
GeneratorHybridParam
:
public
o2::conf::ConfigurableParamHelper
<GeneratorHybridParam> {
32
std::string
configFile
=
""
;
// JSON configuration file for the generators
33
bool
randomize
=
false
;
// randomize the order of the generators, if not generator using fractions
34
int
num_workers
= 1;
// number of threads available for asyn/parallel event generation
35
O2ParamDef
(
GeneratorHybridParam
,
"GeneratorHybrid"
);
36
};
37
38
}
// end namespace eventgen
39
}
// end namespace o2
40
41
#endif
// ALICEO2_EVENTGEN_GENERATORHYBRIDPARAM_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::GeneratorHybridParam
Definition
GeneratorHybridParam.h:31
o2::eventgen::GeneratorHybridParam::O2ParamDef
O2ParamDef(GeneratorHybridParam, "GeneratorHybrid")
o2::eventgen::GeneratorHybridParam::configFile
std::string configFile
Definition
GeneratorHybridParam.h:32
o2::eventgen::GeneratorHybridParam::randomize
bool randomize
Definition
GeneratorHybridParam.h:33
o2::eventgen::GeneratorHybridParam::num_workers
int num_workers
Definition
GeneratorHybridParam.h:34
Generators
include
Generators
GeneratorHybridParam.h
Generated on Tue Feb 25 2025 23:16:43 for Project by
1.9.8