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