herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
TensorMeson
TensorMesonVectorPScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// TensorMesonVectorPScalarDecayer.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_TensorMesonVectorPScalarDecayer_H
10
#define HERWIG_TensorMesonVectorPScalarDecayer_H
11
//
12
// This is the declaration of the TensorMesonVectorPScalarDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
16
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
17
18
namespace
Herwig
{
19
using namespace
ThePEG
;
20
47
class
TensorMesonVectorPScalarDecayer
:
public
DecayIntegrator
{
48
49
public
:
50
54
TensorMesonVectorPScalarDecayer
();
55
62
virtual
int
modeNumber(
bool
& cc,
tcPDPtr
parent,
63
const
tPDVector
& children)
const
;
64
65
74
double
me2(
const
int
ichan,
const
Particle
& part,
75
const
ParticleVector
& decay,
MEOption
meopt)
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
138
144
virtual
void
doinit();
145
149
virtual
void
doinitrun();
151
152
private
:
153
157
TensorMesonVectorPScalarDecayer
& operator=(
const
TensorMesonVectorPScalarDecayer
&) =
delete
;
158
159
private
:
160
164
vector<int>
_incoming
;
165
169
vector<int>
_outgoingV
;
170
174
vector<int>
_outgoingP
;
175
179
vector<InvEnergy2>
_coupling
;
180
184
vector<double>
_maxweight
;
185
189
unsigned
int
_initsize
;
190
195
mutable
vector<Helicity::LorentzTensor<double> >
_tensors
;
196
200
mutable
vector<Helicity::LorentzPolarizationVector>
_vectors
;
201
205
mutable
RhoDMatrix
_rho
;
206
};
207
208
}
209
210
211
#endif
/* HERWIG_TensorMesonVectorPScalarDecayer_H */
Herwig::TensorMesonVectorPScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
TensorMesonVectorPScalarDecayer.h:125
ThePEG::PersistentIStream
Herwig::TensorMesonVectorPScalarDecayer
The TensorMesonVectorPScalarDecayer class handles the decay of a tensor meson to a vector and a pseud...
Definition:
TensorMesonVectorPScalarDecayer.h:47
ThePEG::Particle
Herwig::TensorMesonVectorPScalarDecayer::_coupling
vector< InvEnergy2 > _coupling
coupling for the decay
Definition:
TensorMesonVectorPScalarDecayer.h:179
Herwig::TensorMesonVectorPScalarDecayer::_rho
RhoDMatrix _rho
Storage of the matrix.
Definition:
TensorMesonVectorPScalarDecayer.h:205
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::TensorMesonVectorPScalarDecayer::_maxweight
vector< double > _maxweight
max weight ofr the decay
Definition:
TensorMesonVectorPScalarDecayer.h:184
Herwig::TensorMesonVectorPScalarDecayer::_outgoingV
vector< int > _outgoingV
PDG codes for the outgoing vector.
Definition:
TensorMesonVectorPScalarDecayer.h:169
ThePEG
Herwig::TensorMesonVectorPScalarDecayer::_tensors
vector< Helicity::LorentzTensor< double > > _tensors
Storage of polarization tensors to try and increase speed.
Definition:
TensorMesonVectorPScalarDecayer.h:195
Herwig::TensorMesonVectorPScalarDecayer::_outgoingP
vector< int > _outgoingP
PDG codes for the outgoing pseudoscalar.
Definition:
TensorMesonVectorPScalarDecayer.h:174
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::TensorMesonVectorPScalarDecayer::_incoming
vector< int > _incoming
PDG codes for the incoming particles.
Definition:
TensorMesonVectorPScalarDecayer.h:164
Herwig::TensorMesonVectorPScalarDecayer::_vectors
vector< Helicity::LorentzPolarizationVector > _vectors
Storage of the polarization vectors.
Definition:
TensorMesonVectorPScalarDecayer.h:200
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::TensorMesonVectorPScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
TensorMesonVectorPScalarDecayer.h:131
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::DecayMode
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::TensorMesonVectorPScalarDecayer::_initsize
unsigned int _initsize
Initial size of the vectors.
Definition:
TensorMesonVectorPScalarDecayer.h:189
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13