herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
ScalarMeson
PScalar4FermionsDecayer.h
1
// -*- C++ -*-
2
//
3
// PScalar4FermionsDecayer.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_PScalar4FermionsDecayer_H
10
#define HERWIG_PScalar4FermionsDecayer_H
11
// This is the declaration of the PScalar4FermionsDecayer class.
12
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "Herwig/Decay/PhaseSpaceMode.h"
15
#include "ThePEG/Helicity/LorentzSpinorBar.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
19
44
class
PScalar4FermionsDecayer
:
public
DecayIntegrator
{
45
46
public
:
47
51
PScalar4FermionsDecayer
();
52
59
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
60
const
tPDVector
& children)
const
;
61
71
double
me2
(
const
int
ichan,
const
Particle
& part,
72
const
tPDVector
&
outgoing
,
73
const
vector<Lorentz5Momentum> & momenta,
74
MEOption
meopt)
const
;
75
79
virtual
void
constructSpinInfo
(
const
Particle
& part,
80
ParticleVector
outgoing
)
const
;
81
87
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
88
89
public
:
90
97
void
persistentOutput
(
PersistentOStream
& os)
const
;
98
104
void
persistentInput
(
PersistentIStream
& is,
int
version);
106
110
static
void
Init
();
111
112
protected
:
113
120
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
121
126
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
128
129
protected
:
130
133
139
virtual
void
doinit
();
140
144
virtual
void
doinitrun
();
146
147
private
:
148
152
PScalar4FermionsDecayer
&
operator=
(
const
PScalar4FermionsDecayer
&) =
delete
;
153
154
public
:
155
159
string
setUpDecayMode
(
string
arg);
160
161
private
:
162
166
vector<InvEnergy>
coupling_
;
167
171
vector<int>
incoming_
;
172
176
vector<pair<long,long> >
outgoing_
;
177
181
vector<double>
maxweight_
;
182
186
vector<int>
includeVMD_
;
187
191
vector<int>
VMDid_
;
192
196
vector<Energy>
VMDmass_
;
197
201
vector<Energy>
VMDwidth_
;
202
206
mutable
RhoDMatrix
rho_
;
207
211
mutable
vector<Helicity::LorentzSpinor <SqrtEnergy> >
wave_
[2];
212
216
mutable
vector<Helicity::LorentzSpinorBar<SqrtEnergy> >
wavebar_
[2];
217
};
218
219
}
220
221
222
#endif
/* HERWIG_PScalar4FermionsDecayer_H */
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:60
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:72
Herwig::PScalar4FermionsDecayer
The PScalar4FermionsDecayer class is designed for the decay of the neutral pion to four leptons,...
Definition:
PScalar4FermionsDecayer.h:44
Herwig::PScalar4FermionsDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
PScalar4FermionsDecayer.h:126
Herwig::PScalar4FermionsDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::PScalar4FermionsDecayer::includeVMD_
vector< int > includeVMD_
Include the VMD factor.
Definition:
PScalar4FermionsDecayer.h:186
Herwig::PScalar4FermionsDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
PScalar4FermionsDecayer.h:120
Herwig::PScalar4FermionsDecayer::maxweight_
vector< double > maxweight_
maximum weight for a decay
Definition:
PScalar4FermionsDecayer.h:181
Herwig::PScalar4FermionsDecayer::VMDwidth_
vector< Energy > VMDwidth_
Width of the particle for the VMD factor.
Definition:
PScalar4FermionsDecayer.h:201
Herwig::PScalar4FermionsDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::PScalar4FermionsDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::PScalar4FermionsDecayer::wavebar_
vector< Helicity::LorentzSpinorBar< SqrtEnergy > > wavebar_[2]
Barred spinors for the decay products.
Definition:
PScalar4FermionsDecayer.h:216
Herwig::PScalar4FermionsDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::PScalar4FermionsDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::PScalar4FermionsDecayer::wave_
vector< Helicity::LorentzSpinor< SqrtEnergy > > wave_[2]
Spinors for the decay products.
Definition:
PScalar4FermionsDecayer.h:211
Herwig::PScalar4FermionsDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::PScalar4FermionsDecayer::VMDid_
vector< int > VMDid_
PDG code of the particle for the VMD factor.
Definition:
PScalar4FermionsDecayer.h:191
Herwig::PScalar4FermionsDecayer::me2
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.
Herwig::PScalar4FermionsDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::PScalar4FermionsDecayer::VMDmass_
vector< Energy > VMDmass_
Mass of the particle for the VMD factor.
Definition:
PScalar4FermionsDecayer.h:196
Herwig::PScalar4FermionsDecayer::incoming_
vector< int > incoming_
the PDG codes for the incoming particle
Definition:
PScalar4FermionsDecayer.h:171
Herwig::PScalar4FermionsDecayer::coupling_
vector< InvEnergy > coupling_
coupling for a decay
Definition:
PScalar4FermionsDecayer.h:166
Herwig::PScalar4FermionsDecayer::PScalar4FermionsDecayer
PScalar4FermionsDecayer()
Default constructor.
Herwig::PScalar4FermionsDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::PScalar4FermionsDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::PScalar4FermionsDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
PScalar4FermionsDecayer.h:206
Herwig::PScalar4FermionsDecayer::operator=
PScalar4FermionsDecayer & operator=(const PScalar4FermionsDecayer &)=delete
Private and non-existent assignment operator.
Herwig::PScalar4FermionsDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG codes for the first outgoing fermion
Definition:
PScalar4FermionsDecayer.h:176
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
ThePEG
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG::tPDVector
vector< tPDPtr > tPDVector
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Generated on Thu Jun 20 2024 17:50:52 for Herwig by
1.9.6