herwig
is hosted by
Hepforge
,
IPPP Durham
Herwig
7.2.1
Decay
Tau
TauDecayer.h
1
// -*- C++ -*-
2
//
3
// TauDecayer.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_TauDecayer_H
10
#define HERWIG_TauDecayer_H
11
// This is the declaration of the TauDecayer class.
12
13
#include "Herwig/Decay/DecayIntegrator.h"
14
#include "Herwig/Decay/DecayPhaseSpaceMode.h"
15
#include "ThePEG/Helicity/LorentzPolarizationVector.h"
16
#include "Herwig/Decay/WeakCurrents/WeakDecayCurrent.h"
17
#include "ThePEG/Helicity/LorentzSpinor.h"
18
#include "ThePEG/Helicity/LorentzSpinorBar.h"
19
20
namespace
Herwig
{
21
using namespace
ThePEG
;
22
using
ThePEG::Helicity::LorentzPolarizationVector
;
23
24
50
class
TauDecayer
:
public
DecayIntegrator
{
51
52
public
:
53
57
TauDecayer
() : _polOpt(false), _tauMpol(0.), _tauPpol(0.) {
58
generateIntermediates(
true
);
59
}
60
66
virtual
bool
accept(
tcPDPtr
parent,
const
tPDVector
& children)
const
;
67
74
virtual
int
modeNumber(
bool
& cc,
tcPDPtr
parent,
75
const
tPDVector
& children)
const
;
76
87
virtual
double
me2(
const
int
ichan,
const
Particle
& part,
88
const
ParticleVector
& decay,
MEOption
meopt)
const
;
89
93
void
dataBaseOutput(ofstream & os,
bool
header)
const
;
94
95
public
:
96
103
void
persistentOutput(
PersistentOStream
& os)
const
;
104
110
void
persistentInput(
PersistentIStream
& is,
int
version);
112
116
static
void
Init();
117
118
protected
:
119
126
virtual
IBPtr
clone
()
const
{
return
new_ptr(*
this
);}
127
132
virtual
IBPtr
fullclone
()
const
{
return
new_ptr(*
this
);}
134
135
protected
:
136
139
145
virtual
void
doinit();
146
150
virtual
void
doinitrun();
152
153
private
:
154
158
TauDecayer
& operator=(
const
TauDecayer
&) =
delete
;
159
160
private
:
161
165
vector<unsigned int>
_modemap
;
166
170
WeakDecayCurrentPtr
_current
;
171
175
vector<int>
_wgtloc
;
176
180
vector<double>
_wgtmax
;
181
185
vector<double>
_weights
;
186
190
mutable
vector<LorentzSpinor <SqrtEnergy> >
_inspin
;
191
195
mutable
vector<LorentzSpinorBar<SqrtEnergy> >
_inbar
;
196
200
mutable
RhoDMatrix
_rho
;
201
205
mutable
vector<unsigned int>
_constants
;
206
210
mutable
vector<PDT::Spin>
_ispin
;
211
215
bool
_polOpt
;
216
220
double
_tauMpol
;
221
225
double
_tauPpol
;
226
};
227
228
}
229
230
231
#endif
/* THEPEG_TauDecayer_H */
Herwig::TauDecayer::_modemap
vector< unsigned int > _modemap
mapping of the modes to the currents
Definition:
TauDecayer.h:165
Herwig::TauDecayer::_weights
vector< double > _weights
The weights for the different channels.
Definition:
TauDecayer.h:185
ThePEG::PersistentIStream
ThePEG::Particle
ThePEG::PersistentOStream
Herwig::TauDecayer::_constants
vector< unsigned int > _constants
Maps for the vectors.
Definition:
TauDecayer.h:205
ThePEG::IBPtr
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
ThePEG
Herwig::TauDecayer::_wgtmax
vector< double > _wgtmax
the maximum weight
Definition:
TauDecayer.h:180
Herwig::TauDecayer::_rho
RhoDMatrix _rho
Rho matrix.
Definition:
TauDecayer.h:200
Herwig::DecayIntegrator::MEOption
MEOption
Enum for the matrix element option.
Definition:
DecayIntegrator.h:79
Herwig::TauDecayer::_inbar
vector< LorentzSpinorBar< SqrtEnergy > > _inbar
Barred spinors for the deaying particle.
Definition:
TauDecayer.h:195
ThePEG::tPDVector
vector< tPDPtr > tPDVector
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::TauDecayer::TauDecayer
TauDecayer()
Default constructor.
Definition:
TauDecayer.h:57
Herwig::TauDecayer::_wgtloc
vector< int > _wgtloc
location of the weights
Definition:
TauDecayer.h:175
Herwig::TauDecayer
The TauDecayer class performs the decay of the .
Definition:
TauDecayer.h:50
Herwig::TauDecayer::_ispin
vector< PDT::Spin > _ispin
Spins of the particles.
Definition:
TauDecayer.h:210
Herwig::TauDecayer::clone
virtual IBPtr clone() const
Make a simple clone of this object.
Definition:
TauDecayer.h:126
Herwig::TauDecayer::_polOpt
bool _polOpt
Option to force the polarizations of the tau leptons.
Definition:
TauDecayer.h:215
Herwig
-*- C++ -*-
Definition:
BasicConsistency.h:17
ThePEG::Helicity::LorentzPolarizationVector
LorentzVector< complex< double > > LorentzPolarizationVector
Herwig::TauDecayer::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Definition:
TauDecayer.h:132
Herwig::TauDecayer::_current
WeakDecayCurrentPtr _current
the hadronic current
Definition:
TauDecayer.h:170
ThePEG::ParticleVector
vector< PPtr > ParticleVector
ThePEG::RhoDMatrix
Herwig::TauDecayer::_tauMpol
double _tauMpol
Polarization for .
Definition:
TauDecayer.h:220
Herwig::TauDecayer::_tauPpol
double _tauPpol
Polarization of .
Definition:
TauDecayer.h:225
Herwig::TauDecayer::_inspin
vector< LorentzSpinor< SqrtEnergy > > _inspin
The spinors for the decaying particle.
Definition:
TauDecayer.h:190
Generated on Sat Apr 11 2020 14:50:32 for Herwig by
1.8.13