herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.3.0
Decay
Baryon
BaryonFactorizedDecayer.h
1
// -*- C++ -*-
2
#ifndef HERWIG_BaryonFactorizedDecayer_H
3
#define HERWIG_BaryonFactorizedDecayer_H
4
//
5
// This is the declaration of the BaryonFactorizedDecayer class.
6
//
7
8
#include "Herwig/Decay/DecayIntegrator.h"
9
#include "Herwig/Decay/WeakCurrents/WeakCurrent.h"
10
#include "Herwig/Decay/FormFactors/BaryonFormFactor.h"
11
#include "ThePEG/StandardModel/StandardModelBase.h"
12
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
13
#include "Herwig/Decay/PhaseSpaceMode.h"
14
#include "Herwig/Models/StandardModel/StandardCKM.h"
15
#include "ThePEG/Helicity/LorentzRSSpinorBar.h"
16
17
namespace
Herwig
{
18
using namespace
ThePEG
;
19
30
class
BaryonFactorizedDecayer
:
public
DecayIntegrator
{
31
32
public
:
33
37
BaryonFactorizedDecayer
();
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
protected
:
83
93
double
halfHalf
(
const
int
ichan,
94
const
Particle
& part,
95
const
tPDVector
&
outgoing
,
96
const
vector<Lorentz5Momentum> & momenta,
97
MEOption
meopt)
const
;
98
108
double
halfThreeHalf
(
const
int
ichan,
109
const
Particle
& part,
110
const
tPDVector
&
outgoing
,
111
const
vector<Lorentz5Momentum> & momenta,
112
MEOption
meopt)
const
;
113
114
public
:
115
122
void
persistentOutput
(
PersistentOStream
& os)
const
;
123
129
void
persistentInput
(
PersistentIStream
& is,
int
version);
131
138
static
void
Init
();
139
140
protected
:
141
148
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
149
154
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
156
157
protected
:
158
161
167
virtual
void
doinit
();
168
173
virtual
void
doinitrun
();
175
176
private
:
177
186
void
findModes
(
unsigned
int
imode
,
187
tPDVector
&
incoming
,
188
vector<tPDVector> &
outgoing
,
189
vector<unsigned int> & loc,vector<bool> & cc);
190
191
private
:
192
197
BaryonFactorizedDecayer
&
operator=
(
const
BaryonFactorizedDecayer
&) =
delete
;
198
199
private
:
200
204
WeakCurrentPtr
_current
;
205
209
BaryonFormFactorPtr
_form
;
210
218
double
_a1b
;
219
223
double
_a2b
;
224
228
double
_a1c
;
229
233
double
_a2c
;
235
239
vector<vector<unsigned int> >
_currentmap
;
240
244
vector<vector<unsigned int> >
_formmap
;
245
249
vector<vector <Complex> >
_factCKM
;
250
254
vector<int>
_wgtloc
;
255
259
vector<double>
_wgtmax
;
260
264
vector<double>
_weights
;
265
269
Ptr<StandardCKM>::pointer
_theCKM
;
270
274
mutable
RhoDMatrix
_rho
;
275
279
mutable
vector<LorentzSpinor<SqrtEnergy> >
_inHalf
;
280
284
mutable
vector<LorentzSpinorBar<SqrtEnergy> >
_inHalfBar
;
285
289
mutable
vector<LorentzRSSpinor<SqrtEnergy> >
_inThreeHalf
;
290
294
mutable
vector<LorentzRSSpinorBar<SqrtEnergy> >
_inThreeHalfBar
;
295
};
296
297
}
298
299
#endif
/* HERWIG_BaryonFactorizedDecayer_H */
Herwig::BaryonFactorizedDecayer
The BaryonFactorizedDecayer class is designed to combine the form factor for a weak baryon transition...
Definition:
BaryonFactorizedDecayer.h:30
Herwig::BaryonFactorizedDecayer::_wgtloc
vector< int > _wgtloc
location of the weights
Definition:
BaryonFactorizedDecayer.h:254
Herwig::BaryonFactorizedDecayer::_factCKM
vector< vector< Complex > > _factCKM
The CKM factors.
Definition:
BaryonFactorizedDecayer.h:249
Herwig::BaryonFactorizedDecayer::_a1b
double _a1b
The perturbative coefficients.
Definition:
BaryonFactorizedDecayer.h:218
Herwig::BaryonFactorizedDecayer::_a2b
double _a2b
The perturbative coefficient for b decays.
Definition:
BaryonFactorizedDecayer.h:223
Herwig::BaryonFactorizedDecayer::_inHalf
vector< LorentzSpinor< SqrtEnergy > > _inHalf
Spin- spinors.
Definition:
BaryonFactorizedDecayer.h:279
Herwig::BaryonFactorizedDecayer::BaryonFactorizedDecayer
BaryonFactorizedDecayer()
The default constructor.
Herwig::BaryonFactorizedDecayer::constructSpinInfo
virtual void constructSpinInfo(const Particle &part, ParticleVector outgoing) const
Construct the SpinInfos for the particles produced in the decay.
Herwig::BaryonFactorizedDecayer::_current
WeakCurrentPtr _current
The weak decay current.
Definition:
BaryonFactorizedDecayer.h:204
Herwig::BaryonFactorizedDecayer::_form
BaryonFormFactorPtr _form
The baryon form factor.
Definition:
BaryonFactorizedDecayer.h:209
Herwig::BaryonFactorizedDecayer::_theCKM
Ptr< StandardCKM >::pointer _theCKM
Pointer to the CKM object.
Definition:
BaryonFactorizedDecayer.h:269
Herwig::BaryonFactorizedDecayer::halfHalf
double halfHalf(const int ichan, const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Matrix element for .
Herwig::BaryonFactorizedDecayer::findModes
void findModes(unsigned int imode, tPDVector &incoming, vector< tPDVector > &outgoing, vector< unsigned int > &loc, vector< bool > &cc)
Find duplicate modes in the list of particles.
Herwig::BaryonFactorizedDecayer::_formmap
vector< vector< unsigned int > > _formmap
Mapping of the modes to the form factors.
Definition:
BaryonFactorizedDecayer.h:244
Herwig::BaryonFactorizedDecayer::_rho
RhoDMatrix _rho
Spin density matrix.
Definition:
BaryonFactorizedDecayer.h:274
Herwig::BaryonFactorizedDecayer::_inHalfBar
vector< LorentzSpinorBar< SqrtEnergy > > _inHalfBar
Spin- barred spinors.
Definition:
BaryonFactorizedDecayer.h:284
Herwig::BaryonFactorizedDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
BaryonFactorizedDecayer.h:148
Herwig::BaryonFactorizedDecayer::_wgtmax
vector< double > _wgtmax
the maximum weights
Definition:
BaryonFactorizedDecayer.h:259
Herwig::BaryonFactorizedDecayer::modeNumber
virtual int modeNumber(bool &cc, tcPDPtr parent, const tPDVector &children) const
Which of the possible decays is required.
Herwig::BaryonFactorizedDecayer::_inThreeHalfBar
vector< LorentzRSSpinorBar< SqrtEnergy > > _inThreeHalfBar
Spin- barred spinors.
Definition:
BaryonFactorizedDecayer.h:294
Herwig::BaryonFactorizedDecayer::_a1c
double _a1c
The perturbative coefficient for c decays.
Definition:
BaryonFactorizedDecayer.h:228
Herwig::BaryonFactorizedDecayer::_weights
vector< double > _weights
weights for the different channels
Definition:
BaryonFactorizedDecayer.h:264
Herwig::BaryonFactorizedDecayer::operator=
BaryonFactorizedDecayer & operator=(const BaryonFactorizedDecayer &)=delete
The assignment operator is private and must never be called.
Herwig::BaryonFactorizedDecayer::_currentmap
vector< vector< unsigned int > > _currentmap
Mapping of the modes to the currents.
Definition:
BaryonFactorizedDecayer.h:239
Herwig::BaryonFactorizedDecayer::dataBaseOutput
virtual void dataBaseOutput(ofstream &os, bool header) const
Output the setup information for the particle database.
Herwig::BaryonFactorizedDecayer::doinit
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Herwig::BaryonFactorizedDecayer::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Herwig::BaryonFactorizedDecayer::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
Herwig::BaryonFactorizedDecayer::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::BaryonFactorizedDecayer::doinitrun
virtual void doinitrun()
Initialize this object.
Herwig::BaryonFactorizedDecayer::_a2c
double _a2c
The perturbative coefficient for c decays.
Definition:
BaryonFactorizedDecayer.h:233
Herwig::BaryonFactorizedDecayer::halfThreeHalf
double halfThreeHalf(const int ichan, const Particle &part, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, MEOption meopt) const
Matrix element for .
Herwig::BaryonFactorizedDecayer::_inThreeHalf
vector< LorentzRSSpinor< SqrtEnergy > > _inThreeHalf
Spin- spinors.
Definition:
BaryonFactorizedDecayer.h:289
Herwig::BaryonFactorizedDecayer::accept
virtual bool accept(tcPDPtr parent, const tPDVector &children) const
Check if this decayer can perfom the decay for a particular mode.
Herwig::BaryonFactorizedDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
BaryonFactorizedDecayer.h:154
Herwig::BaryonFactorizedDecayer::Init
static void Init()
The standard Init function used to initialize the interfaces.
Herwig::DecayIntegrator
Main class for Decayers implementing multi-channel phase space integration.
Definition:
DecayIntegrator.h:60
Herwig::DecayIntegrator::imode
int imode() const
The mode being used for this decay.
Definition:
DecayIntegrator.h:118
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:72
ThePEG::Particle
ThePEG::PersistentIStream
ThePEG::PersistentOStream
ThePEG::RhoDMatrix
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::outgoing
outgoing
ThePEG::Helicity::incoming
incoming
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