herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
TensorMeson
TensorMesonVectorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// TensorMesonVectorVectorDecayer.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_TensorMesonVectorVectorDecayer_H
10
#define HERWIG_TensorMesonVectorVectorDecayer_H
11
//
12
// This is the declaration of the TensorMesonVectorVectorDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/PhaseSpaceMode.h"
16
#include "ThePEG/Helicity/LorentzTensor.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
48
class
TensorMesonVectorVectorDecayer
:
public
DecayIntegrator
{
49
50
public
:
51
58
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
59
const
tPDVector
& children)
const
;
60
70
double
me2
(
const
int
ichan,
const
Particle
& part,
71
const
tPDVector
&
outgoing
,
72
const
vector<Lorentz5Momentum> & momenta,
73
MEOption
meopt)
const
;
74
78
virtual
void
constructSpinInfo
(
const
Particle
& part,
79
ParticleVector
outgoing
)
const
;
80
89
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
90
96
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
97
98
public
:
99
106
void
persistentOutput
(
PersistentOStream
& os)
const
;
107
113
void
persistentInput
(
PersistentIStream
& is,
int
version);
115
119
static
void
Init
();
120
121
protected
:
122
129
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
130
135
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
137
138
protected
:
139
147
virtual
void
doinit
();
148
152
virtual
void
doinitrun
();
154
155
private
:
156
160
TensorMesonVectorVectorDecayer
&
operator=
(
const
TensorMesonVectorVectorDecayer
&) =
delete
;
161
162
public
:
163
167
string
setUpDecayMode
(
string
arg);
168
169
private
:
170
174
vector<int>
incoming_
;
175
179
vector<pair<int,int> >
outgoing_
;
180
184
vector<Energy>
coupling_
;
185
189
vector<double>
maxWeight_
;
190
195
mutable
vector<Helicity::LorentzTensor<double> >
tensors_
;
196
200
mutable
vector<Helicity::LorentzPolarizationVector >
vectors_
[2];
201
205
mutable
RhoDMatrix
rho_
;
206
207
};
208
209
}
210
211
#endif
/* HERWIG_TensorMesonVectorVectorDecayer_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::TensorMesonVectorVectorDecayer
The TensorMesonVectorVectorDecayer class is designed to simulate the decay of a tensor meson to two s...
Definition:
TensorMesonVectorVectorDecayer.h:48
Herwig::TensorMesonVectorVectorDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::TensorMesonVectorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
TensorMesonVectorVectorDecayer.h:129
Herwig::TensorMesonVectorVectorDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::TensorMesonVectorVectorDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[2]
Storage of the polarization vectors.
Definition:
TensorMesonVectorVectorDecayer.h:200
Herwig::TensorMesonVectorVectorDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::TensorMesonVectorVectorDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
TensorMesonVectorVectorDecayer.h:189
Herwig::TensorMesonVectorVectorDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::TensorMesonVectorVectorDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::TensorMesonVectorVectorDecayer::operator=
TensorMesonVectorVectorDecayer & operator=(const TensorMesonVectorVectorDecayer &)=delete
Private and non-existent assignment operator.
Herwig::TensorMesonVectorVectorDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::TensorMesonVectorVectorDecayer::tensors_
vector< Helicity::LorentzTensor< double > > tensors_
Storage of polarization tensors to try and increase speed.
Definition:
TensorMesonVectorVectorDecayer.h:195
Herwig::TensorMesonVectorVectorDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::TensorMesonVectorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
TensorMesonVectorVectorDecayer.h:135
Herwig::TensorMesonVectorVectorDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::TensorMesonVectorVectorDecayer::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::TensorMesonVectorVectorDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::TensorMesonVectorVectorDecayer::rho_
RhoDMatrix rho_
Storage of the matrix.
Definition:
TensorMesonVectorVectorDecayer.h:205
Herwig::TensorMesonVectorVectorDecayer::coupling_
vector< Energy > coupling_
the coupling for the decay
Definition:
TensorMesonVectorVectorDecayer.h:184
Herwig::TensorMesonVectorVectorDecayer::outgoing_
vector< pair< int, int > > outgoing_
the PDG codes for the outgoing particles
Definition:
TensorMesonVectorVectorDecayer.h:179
Herwig::TensorMesonVectorVectorDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::TensorMesonVectorVectorDecayer::incoming_
vector< int > incoming_
the PDG codes for the incoming particles
Definition:
TensorMesonVectorVectorDecayer.h:174
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