herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
EtaOmegaCurrent.h
1// -*- C++ -*-
2#ifndef Herwig_EtaOmegaCurrent_H
3#define Herwig_EtaOmegaCurrent_H
4//
5// This is the declaration of the EtaOmegaCurrent class.
6//
7
8#include "WeakCurrent.h"
9
10namespace Herwig {
11
12using namespace ThePEG;
13
22
23public:
24
29
30public:
31
52 virtual bool createMode(int icharge, tcPDPtr resonance,
53 FlavourInfo flavour,
54 unsigned int imode,PhaseSpaceModePtr mode,
55 unsigned int iloc,int ires,
56 PhaseSpaceChannel phase, Energy upp );
57
67 virtual tPDVector particles(int icharge, unsigned int imode, int iq, int ia);
69
83 virtual vector<LorentzPolarizationVectorE>
84 current(tcPDPtr resonance,
85 FlavourInfo flavour,
86 const int imode, const int ichan,Energy & scale,
87 const tPDVector & outgoing,
88 const vector<Lorentz5Momentum> & momenta,
89 DecayIntegrator::MEOption meopt) const;
90
94 virtual void constructSpinInfo(ParticleVector decay) const;
95
101 virtual bool accept(vector<int> id);
102
109 virtual unsigned int decayMode(vector<int> id);
110
117 virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
118
119public:
120
128
134 void persistentInput(PersistentIStream & is, int version);
136
143 static void Init();
144
145protected:
146
153 virtual IBPtr clone() const;
154
159 virtual IBPtr fullclone() const;
161
162protected:
163
171 virtual void doinit();
173
174private:
175
181
182private:
183
187 vector<Energy> resMasses_;
188
192 vector<Energy> resWidths_;
193
197 vector<InvEnergy> amp_;
198
202 vector<double> phase_;
203
207 vector<complex<InvEnergy> > couplings_;
208};
209
210}
211
212#endif /* Herwig_EtaOmegaCurrent_H */
MEOption
Enum for the matrix element option.
The EtaOmegaCurrent class implements the current for $\eta\omega$ using the results of Phys....
virtual void constructSpinInfo(ParticleVector decay) const
Construct the SpinInfo for the decay products.
vector< Energy > resWidths_
Widths for the resonances.
vector< Energy > resMasses_
Mass for the resonances.
vector< double > phase_
Amplitudes for couplings for the resonances.
virtual void dataBaseOutput(ofstream &os, bool header, bool create) const
Output the setup information for the particle database.
EtaOmegaCurrent & operator=(const EtaOmegaCurrent &)=delete
The assignment operator is private and must never be called.
virtual bool accept(vector< int > id)
Accept the decay.
virtual IBPtr clone() const
Make a simple clone of this object.
virtual unsigned int decayMode(vector< int > id)
Return the decay mode number for a given set of particles in the current.
virtual bool createMode(int icharge, tcPDPtr resonance, FlavourInfo flavour, unsigned int imode, PhaseSpaceModePtr mode, unsigned int iloc, int ires, PhaseSpaceChannel phase, Energy upp)
Complete the construction of the decay mode for integration.classes inheriting from this one.
vector< InvEnergy > amp_
Amplitudes for couplings for the resonances.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
static void Init()
The standard Init function used to initialize the interfaces.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
EtaOmegaCurrent()
The default constructor.
virtual vector< LorentzPolarizationVectorE > current(tcPDPtr resonance, FlavourInfo flavour, const int imode, const int ichan, Energy &scale, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, DecayIntegrator::MEOption meopt) const
Hadronic current.
vector< complex< InvEnergy > > couplings_
Couplings for the resonances.
virtual tPDVector particles(int icharge, unsigned int imode, int iq, int ia)
The particles produced by the current.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
This class is designed to store the information needed for a given phase-space channel for use by the...
The WeakCurrent class is the base class for the hadronic currents produced in weak decays.
Definition: WeakCurrent.h:59
-*- C++ -*-
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
vector< tPDPtr > tPDVector
vector< PPtr > ParticleVector
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr