herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
ScalarMeson
SemiLeptonicScalarDecayer.h
1
// -*- C++ -*-
2
//
3
// SemiLeptonicScalarDecayer.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_SemiLeptonicScalarDecayer_H
10
#define HERWIG_SemiLeptonicScalarDecayer_H
11
//
12
// This is the declaration of the SemiLeptonicScalarDecayer class.
13
//
14
#include "Herwig/Decay/DecayIntegrator.h"
15
#include "Herwig/Decay/FormFactors/ScalarFormFactor.h"
16
#include "Herwig/Decay/WeakCurrents/LeptonNeutrinoCurrent.h"
17
#include "ThePEG/Helicity/LorentzTensor.h"
18
19
namespace
Herwig
{
20
using namespace
ThePEG
;
21
37
class
SemiLeptonicScalarDecayer
:
public
DecayIntegrator
{
38
39
public
:
40
44
SemiLeptonicScalarDecayer
();
45
52
virtual
bool
accept(
tcPDPtr
parent,
const
tPDVector
& children)
const
;
53
60
virtual
int
modeNumber(
bool
& cc,
tcPDPtr
parent,
61
const
tPDVector
& children)
const
;
62
71
double
me2(
const
int
ichan,
const
Particle
& part,
72
const
ParticleVector
& decay,
MEOption
meopt)
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
125
131
virtual
void
doinit();
132
136
virtual
void
doinitrun();
138
139
private
:
140
144
SemiLeptonicScalarDecayer
& operator=(
const
SemiLeptonicScalarDecayer
&) =
delete
;
145
146
private
:
147
151
LeptonNeutrinoCurrentPtr
_current
;
152
156
ScalarFormFactorPtr
_form
;
157
161
vector<double>
_maxwgt
;
162
166
vector<int>
_modemap
;
167
171
mutable
RhoDMatrix
_rho
;
172
176
mutable
vector<Helicity::LorentzPolarizationVector>
_vectors
;
177
181
mutable
vector<Helicity::LorentzTensor<double> >
_tensors
;
182
186
mutable
vector<unsigned int>
_constants
;
187
191
mutable
vector<PDT::Spin>
_ispin
;
192
196
mutable
unsigned
int
_imes
;
197
};
198
199
}
200
201
202
#endif
/* HERWIG_SemiLeptonicScalarDecayer_H */
ThePEG::PersistentIStream
Herwig::SemiLeptonicScalarDecayer::_maxwgt
vector< double > _maxwgt
the maximum weight for the integration of a given decay
Definition:
SemiLeptonicScalarDecayer.h:161
ThePEG::Particle
ThePEG::PersistentOStream
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Herwig::SemiLeptonicScalarDecayer::_imes
unsigned int _imes
Location of the outgoing meson.
Definition:
SemiLeptonicScalarDecayer.h:196
ThePEG
Herwig::SemiLeptonicScalarDecayer::_modemap
vector< int > _modemap
mapping of the mode to the form factor
Definition:
SemiLeptonicScalarDecayer.h:166
Herwig::SemiLeptonicScalarDecayer::_vectors
vector< Helicity::LorentzPolarizationVector > _vectors
Polarization vectors for the decay products.
Definition:
SemiLeptonicScalarDecayer.h:176
Herwig::SemiLeptonicScalarDecayer::_constants
vector< unsigned int > _constants
Constants for the mapping of the leptonic current.
Definition:
SemiLeptonicScalarDecayer.h:186
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::SemiLeptonicScalarDecayer
The SemiLeptonicScalarDecayer class is designed for the semileptonic decay of a (pesudo)scalar meson ...
Definition:
SemiLeptonicScalarDecayer.h:37
Herwig::SemiLeptonicScalarDecayer::_ispin
vector< PDT::Spin > _ispin
Spins of the particles.
Definition:
SemiLeptonicScalarDecayer.h:191
ThePEG::tPDVector
vector< tPDPtr > tPDVector
Herwig::SemiLeptonicScalarDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
SemiLeptonicScalarDecayer.h:171
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::SemiLeptonicScalarDecayer::_form
ScalarFormFactorPtr _form
The form factor.
Definition:
SemiLeptonicScalarDecayer.h:156
Herwig::SemiLeptonicScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
SemiLeptonicScalarDecayer.h:112
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
Herwig::SemiLeptonicScalarDecayer::_current
LeptonNeutrinoCurrentPtr _current
The leptonic current.
Definition:
SemiLeptonicScalarDecayer.h:151
Herwig::SemiLeptonicScalarDecayer::_tensors
vector< Helicity::LorentzTensor< double > > _tensors
Polarization vectors for the decay products.
Definition:
SemiLeptonicScalarDecayer.h:181
Herwig::SemiLeptonicScalarDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
SemiLeptonicScalarDecayer.h:118
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Generated on Sat Apr 11 2020 14:50:31 for Herwig by
1.8.13