Project
Loading...
Searching...
No Matches
DecayerPythia8.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_DECAYERPYTHIA8_H_
15#define ALICEO2_EVENTGEN_DECAYERPYTHIA8_H_
16
17#include "TVirtualMCDecayer.h"
18#include "Pythia8/Pythia.h"
19
20#include <iostream>
21
22namespace o2
23{
24namespace eventgen
25{
26
27/*****************************************************************/
28/*****************************************************************/
29
31{
32
33 public:
35 DecayerPythia8() = default;
37 ~DecayerPythia8() override = default;
38
40 void Init() override;
41 void Decay(Int_t pdg, TLorentzVector* lv) override;
42 Int_t ImportParticles(TClonesArray* particles) override;
43 void SetForceDecay(Int_t type) override{};
44 void ForceDecay() override{};
45 Float_t GetPartialBranchingRatio(Int_t ipart) override { return 0.; };
46 Float_t GetLifetime(Int_t kf) override { return 0.; };
47 void ReadDecayTable() override{};
48
49 protected:
54
56 ::Pythia8::Pythia mPythia;
57
59 bool mVerbose = false;
60
62
63};
65/*****************************************************************/
66/*****************************************************************/
67
68} // namespace eventgen
69} // namespace o2
70
71#endif /* ALICEO2_EVENTGEN_DECAYER_H_ */
Int_t ImportParticles(TClonesArray *particles) override
void Decay(Int_t pdg, TLorentzVector *lv) override
DecayerPythia8 & operator=(const DecayerPythia8 &)
Float_t GetLifetime(Int_t kf) override
void SetForceDecay(Int_t type) override
DecayerPythia8(const DecayerPythia8 &)
Float_t GetPartialBranchingRatio(Int_t ipart) override
ClassDefOverride(DecayerPythia8, 1)
~DecayerPythia8() override=default
GLint GLint GLsizei GLint GLenum GLenum type
Definition glcorearb.h:275
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...