herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
VectorMeson
VectorMesonTensorVectorDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMesonTensorVectorDecayer.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_VectorMesonTensorVectorDecayer_H
10
#define HERWIG_VectorMesonTensorVectorDecayer_H
11
//
12
// This is the declaration of the VectorMesonTensorVectorDecayer 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
44
class
VectorMesonTensorVectorDecayer
:
public
DecayIntegrator
{
45
46
public
:
47
54
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
55
const
tPDVector
& children)
const
;
56
66
double
me2
(
const
int
ichan,
const
Particle
& part,
67
const
tPDVector
&
outgoing
,
68
const
vector<Lorentz5Momentum> & momenta,
69
MEOption
meopt)
const
;
70
74
virtual
void
constructSpinInfo
(
const
Particle
& part,
75
ParticleVector
outgoing
)
const
;
76
85
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
86
92
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
93
94
public
:
95
102
void
persistentOutput
(
PersistentOStream
& os)
const
;
103
109
void
persistentInput
(
PersistentIStream
& is,
int
version);
111
115
static
void
Init
();
116
117
protected
:
118
125
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
126
131
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
133
134
protected
:
135
143
virtual
void
doinit
();
144
148
virtual
void
doinitrun
();
150
151
private
:
152
156
VectorMesonTensorVectorDecayer
&
operator=
(
const
VectorMesonTensorVectorDecayer
&) =
delete
;
157
158
public
:
159
163
string
setUpDecayMode
(
string
arg);
164
165
private
:
166
170
vector<int>
incoming_
;
171
175
vector<pair<int,int> >
outgoing_
;
176
180
vector<Energy>
coupling_
;
181
185
vector<double>
maxWeight_
;
186
191
mutable
vector<Helicity::LorentzTensor<double> >
tensors_
;
192
196
mutable
vector<Helicity::LorentzPolarizationVector >
vectors_
[2];
197
201
mutable
RhoDMatrix
rho_
;
202
203
};
204
205
}
206
207
#endif
/* HERWIG_VectorMesonTensorVectorDecayer_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::VectorMesonTensorVectorDecayer
The VectorMesonTensorVectorDecayer class is designed to simulate the decay of a vector meson to a ten...
Definition:
VectorMesonTensorVectorDecayer.h:44
Herwig::VectorMesonTensorVectorDecayer::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::VectorMesonTensorVectorDecayer::operator=
VectorMesonTensorVectorDecayer & operator=(const VectorMesonTensorVectorDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMesonTensorVectorDecayer::maxWeight_
vector< double > maxWeight_
the maximum weight for the decay
Definition:
VectorMesonTensorVectorDecayer.h:185
Herwig::VectorMesonTensorVectorDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::VectorMesonTensorVectorDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMesonTensorVectorDecayer::coupling_
vector< Energy > coupling_
the coupling for the decay
Definition:
VectorMesonTensorVectorDecayer.h:180
Herwig::VectorMesonTensorVectorDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[2]
Storage of the polarization vectors.
Definition:
VectorMesonTensorVectorDecayer.h:196
Herwig::VectorMesonTensorVectorDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::VectorMesonTensorVectorDecayer::outgoing_
vector< pair< int, int > > outgoing_
the PDG codes for the outgoing particles
Definition:
VectorMesonTensorVectorDecayer.h:175
Herwig::VectorMesonTensorVectorDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::VectorMesonTensorVectorDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMesonTensorVectorDecayer.h:131
Herwig::VectorMesonTensorVectorDecayer::rho_
RhoDMatrix rho_
Storage of the matrix.
Definition:
VectorMesonTensorVectorDecayer.h:201
Herwig::VectorMesonTensorVectorDecayer::tensors_
vector< Helicity::LorentzTensor< double > > tensors_
Storage of polarization tensors to try and increase speed.
Definition:
VectorMesonTensorVectorDecayer.h:191
Herwig::VectorMesonTensorVectorDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorMesonTensorVectorDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::VectorMesonTensorVectorDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::VectorMesonTensorVectorDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::VectorMesonTensorVectorDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VectorMesonTensorVectorDecayer::incoming_
vector< int > incoming_
the PDG codes for the incoming particles
Definition:
VectorMesonTensorVectorDecayer.h:170
Herwig::VectorMesonTensorVectorDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonTensorVectorDecayer.h:125
Herwig::VectorMesonTensorVectorDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
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