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
17#include <string>
18
19namespace o2
20{
21namespace eventgen
22{
23
25struct 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_
GLboolean enable
Definition glcorearb.h:3991
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Settings of the EventDecayer, which decays generator particles with Pythia8 before transport.
O2ParamDef(EventDecayerParam, "EventDecayer")