Project
Loading...
Searching...
No Matches
EventDecayerParam.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
12
#ifndef ALICEO2_EVENTGEN_EVENTDECAYERPARAM_H_
13
#define ALICEO2_EVENTGEN_EVENTDECAYERPARAM_H_
14
15
#include "
CommonUtils/ConfigurableParam.h
"
16
#include "
CommonUtils/ConfigurableParamHelper.h
"
17
#include <string>
18
19
namespace
o2
20
{
21
namespace
eventgen
22
{
23
25
struct
EventDecayerParam
:
public
o2::conf::ConfigurableParamHelper
<EventDecayerParam> {
26
bool
enable
=
false
;
// decay step in Generator::ReadEvent
27
std::string
config
[8] = {
""
,
""
,
""
,
""
,
""
,
""
,
""
,
""
};
// Pythia8 config files, an empty slot takes DecayerPythia8.config
28
double
tau0Max
= 10.;
// species with a larger tau0 in mm/c stay undecayed (<= 0 switches it off)
29
std::string
skipPdg
=
"115 225 335 10221 10331 20223 20333 102132 102134 9010221"
;
// PDG codes never decayed, matched on |pdg|
30
std::string
g4ParticleTable
=
""
;
// Geant4 particle table from o2-sim-g4-particle-table
31
int
seed
= 0;
// Pythia8 random seed (0 derives it from gRandom)
32
bool
verbose
=
false
;
// list every Pythia8 decay
33
bool
showChanged
=
false
;
// show changed particle data at init
34
O2ParamDef
(
EventDecayerParam
,
"EventDecayer"
);
35
};
36
37
}
// end namespace eventgen
38
}
// end namespace o2
39
40
#endif
// ALICEO2_EVENTGEN_EVENTDECAYERPARAM_H_
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:116
enable
GLboolean enable
Definition
glcorearb.h:3991
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
FlattenRestore.h:23
o2::eventgen::EventDecayerParam
Settings of the EventDecayer, which decays generator particles with Pythia8 before transport.
Definition
EventDecayerParam.h:25
o2::eventgen::EventDecayerParam::showChanged
bool showChanged
Definition
EventDecayerParam.h:33
o2::eventgen::EventDecayerParam::verbose
bool verbose
Definition
EventDecayerParam.h:32
o2::eventgen::EventDecayerParam::seed
int seed
Definition
EventDecayerParam.h:31
o2::eventgen::EventDecayerParam::config
std::string config[8]
Definition
EventDecayerParam.h:27
o2::eventgen::EventDecayerParam::skipPdg
std::string skipPdg
Definition
EventDecayerParam.h:29
o2::eventgen::EventDecayerParam::tau0Max
double tau0Max
Definition
EventDecayerParam.h:28
o2::eventgen::EventDecayerParam::g4ParticleTable
std::string g4ParticleTable
Definition
EventDecayerParam.h:30
o2::eventgen::EventDecayerParam::O2ParamDef
O2ParamDef(EventDecayerParam, "EventDecayer")
Generators
include
Generators
EventDecayerParam.h
Generated on Fri Oct 23 2026 23:21:10 for Project by
1.9.8