herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
TensorMeson
Spin3MesonVectorScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// Spin3MesonVectorScalarDecayer.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_Spin3MesonVectorScalarDecayer_H
10
#define HERWIG_Spin3MesonVectorScalarDecayer_H
11
//
12
// This is the declaration of the Spin3MesonVectorScalarDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
16
#include "Herwig/Decay/PhaseSpaceMode.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
43
class
Spin3MesonVectorScalarDecayer
:
public
DecayIntegrator
{
44
45
public
:
46
53
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
54
const
tPDVector
& children)
const
;
55
65
double
me2
(
const
int
ichan,
const
Particle
& part,
66
const
tPDVector
&
outgoing
,
67
const
vector<Lorentz5Momentum> & momenta,
68
MEOption
meopt)
const
;
69
73
virtual
void
constructSpinInfo
(
const
Particle
& part,
74
ParticleVector
outgoing
)
const
;
75
84
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
85
91
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
92
93
public
:
94
101
void
persistentOutput
(
PersistentOStream
& os)
const
;
102
108
void
persistentInput
(
PersistentIStream
& is,
int
version);
110
114
static
void
Init
();
115
116
protected
:
117
124
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
125
130
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
132
133
protected
:
134
142
virtual
void
doinit
();
143
147
virtual
void
doinitrun
();
149
150
private
:
151
155
Spin3MesonVectorScalarDecayer
&
operator=
(
const
Spin3MesonVectorScalarDecayer
&) =
delete
;
156
157
public
:
158
162
string
setUpDecayMode
(
string
arg);
163
164
private
:
165
169
vector<int>
incoming_
;
170
174
vector<pair<long,long> >
outgoing_
;
175
179
vector<InvEnergy>
coupling_
;
180
184
vector<double>
maxWeight_
;
185
190
mutable
vector<Helicity::LorentzRank3Tensor<double> >
tensors_
;
191
195
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
;
196
200
mutable
RhoDMatrix
rho_
;
201
202
};
203
204
}
205
206
#endif
/* HERWIG_Spin3MesonVectorScalarDecayer_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::Spin3MesonVectorScalarDecayer
The Spin3MesonVectorScalarDecayer class is designed for the decay of a rank 3 tensor meson to a vecto...
Definition:
Spin3MesonVectorScalarDecayer.h:43
Herwig::Spin3MesonVectorScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::Spin3MesonVectorScalarDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG codes the outgoing particles (vector,scalar)
Definition:
Spin3MesonVectorScalarDecayer.h:174
Herwig::Spin3MesonVectorScalarDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
Spin3MesonVectorScalarDecayer.h:184
Herwig::Spin3MesonVectorScalarDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::Spin3MesonVectorScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::Spin3MesonVectorScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::Spin3MesonVectorScalarDecayer::tensors_
vector< Helicity::LorentzRank3Tensor< double > > tensors_
Storage of polarization tensors to try and increase speed.
Definition:
Spin3MesonVectorScalarDecayer.h:190
Herwig::Spin3MesonVectorScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::Spin3MesonVectorScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::Spin3MesonVectorScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::Spin3MesonVectorScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::Spin3MesonVectorScalarDecayer::coupling_
vector< InvEnergy > coupling_
the coupling for the decay
Definition:
Spin3MesonVectorScalarDecayer.h:179
Herwig::Spin3MesonVectorScalarDecayer::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::Spin3MesonVectorScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::Spin3MesonVectorScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
Spin3MesonVectorScalarDecayer.h:124
Herwig::Spin3MesonVectorScalarDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_
Storage of the polarization vectors.
Definition:
Spin3MesonVectorScalarDecayer.h:195
Herwig::Spin3MesonVectorScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
Spin3MesonVectorScalarDecayer.h:130
Herwig::Spin3MesonVectorScalarDecayer::incoming_
vector< int > incoming_
the PDG codes for the incoming particles
Definition:
Spin3MesonVectorScalarDecayer.h:169
Herwig::Spin3MesonVectorScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::Spin3MesonVectorScalarDecayer::operator=
Spin3MesonVectorScalarDecayer & operator=(const Spin3MesonVectorScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::Spin3MesonVectorScalarDecayer::rho_
RhoDMatrix rho_
Storage of the matrix.
Definition:
Spin3MesonVectorScalarDecayer.h:200
ThePEG::DecayMode
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