herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
HeavyDecayer.h
1// -*- C++ -*-
2//
3// HeavyDecayer.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_HeavyDecayer_H
10#define HERWIG_HeavyDecayer_H
11// This is the declaration of the HeavyDecayer class.
12
13#include "PartonicDecayerBase.h"
14
15namespace Herwig {
16
17using namespace ThePEG;
18
48
49public:
50
55
62 virtual bool accept(tcPDPtr parent, const tPDVector & children) const;
63
70 virtual ParticleVector decay(const Particle & parent,
71 const tPDVector & children) const;
72
78 virtual void dataBaseOutput(ofstream & os,bool header) const;
79
80public:
81
85 static void Init();
86
94
99 void persistentInput(PersistentIStream & is, int version);
101
108 virtual IBPtr clone() const;
109
114 virtual IBPtr fullclone() const;
116
117private:
118
122 static double VAWt(Energy2, Energy2, Energy2, InvEnergy4);
123
124private:
125
129 const HeavyDecayer & operator=(const HeavyDecayer &) = delete;
130
131private:
132
137};
138
139}
140
141#endif /* HERWIG_HeavyDecayer_H */
This class is designed for the partonic decay of a bottom or charm mesons and baryons and is intended...
Definition: HeavyDecayer.h:47
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual ParticleVector decay(const Particle &parent, const tPDVector &children) const
Perform the decay of the particle to the specified decay products.
HeavyDecayer()
Default constructor.
const HeavyDecayer & operator=(const HeavyDecayer &)=delete
Private and non-existent assignment operator.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
static void Init()
Standard Init function used to initialize the interface.
virtual IBPtr clone() const
Make a simple clone of this object.
int MECode
The code for the matrix element being used.
Definition: HeavyDecayer.h:136
void persistentInput(PersistentIStream &is, int version)
virtual bool accept(tcPDPtr parent, const tPDVector &children) const
Check if this decayer can perfom the decay for a particular mode.
static double VAWt(Energy2, Energy2, Energy2, InvEnergy4)
Weighting of phase space for V-A matrix elements.
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Here is the documentation of the PartonicDecayerBase class.
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr