herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
FFVCurrentDecayer.h
1// -*- C++ -*-
2//
3// FFVCurrentDecayer.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_FFVCurrentDecayer_H
10#define HERWIG_FFVCurrentDecayer_H
11//
12// This is the declaration of the FFVCurrentDecayer class.
13//
14
15#include "GeneralCurrentDecayer.h"
16#include "ThePEG/Repository/EventGenerator.h"
17#include "ThePEG/Helicity/Vertex/Vector/FFVVertex.h"
18
19namespace Herwig {
20using namespace ThePEG;
21using Helicity::FFVVertexPtr;
22
30
31public:
32
35
45 double me2(const int ichan,const Particle & part,
46 const tPDVector & outgoing,
47 const vector<Lorentz5Momentum> & momenta,
48 MEOption meopt) const;
49
53 virtual void constructSpinInfo(const Particle & part,
55
62 virtual Energy partialWidth(tPDPtr inpart, tPDPtr outa,
63 vector<tPDPtr> currout);
65
66public:
67
75
81 void persistentInput(PersistentIStream & is, int version);
83
90 static void Init();
91
92protected:
93
100 virtual IBPtr clone() const;
101
106 virtual IBPtr fullclone() const;
108
109
110protected:
111
119 virtual void doinit();
120
130 virtual void rebind(const TranslationMap & trans)
131 ;
132
140
141private:
142
148
149private:
150
154 FFVVertexPtr FFVPtr_;
155
160
164 mutable vector<SpinorWaveFunction> wave_ ;
165
169 mutable vector<SpinorBarWaveFunction> wavebar_;
170};
171
172}
173
174#endif /* HERWIG_FFVCurrentDecayer_H */
MEOption
Enum for the matrix element option.
Here is the documentation of the FFVCurrentDecayer class.
vector< SpinorWaveFunction > wave_
Spinor wavefunction.
static void Init()
The standard Init function used to initialize the interfaces.
FFVCurrentDecayer & operator=(const FFVCurrentDecayer &)=delete
The assignment operator is private and must never be called.
RhoDMatrix rho_
Spinr density matrix.
vector< SpinorBarWaveFunction > wavebar_
Barred spinor wavefunction.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
FFVVertexPtr FFVPtr_
Pointer to FFVVertex.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual Energy partialWidth(tPDPtr inpart, tPDPtr outa, vector< tPDPtr > currout)
Function to return partial Width.
double me2(const int ichan, const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Return the matrix element squared for a given mode and phase-space channel.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
virtual void rebind(const TranslationMap &trans)
Rebind pointer to other Interfaced objects.
virtual IVector getReferences()
Return a vector of all pointers to Interfaced objects used in this object.
virtual IBPtr clone() const
Make a simple clone of this object.
Here is the documentation of the GeneralCurrentDecayer class.
-*- C++ -*-
ThePEG::Ptr< ParticleData >::transient_pointer tPDPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
vector< IBPtr > IVector