herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::LeptonNeutrinoCurrent Class Reference

This class implements the weak decay current for a lepton and a neutrino. More...

#include <LeptonNeutrinoCurrent.h>

Inheritance diagram for Herwig::LeptonNeutrinoCurrent:

Public Member Functions

 LeptonNeutrinoCurrent ()
 Default constructor.
 
- Public Member Functions inherited from Herwig::WeakCurrent
 WeakCurrent ()
 Default constructor.
 
unsigned int numberOfModes () const
 Return the number of modes handled by this current.
 
void decayModeInfo (unsigned int imode, int &iq, int &ia) const
 Information on a decay mode.
 
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently.
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently.
 
- Public Member Functions inherited from ThePEG::Interfaced
virtual bool defaultInit ()
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
PPtr getParticle (PID) const
 
PDPtr getParticleData (PID) const
 
bool used () const
 
void useMe () const
 
tEGPtr generator () const
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
virtual void debugme () const
 
void update ()
 
void init ()
 
virtual bool preInitialize () const
 
void initrun ()
 
void finish ()
 
void touch ()
 
void reset ()
 
void clear ()
 
InitState state () const
 
bool locked () const
 
bool touched () const
 
virtual IBPtr fullclone () const
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- Public Member Functions inherited from ThePEG::Named
 Named (const string &newName=string())
 
 Named (const Named &)=default
 
const string & name () const
 
bool operator== (const Named &other) const
 
bool operator< (const Named &other) const
 

Clone Methods.

vector< Helicity::LorentzSpinor< SqrtEnergy > > wave_
 Spinors for the decay products.
 
vector< Helicity::LorentzSpinorBar< SqrtEnergy > > wavebar_
 barred spinors for the decay products
 
virtual IBPtr clone () const
 Make a simple clone of this object.
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.
 
LeptonNeutrinoCurrentoperator= (const LeptonNeutrinoCurrent &)=delete
 Private and non-existent assignment operator.
 

Methods for the construction of the phase space integrator.

virtual bool createMode (int icharge, tcPDPtr resonance, FlavourInfo flavour, unsigned int imode, PhaseSpaceModePtr mode, unsigned int iloc, int ires, PhaseSpaceChannel phase, Energy upp)
 Complete the construction of the decay mode for integration.classes inheriting from this one.
 
virtual tPDVector particles (int icharge, unsigned int imode, int iq, int ia)
 The particles produced by the current.
 
virtual vector< LorentzPolarizationVectorEcurrent (tcPDPtr resonance, FlavourInfo flavour, const int imode, const int ichan, Energy &scale, const tPDVector &outgoing, const vector< Lorentz5Momentum > &momenta, DecayIntegrator::MEOption meopt) const
 Hadronic current.
 
void constructSpinInfo (ParticleVector decay) const
 Construct the SpinInfo for the decay products.
 
virtual bool accept (vector< int > id)
 Accept the decay.
 
virtual unsigned int decayMode (vector< int > id)
 Returns the decay mode number for a given set of particles in the current.
 
virtual void dataBaseOutput (ofstream &os, bool header, bool create) const
 Output the setup information for the particle database.
 
static void Init ()
 Standard Init function used to initialize the interfaces.
 

Additional Inherited Members

- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Static Public Member Functions inherited from Herwig::WeakCurrent
static void Init ()
 Standard Init function used to initialize the interfaces.
 
- Static Public Member Functions inherited from ThePEG::Interfaced
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::InterfacedBase
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Member Functions inherited from Herwig::WeakCurrent
void addDecayMode (int iq, int ia)
 Add a decay mode to the list.
 
void setInitialModes (unsigned int nmodes)
 Set initial number of modes.
 
- Protected Member Functions inherited from ThePEG::Interfaced
void reporeg (IBPtr object, string name) const
 
bool setDefaultReference (PtrT &ptr, string classname, string objectname)
 
 Interfaced (const string &newName)
 
 Interfaced (const Interfaced &i)
 
void setGenerator (tEGPtr generator)
 
- Protected Member Functions inherited from ThePEG::InterfacedBase
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual IBPtr clone () const=0
 
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual void doinit ()
 
virtual void doinitrun ()
 
virtual void dofinish ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
- Protected Member Functions inherited from ThePEG::Named
const Namedoperator= (const Named &other)
 
const string & name (const string &newName)
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 

Detailed Description

This class implements the weak decay current for a lepton and a neutrino.

In this case the current is given by \(J^\mu = \bar{u}(p_\nu)\gamma^\mu(1-\gamma_5)u(p_\ell)\) where

  • \(p_\nu\) is the momentum of the neutrino,
  • \(p_\ell\) is the momentum of the charged lepton.
See also
WeakCurrent.

Definition at line 34 of file LeptonNeutrinoCurrent.h.

Constructor & Destructor Documentation

◆ LeptonNeutrinoCurrent()

Herwig::LeptonNeutrinoCurrent::LeptonNeutrinoCurrent ( )
inline

Default constructor.

Definition at line 41 of file LeptonNeutrinoCurrent.h.

References Herwig::WeakCurrent::addDecayMode(), and Herwig::WeakCurrent::setInitialModes().

Member Function Documentation

◆ accept()

virtual bool Herwig::LeptonNeutrinoCurrent::accept ( vector< int >  id)
virtual

Accept the decay.

Checks that this is one of the allowed modes.

Parameters
idThe id's of the particles in the current.
Returns
Can this current have the external particles specified.

Implements Herwig::WeakCurrent.

◆ clone()

virtual IBPtr Herwig::LeptonNeutrinoCurrent::clone ( ) const
inlineprotectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Definition at line 151 of file LeptonNeutrinoCurrent.h.

◆ constructSpinInfo()

void Herwig::LeptonNeutrinoCurrent::constructSpinInfo ( ParticleVector  decay) const
virtual

Construct the SpinInfo for the decay products.

Reimplemented from Herwig::WeakCurrent.

◆ createMode()

virtual bool Herwig::LeptonNeutrinoCurrent::createMode ( int  icharge,
tcPDPtr  resonance,
FlavourInfo  flavour,
unsigned int  imode,
PhaseSpaceModePtr  mode,
unsigned int  iloc,
int  ires,
PhaseSpaceChannel  phase,
Energy  upp 
)
virtual

Complete the construction of the decay mode for integration.classes inheriting from this one.

This method is purely virtual and must be implemented in the classes inheriting from WeakCurrent.

Parameters
ichargeThe total charge of the outgoing particles in the current.
resonanceIf specified only include terms with this particle
flavourInformation on the required flavours of the quarks
imodeThe mode in the current being asked for.
modeThe phase space mode for the integration
ilocThe location of the of the first particle from the current in the list of outgoing particles.
iresThe location of the first intermediate for the current.
phaseThe prototype phase space channel for the integration.
uppThe maximum possible mass the particles in the current are allowed to have.
Returns
Whether the current was sucessfully constructed.

Implements Herwig::WeakCurrent.

◆ current()

virtual vector< LorentzPolarizationVectorE > Herwig::LeptonNeutrinoCurrent::current ( tcPDPtr  resonance,
FlavourInfo  flavour,
const int  imode,
const int  ichan,
Energy &  scale,
const tPDVector outgoing,
const vector< Lorentz5Momentum > &  momenta,
DecayIntegrator::MEOption  meopt 
) const
virtual

Hadronic current.

This method is purely virtual and must be implemented in all classes inheriting from this one.

Parameters
resonanceIf specified only include terms with this particle
flavourInformation on the required flavours of the quarks
imodeThe mode
ichanThe phase-space channel the current is needed for.
scaleThe invariant mass of the particles in the current.
outgoingThe particles produced in the decay
momentaThe momenta of the particles produced in the decay
meoptOption for the calculation of the matrix element
Returns
The current.

Implements Herwig::WeakCurrent.

◆ dataBaseOutput()

virtual void Herwig::LeptonNeutrinoCurrent::dataBaseOutput ( ofstream &  os,
bool  header,
bool  create 
) const
virtual

Output the setup information for the particle database.

Parameters
osThe stream to output the information to
headerWhether or not to output the information for MySQL
createWhether or not to add a statement creating the object

Reimplemented from Herwig::WeakCurrent.

◆ decayMode()

virtual unsigned int Herwig::LeptonNeutrinoCurrent::decayMode ( vector< int >  id)
virtual

Returns the decay mode number for a given set of particles in the current.

Parameters
idThe id's of the particles in the current.
Returns
The number of the mode

Implements Herwig::WeakCurrent.

◆ fullclone()

virtual IBPtr Herwig::LeptonNeutrinoCurrent::fullclone ( ) const
inlineprotectedvirtual

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns
a pointer to the new object.

Reimplemented from ThePEG::InterfacedBase.

Definition at line 157 of file LeptonNeutrinoCurrent.h.

◆ particles()

virtual tPDVector Herwig::LeptonNeutrinoCurrent::particles ( int  icharge,
unsigned int  imode,
int  iq,
int  ia 
)
virtual

The particles produced by the current.

This just returns the leptons.

Parameters
ichargeThe total charge of the particles in the current.
imodeThe mode for which the particles are being requested
iqThe PDG code for the quark
iaThe PDG code for the antiquark
Returns
The external particles for the current.

Implements Herwig::WeakCurrent.

Member Data Documentation

◆ wave_

vector<Helicity::LorentzSpinor <SqrtEnergy> > Herwig::LeptonNeutrinoCurrent::wave_
mutableprivate

Spinors for the decay products.

Definition at line 172 of file LeptonNeutrinoCurrent.h.

◆ wavebar_

vector<Helicity::LorentzSpinorBar<SqrtEnergy> > Herwig::LeptonNeutrinoCurrent::wavebar_
mutableprivate

barred spinors for the decay products

Definition at line 177 of file LeptonNeutrinoCurrent.h.


The documentation for this class was generated from the following file: