herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
QuarkoniumDecayer.h
1// -*- C++ -*-
2//
3// QuarkoniumDecayer.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2019 The Herwig Collaboration
5//
6// Herwig is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef HERWIG_QuarkoniumDecayer_H
10#define HERWIG_QuarkoniumDecayer_H
11//
12// This is the declaration of the QuarkoniumDecayer class.
13//
14
15#include "PartonicDecayerBase.h"
16
17namespace Herwig {
18using namespace ThePEG;
19
51
52public:
53
58
65 virtual bool accept(tcPDPtr parent, const tPDVector & children) const;
66
73 virtual ParticleVector decay(const Particle & parent,
74 const tPDVector & children) const;
75
76
82 virtual void dataBaseOutput(ofstream & os,bool header) const;
83
84public:
85
89 static void Init();
90
95
100
104protected:
105
109 virtual IBPtr clone() const;
110
114 virtual IBPtr fullclone() const;
115
116private:
117
122
123private:
124
129};
130
131}
132
133#endif /* HERWIG_QuarkoniumDecayer_H */
Here is the documentation of the PartonicDecayerBase class.
The QuarkoniumDecayer class is designed for the partonic decay of bottom and charmonium resonances.
static void Init()
Standard Init function used to initialize the interface.
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
virtual ParticleVector decay(const Particle &parent, const tPDVector &children) const
Perform the decay of the particle to the specified decay products.
virtual IBPtr fullclone() const
Standard clone methods.
int MECode
The code for the type of matrix element being used.
QuarkoniumDecayer()
Standard ctors and dtor.
void persistentOutput(PersistentOStream &) const
Standard Persistent stream methods.
virtual IBPtr clone() const
Standard clone methods.
void persistentInput(PersistentIStream &, int)
Standard Persistent stream methods.
virtual bool accept(tcPDPtr parent, const tPDVector &children) const
Check if this decayer can perfom the decay for a particular mode.
const QuarkoniumDecayer & operator=(const QuarkoniumDecayer &)=delete
Private and non-existent assignment operator.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr