herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
ScalarMeson
ScalarMesonTensorScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// ScalarMesonTensorScalarDecayer.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_ScalarMesonTensorScalarDecayer_H
10
#define HERWIG_ScalarMesonTensorScalarDecayer_H
11
//
12
// This is the declaration of the ScalarMesonTensorScalarDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
16
#include "ThePEG/Helicity/LorentzTensor.h"
17
18
namespace
Herwig
{
19
using namespace
Herwig
;
20
35
class
ScalarMesonTensorScalarDecayer
:
public
DecayIntegrator
{
36
37
public
:
38
42
ScalarMesonTensorScalarDecayer
();
43
50
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
51
const
tPDVector
& children)
const
;
52
61
double
me2
(
const
int
ichan,
const
Particle
& part,
62
const
ParticleVector
&
decay
,
MEOption
meopt)
const
;
63
72
bool
twoBodyMEcode
(
const
DecayMode
& dm,
int
& mecode,
double
& coupling)
const
;
73
79
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
80
81
public
:
82
89
void
persistentOutput
(
PersistentOStream
& os)
const
;
90
96
void
persistentInput
(
PersistentIStream
& is,
int
version);
98
102
static
void
Init
();
103
104
protected
:
105
112
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
113
118
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
120
121
protected
:
122
130
virtual
void
doinit
();
131
135
virtual
void
doinitrun
();
137
138
private
:
139
143
ScalarMesonTensorScalarDecayer
&
operator=
(
const
ScalarMesonTensorScalarDecayer
&) =
delete
;
144
145
private
:
146
150
vector<int>
_incoming
;
151
155
vector<int>
_outgoingT
;
156
160
vector<int>
_outgoingS
;
161
165
vector<InvEnergy>
_coupling
;
166
170
vector<double>
_maxweight
;
171
175
unsigned
int
_initsize
;
176
180
mutable
RhoDMatrix
_rho
;
181
185
mutable
vector<Helicity::LorentzTensor<double> >
_tensors
;
186
};
187
188
}
189
190
191
#endif
/* HERWIG_ScalarMesonTensorScalarDecayer_H */
Herwig::ScalarMesonTensorScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
ThePEG::PersistentIStream
Herwig::ScalarMesonTensorScalarDecayer::twoBodyMEcode
bool twoBodyMEcode(const DecayMode &dm, int &mecode, double &coupling) const
Specify the matrix element to be used in the running width calculation.
Herwig::ScalarMesonTensorScalarDecayer::operator=
ScalarMesonTensorScalarDecayer & operator=(const ScalarMesonTensorScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::ScalarMesonTensorScalarDecayer::_maxweight
vector< double > _maxweight
the maximum weight for the decay
Definition:
ScalarMesonTensorScalarDecayer.h:170
Herwig::ScalarMesonTensorScalarDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
ScalarMesonTensorScalarDecayer.h:180
Herwig::ScalarMesonTensorScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::ScalarMesonTensorScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::ScalarMesonTensorScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::Particle
Herwig::ScalarMesonTensorScalarDecayer::me2
double me2(const int ichan, const Particle &part, const ParticleVector &decay, MEOption meopt) const
Return the matrix element squared for a given mode and phase-space channel.
ThePEG::PersistentOStream
Herwig::ScalarMesonTensorScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::ScalarMesonTensorScalarDecayer::ScalarMesonTensorScalarDecayer
ScalarMesonTensorScalarDecayer()
Default constructor.
Herwig::ScalarMesonTensorScalarDecayer::_coupling
vector< InvEnergy > _coupling
the coupling for the decay
Definition:
ScalarMesonTensorScalarDecayer.h:165
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::ScalarMesonTensorScalarDecayer::_tensors
vector< Helicity::LorentzTensor< double > > _tensors
Polarization tensors for the decay product.
Definition:
ScalarMesonTensorScalarDecayer.h:185
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::ScalarMesonTensorScalarDecayer::_outgoingT
vector< int > _outgoingT
the PDG code for the tensor meson
Definition:
ScalarMesonTensorScalarDecayer.h:155
Herwig::ScalarMesonTensorScalarDecayer
The ScalarMesonTensorScalarDecayer class is designed for the decay of a (pseudo)scalar meson to a ten...
Definition:
ScalarMesonTensorScalarDecayer.h:35
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:62
ThePEG::tcPDPtr
ThePEG::Ptr< ParticleData >::transient_const_pointer tcPDPtr
Herwig::ScalarMesonTensorScalarDecayer::_outgoingS
vector< int > _outgoingS
the PDG code for the scalar meson
Definition:
ScalarMesonTensorScalarDecayer.h:160
Herwig::DecayIntegrator::decay
virtual ParticleVector decay(const Particle &parent, const tPDVector &children) const
For a given decay mode and a given particle instance, perform the decay and return the decay products...
Herwig::ScalarMesonTensorScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::ScalarMesonTensorScalarDecayer::_incoming
vector< int > _incoming
the PDG code for the incoming particle
Definition:
ScalarMesonTensorScalarDecayer.h:150
Herwig::ScalarMesonTensorScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
ScalarMesonTensorScalarDecayer.h:118
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
Herwig::ScalarMesonTensorScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
ScalarMesonTensorScalarDecayer.h:112
Herwig::ScalarMesonTensorScalarDecayer::_initsize
unsigned int _initsize
initial number of modes
Definition:
ScalarMesonTensorScalarDecayer.h:175
Herwig::ScalarMesonTensorScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Generated on Sat Apr 11 2020 14:50:31 for Herwig by
1.8.13