herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
Baryon
SemiLeptonicBaryonDecayer.h
1
// -*- C++ -*-
2
#ifndef HERWIG_SemiLeptonicBaryonDecayer_H
3
#define HERWIG_SemiLeptonicBaryonDecayer_H
4
//
5
// This is the declaration of the SemiLeptonicBaryonDecayer class.
6
//
7
#include "Herwig/Decay/DecayIntegrator.h"
8
#include "Herwig/Decay/WeakCurrents/LeptonNeutrinoCurrent.h"
9
#include "Herwig/Decay/FormFactors/BaryonFormFactor.h"
10
#include "Herwig/Decay/PhaseSpaceMode.h"
11
#include "ThePEG/Helicity/LorentzRSSpinorBar.h"
12
13
namespace
Herwig
{
14
using namespace
ThePEG
;
15
30
class
SemiLeptonicBaryonDecayer
:
public
DecayIntegrator
{
31
32
public
:
33
37
SemiLeptonicBaryonDecayer
();
38
44
virtual
bool
accept
(
tcPDPtr
parent,
const
tPDVector
& children)
const
;
45
52
virtual
int
modeNumber
(
bool
& cc,
tcPDPtr
parent,
53
const
tPDVector
& children)
const
;
54
64
double
me2
(
const
int
ichan,
const
Particle
& part,
65
const
tPDVector
&
outgoing
,
66
const
vector<Lorentz5Momentum> & momenta,
67
MEOption
meopt)
const
;
68
72
virtual
void
constructSpinInfo
(
const
Particle
& part,
73
ParticleVector
outgoing
)
const
;
74
80
virtual
void
dataBaseOutput
(ofstream & os,
bool
header)
const
;
81
82
public
:
83
90
void
persistentOutput
(
PersistentOStream
& os)
const
;
91
97
void
persistentInput
(
PersistentIStream
& is,
int
version);
99
103
static
void
Init
();
104
105
protected
:
106
113
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
114
119
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
121
122
protected
:
123
131
virtual
void
doinit
();
132
136
virtual
void
doinitrun
();
138
139
protected
:
140
149
double
halfHalf
(
const
Particle
& part,
150
const
tPDVector
&
outgoing
,
151
const
vector<Lorentz5Momentum> & momenta,
152
MEOption
meopt)
const
;
153
162
double
halfThreeHalf
(
const
Particle
& part,
163
const
tPDVector
&
outgoing
,
164
const
vector<Lorentz5Momentum> & momenta,
165
MEOption
meopt)
const
;
166
167
private
:
168
172
SemiLeptonicBaryonDecayer
&
operator=
(
const
SemiLeptonicBaryonDecayer
&) =
delete
;
173
174
private
:
175
179
LeptonNeutrinoCurrentPtr
_current
;
180
184
BaryonFormFactorPtr
_form
;
185
189
vector<double>
_maxwgt
;
190
194
vector<int>
_modemap
;
195
199
mutable
RhoDMatrix
_rho
;
200
204
mutable
vector<LorentzSpinor<SqrtEnergy> >
_inHalf
;
205
209
mutable
vector<LorentzSpinorBar<SqrtEnergy> >
_inHalfBar
;
210
214
mutable
vector<LorentzRSSpinor<SqrtEnergy> >
_inThreeHalf
;
215
219
mutable
vector<LorentzRSSpinorBar<SqrtEnergy> >
_inThreeHalfBar
;
220
224
mutable
vector<unsigned int>
_constants
;
225
229
mutable
vector<PDT::Spin>
_ispin
;
230
234
mutable
unsigned
int
_ibar
;
235
};
236
237
}
238
239
240
#endif
/* HERWIG_SemiLeptonicBaryonDecayer_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::SemiLeptonicBaryonDecayer
The SemiLeptonicBaryonDecayer class is designed for the semi-leptonic decay of the baryons.
Definition:
SemiLeptonicBaryonDecayer.h:30
Herwig::SemiLeptonicBaryonDecayer::_current
LeptonNeutrinoCurrentPtr _current
The current for the leptons.
Definition:
SemiLeptonicBaryonDecayer.h:179
Herwig::SemiLeptonicBaryonDecayer::_inHalfBar
vector< LorentzSpinorBar< SqrtEnergy > > _inHalfBar
Spin- barred spinors.
Definition:
SemiLeptonicBaryonDecayer.h:209
Herwig::SemiLeptonicBaryonDecayer::doinitrun
virtual void doinitrun()
Initialize this object to the begining of the run phase.
Herwig::SemiLeptonicBaryonDecayer::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::SemiLeptonicBaryonDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::SemiLeptonicBaryonDecayer::accept
virtual bool accept(tcPDPtr parent, const tPDVector &children) const
Check if this decayer can perfom the decay for a particular mode.
Herwig::SemiLeptonicBaryonDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::SemiLeptonicBaryonDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::SemiLeptonicBaryonDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::SemiLeptonicBaryonDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
SemiLeptonicBaryonDecayer.h:119
Herwig::SemiLeptonicBaryonDecayer::_inThreeHalf
vector< LorentzRSSpinor< SqrtEnergy > > _inThreeHalf
Spin- spinors.
Definition:
SemiLeptonicBaryonDecayer.h:214
Herwig::SemiLeptonicBaryonDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
SemiLeptonicBaryonDecayer.h:113
Herwig::SemiLeptonicBaryonDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::SemiLeptonicBaryonDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
SemiLeptonicBaryonDecayer.h:199
Herwig::SemiLeptonicBaryonDecayer::halfHalf
double halfHalf(const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Matrix element for .
Herwig::SemiLeptonicBaryonDecayer::_form
BaryonFormFactorPtr _form
form-factor
Definition:
SemiLeptonicBaryonDecayer.h:184
Herwig::SemiLeptonicBaryonDecayer::halfThreeHalf
double halfThreeHalf(const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Matrix element for .
Herwig::SemiLeptonicBaryonDecayer::_modemap
vector< int > _modemap
mapping of the mode to the form-factor
Definition:
SemiLeptonicBaryonDecayer.h:194
Herwig::SemiLeptonicBaryonDecayer::_ispin
vector< PDT::Spin > _ispin
Spins of the particles.
Definition:
SemiLeptonicBaryonDecayer.h:229
Herwig::SemiLeptonicBaryonDecayer::_maxwgt
vector< double > _maxwgt
the maximum weight
Definition:
SemiLeptonicBaryonDecayer.h:189
Herwig::SemiLeptonicBaryonDecayer::_inThreeHalfBar
vector< LorentzRSSpinorBar< SqrtEnergy > > _inThreeHalfBar
Spin- barred spinors.
Definition:
SemiLeptonicBaryonDecayer.h:219
Herwig::SemiLeptonicBaryonDecayer::_ibar
unsigned int _ibar
Location of the outgoing baryon.
Definition:
SemiLeptonicBaryonDecayer.h:234
Herwig::SemiLeptonicBaryonDecayer::SemiLeptonicBaryonDecayer
SemiLeptonicBaryonDecayer()
Default constructor.
Herwig::SemiLeptonicBaryonDecayer::Init
static void Init()
Standard Init function used to initialize the interfaces.
Herwig::SemiLeptonicBaryonDecayer::_inHalf
vector< LorentzSpinor< SqrtEnergy > > _inHalf
Spin- spinors.
Definition:
SemiLeptonicBaryonDecayer.h:204
Herwig::SemiLeptonicBaryonDecayer::_constants
vector< unsigned int > _constants
Constants for the mapping of the leptonic vector.
Definition:
SemiLeptonicBaryonDecayer.h:224
Herwig::SemiLeptonicBaryonDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::SemiLeptonicBaryonDecayer::operator=
SemiLeptonicBaryonDecayer & operator=(const SemiLeptonicBaryonDecayer &)=delete
Private and non-existent assignment operator.
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