herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
VectorMeson
VectorMesonVectorPScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// VectorMesonVectorPScalarDecayer.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_VectorMesonVectorPScalarDecayer_H
10
#define HERWIG_VectorMesonVectorPScalarDecayer_H
11
// This is the declaration of the VectorMesonVectorPScalarDecayer class.
12
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "Herwig/Decay/PhaseSpaceMode.h"
15
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
16
17
namespace
Herwig
{
18
49
class
VectorMesonVectorPScalarDecayer
:
public
DecayIntegrator
{
50
51
public
:
52
56
VectorMesonVectorPScalarDecayer
();
57
64
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
65
const
tPDVector
& children)
const
;
66
76
double
me2
(
const
int
ichan,
const
Particle
& part,
77
const
tPDVector
&
outgoing
,
78
const
vector<Lorentz5Momentum> & momenta,
79
MEOption
meopt)
const
;
80
84
virtual
void
constructSpinInfo
(
const
Particle
& part,
85
ParticleVector
outgoing
)
const
;
86
95
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
96
102
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
103
104
public
:
105
112
void
persistentOutput
(
PersistentOStream
& os)
const
;
113
119
void
persistentInput
(
PersistentIStream
& is,
int
version);
121
125
static
void
Init
();
126
127
protected
:
128
135
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
136
141
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
143
144
protected
:
145
153
virtual
void
doinit
();
154
158
virtual
void
doinitrun
();
160
161
private
:
162
166
VectorMesonVectorPScalarDecayer
&
operator=
(
const
VectorMesonVectorPScalarDecayer
&) =
delete
;
167
168
public
:
169
173
string
setUpDecayMode
(
string
arg);
174
175
private
:
176
180
vector<InvEnergy>
coupling_
;
181
185
vector<long>
incoming_
;
186
190
vector<pair<long,long> >
outgoing_
;
191
195
vector<double>
maxweight_
;
196
200
mutable
RhoDMatrix
rho_
;
201
205
mutable
vector<Helicity::LorentzPolarizationVector>
vectors_
[2];
206
207
};
208
209
}
210
211
212
#endif
/* HERWIG_VectorMesonVectorPScalarDecayer_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::VectorMesonVectorPScalarDecayer
This class is designed for the decay of a vector meson to another spin-1 particle,...
Definition:
VectorMesonVectorPScalarDecayer.h:49
Herwig::VectorMesonVectorPScalarDecayer::vectors_
vector< Helicity::LorentzPolarizationVector > vectors_[2]
Polarization vectors.
Definition:
VectorMesonVectorPScalarDecayer.h:205
Herwig::VectorMesonVectorPScalarDecayer::operator=
VectorMesonVectorPScalarDecayer & operator=(const VectorMesonVectorPScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::VectorMesonVectorPScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::VectorMesonVectorPScalarDecayer::maxweight_
vector< double > maxweight_
maximum weight for a decay
Definition:
VectorMesonVectorPScalarDecayer.h:195
Herwig::VectorMesonVectorPScalarDecayer::outgoing_
vector< pair< long, long > > outgoing_
the PDG codes for the outgoing particles (vector first)
Definition:
VectorMesonVectorPScalarDecayer.h:190
Herwig::VectorMesonVectorPScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
VectorMesonVectorPScalarDecayer.h:141
Herwig::VectorMesonVectorPScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::VectorMesonVectorPScalarDecayer::VectorMesonVectorPScalarDecayer
VectorMesonVectorPScalarDecayer()
Default constructor.
Herwig::VectorMesonVectorPScalarDecayer::rho_
RhoDMatrix rho_
Spin density matrix.
Definition:
VectorMesonVectorPScalarDecayer.h:200
Herwig::VectorMesonVectorPScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::VectorMesonVectorPScalarDecayer::setUpDecayMode
string setUpDecayMode(string arg)
Set the parameters for a decay mode.
Herwig::VectorMesonVectorPScalarDecayer::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::VectorMesonVectorPScalarDecayer::incoming_
vector< long > incoming_
the PDG codes for the incoming particle
Definition:
VectorMesonVectorPScalarDecayer.h:185
Herwig::VectorMesonVectorPScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::VectorMesonVectorPScalarDecayer::coupling_
vector< InvEnergy > coupling_
coupling for a decay
Definition:
VectorMesonVectorPScalarDecayer.h:180
Herwig::VectorMesonVectorPScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::VectorMesonVectorPScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::VectorMesonVectorPScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::VectorMesonVectorPScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::VectorMesonVectorPScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::VectorMesonVectorPScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
VectorMesonVectorPScalarDecayer.h:135
ThePEG::DecayMode
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
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