Project
Loading...
Searching...
No Matches
GeneratorHepMCParam.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_GENERATORHEPMCPARAM_H_
15
#define ALICEO2_EVENTGEN_GENERATORHEPMCPARAM_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
32
struct
HepMCGenConfig
{
38
int
version
= 0;
40
uint64_t
eventsToSkip
= 0;
43
std::string
fileName
=
""
;
53
bool
prune
=
false
;
55
bool
randomize
=
false
;
57
bool
roundRobin
=
false
;
59
bool
reshuffleOnRepeat
=
true
;
61
unsigned
int
rngseed
= 0;
62
};
63
64
// construct a configurable param singleton out of the HepMCGenConfig struct
65
struct
GeneratorHepMCParam
:
public
o2::conf::ConfigurableParamPromoter
<GeneratorHepMCParam, HepMCGenConfig> {
66
O2ParamDef
(
GeneratorHepMCParam
,
"HepMC"
);
67
};
68
69
}
// end namespace eventgen
70
}
// end namespace o2
71
72
#endif
// ALICEO2_EVENTGEN_GENERATORHEPMCPARAM_H_
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamPromoter
Definition
ConfigurableParamHelper.h:247
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
FlattenRestore.h:23
o2::eventgen::GeneratorHepMCParam
Definition
GeneratorHepMCParam.h:65
o2::eventgen::GeneratorHepMCParam::O2ParamDef
O2ParamDef(GeneratorHepMCParam, "HepMC")
o2::eventgen::HepMCGenConfig
Definition
GeneratorHepMCParam.h:32
o2::eventgen::HepMCGenConfig::reshuffleOnRepeat
bool reshuffleOnRepeat
Definition
GeneratorHepMCParam.h:59
o2::eventgen::HepMCGenConfig::eventsToSkip
uint64_t eventsToSkip
Definition
GeneratorHepMCParam.h:40
o2::eventgen::HepMCGenConfig::rngseed
unsigned int rngseed
Definition
GeneratorHepMCParam.h:61
o2::eventgen::HepMCGenConfig::fileName
std::string fileName
Definition
GeneratorHepMCParam.h:43
o2::eventgen::HepMCGenConfig::roundRobin
bool roundRobin
Definition
GeneratorHepMCParam.h:57
o2::eventgen::HepMCGenConfig::randomize
bool randomize
Definition
GeneratorHepMCParam.h:55
o2::eventgen::HepMCGenConfig::version
int version
Definition
GeneratorHepMCParam.h:38
o2::eventgen::HepMCGenConfig::prune
bool prune
Definition
GeneratorHepMCParam.h:53
Generators
include
Generators
GeneratorHepMCParam.h
Generated on Sun Sep 13 2026 16:10:12 for Project by
1.9.8