herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
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
72
double
me2
(
const
int
ichan,
const
Particle
& part,
73
const
tPDVector
&
outgoing
,
74
const
vector<Lorentz5Momentum> & momenta,
75
MEOption
meopt)
const
;
76
80
virtual
void
constructSpinInfo
(
const
Particle
& part,
81
ParticleVector
outgoing
)
const
;
82
88
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
89
90
public
:
91
98
void
persistentOutput
(
PersistentOStream
& os)
const
;
99
105
void
persistentInput
(
PersistentIStream
& is,
int
version);
107
111
static
void
Init
();
112
113
protected
:
114
121
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
122
127
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
129
130
protected
:
131
134
140
virtual
void
doinit
();
141
145
virtual
void
doinitrun
();
147
148
private
:
149
153
SemiLeptonicScalarDecayer
&
operator=
(
const
SemiLeptonicScalarDecayer
&) =
delete
;
154
155
private
:
156
160
LeptonNeutrinoCurrentPtr
_current
;
161
165
ScalarFormFactorPtr
_form
;
166
170
vector<double>
_maxwgt
;
171
175
vector<int>
_modemap
;
176
180
mutable
RhoDMatrix
_rho
;
181
185
mutable
vector<Helicity::LorentzPolarizationVector>
_vectors
;
186
190
mutable
vector<Helicity::LorentzTensor<double> >
_tensors
;
191
195
mutable
vector<unsigned int>
_constants
;
196
200
mutable
vector<PDT::Spin>
_ispin
;
201
205
mutable
unsigned
int
_imes
;
206
};
207
208
}
209
210
211
#endif
/* HERWIG_SemiLeptonicScalarDecayer_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::SemiLeptonicScalarDecayer
The SemiLeptonicScalarDecayer class is designed for the semileptonic decay of a (pesudo)scalar meson ...
Definition:
SemiLeptonicScalarDecayer.h:37
Herwig::SemiLeptonicScalarDecayer::_tensors
vector< Helicity::LorentzTensor< double > > _tensors
Polarization vectors for the decay products.
Definition:
SemiLeptonicScalarDecayer.h:190
Herwig::SemiLeptonicScalarDecayer::operator=
SemiLeptonicScalarDecayer & operator=(const SemiLeptonicScalarDecayer &)=delete
Private and non-existent assignment operator.
Herwig::SemiLeptonicScalarDecayer::_form
ScalarFormFactorPtr _form
The form factor.
Definition:
SemiLeptonicScalarDecayer.h:165
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:127
Herwig::SemiLeptonicScalarDecayer::accept
virtual bool accept(tcPDPtr parent, const tPDVector &children) const
Check if this decayer can perfom the decay for a particular mode.
Herwig::SemiLeptonicScalarDecayer::_ispin
vector< PDT::Spin > _ispin
Spins of the particles.
Definition:
SemiLeptonicScalarDecayer.h:200
Herwig::SemiLeptonicScalarDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::SemiLeptonicScalarDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::SemiLeptonicScalarDecayer::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::SemiLeptonicScalarDecayer::_current
LeptonNeutrinoCurrentPtr _current
The leptonic current.
Definition:
SemiLeptonicScalarDecayer.h:160
Herwig::SemiLeptonicScalarDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
SemiLeptonicScalarDecayer.h:121
Herwig::SemiLeptonicScalarDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::SemiLeptonicScalarDecayer::_vectors
vector< Helicity::LorentzPolarizationVector > _vectors
Polarization vectors for the decay products.
Definition:
SemiLeptonicScalarDecayer.h:185
Herwig::SemiLeptonicScalarDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::SemiLeptonicScalarDecayer::SemiLeptonicScalarDecayer
SemiLeptonicScalarDecayer()
Default constructor.
Herwig::SemiLeptonicScalarDecayer::_imes
unsigned int _imes
Location of the outgoing meson.
Definition:
SemiLeptonicScalarDecayer.h:205
Herwig::SemiLeptonicScalarDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::SemiLeptonicScalarDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::SemiLeptonicScalarDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::SemiLeptonicScalarDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::SemiLeptonicScalarDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
SemiLeptonicScalarDecayer.h:180
Herwig::SemiLeptonicScalarDecayer::_modemap
vector< int > _modemap
mapping of the mode to the form factor
Definition:
SemiLeptonicScalarDecayer.h:175
Herwig::SemiLeptonicScalarDecayer::_constants
vector< unsigned int > _constants
Constants for the mapping of the leptonic current.
Definition:
SemiLeptonicScalarDecayer.h:195
Herwig::SemiLeptonicScalarDecayer::_maxwgt
vector< double > _maxwgt
the maximum weight for the integration of a given decay
Definition:
SemiLeptonicScalarDecayer.h:170
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