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

The HardBranching class is designed to contain the information needed for an individual branching in the POWHEG approach. More...

#include <HardBranching.h>

Inheritance diagram for Herwig::HardBranching:

Public Types

enum  Status { Outgoing =0 , Incoming , Decay }
 Enum for the status. More...
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 

Public Member Functions

 HardBranching (ShowerParticlePtr particle, SudakovPtr sudakov, tHardBranchingPtr parent, Status status)
 The default constructor.
 
void addChild (HardBranchingPtr child)
 Add a child of the branching.
 
void clearChildren ()
 Clear the children.
 
void setMomenta (LorentzRotation R, double alpha, Lorentz5Momentum pt, bool setMomentum=true)
 Set the momenta of the particles.
 
tShowerParticlePtr branchingParticle () const
 Set and get members for the private member variables.
 
void branchingParticle (ShowerParticlePtr in)
 Set the branching particle.
 
const Lorentz5Momentum & original () const
 Get the original momentum.
 
void original (const Lorentz5Momentum &in)
 Set the original momentum.
 
const Lorentz5Momentum & pVector () const
 Get the p reference vector.
 
void pVector (const Lorentz5Momentum &in)
 Set the p reference vector.
 
const Lorentz5Momentum & nVector () const
 Get the n reference vector.
 
void nVector (const Lorentz5Momentum &in)
 Set the n reference vector.
 
const Lorentz5Momentum & qPerp () const
 Get the transverse momentum vector.
 
void qPerp (const Lorentz5Momentum &in)
 Set the transverse momentum vector.
 
const Lorentz5Momentum & showerMomentum () const
 Get the momentum the particle should have as the start of a shower.
 
void showerMomentum (const Lorentz5Momentum &in)
 Set the momentum the particle should have as the start of a shower.
 
Energy pT () const
 Get the transverse momentum.
 
void pT (Energy in)
 Set the transverse momentum.
 
double x_frac () const
 Get the fraction of beam momentum x.
 
void x_frac (double x)
 Set the fraction of beam momentum x.
 
Status status () const
 Get whether the branching is incoming, outgoing or decay.
 
void status (Status in)
 Set whether the branching is incoming, outgoing or decay.
 
tHardBranchingPtr parent () const
 The parent of the branching.
 
void parent (tHardBranchingPtr in)
 Set the parent of the branching.
 
SudakovPtr sudakov () const
 The Sudakov form-factor.
 
void sudakov (SudakovPtr in)
 The Sudakov form-factor.
 
PPtr beam () const
 Get the beam particle.
 
void beam (PPtr in)
 Set the beam particle.
 
vector< HardBranchingPtr > & children ()
 The children.
 
Energy scale () const
 Information on the Shower variables for the branching.
 
void scale (Energy in)
 The evolution scale.
 
double z () const
 The energy fraction.
 
void z (double in)
 The energy fraction.
 
double phi () const
 The azimthual angle.
 
void phi (double in)
 The azimthual angle.
 
tHardBranchingPtr colourPartner () const
 Colour partners.
 
void colourPartner (tHardBranchingPtr in)
 The colour partner of the branching.
 
ShowerPartnerType type () const
 Type of branching.
 
void type (ShowerPartnerType in)
 Type of branching.
 
- 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
 

Private Attributes

ShowerParticlePtr _particle
 The branching particle.
 
Lorentz5Momentum _original
 The rescaled momentum.
 
Lorentz5Momentum _p
 The \(p\) reference vector.
 
Lorentz5Momentum _n
 The \(n\) reference vector.
 
Lorentz5Momentum _qt
 The transverse momentum vector.
 
Lorentz5Momentum _shower
 The momentum the particle should have as the start of a shower.
 
Energy _pt
 The transverse momentum.
 
double _x_frac
 The beam momentum fraction carried by an incoming parton x.
 
Status _status
 Whether the branching is incoming, outgoing or a decay.
 
Energy _scale
 Information on the Shower variables for the branching.
 
double _z
 The energy fraction.
 
double _phi
 The azimthual angle.
 
tHardBranchingPtr _parent
 The parent of the branching.
 
SudakovPtr _sudakov
 The Sudakov form-factor.
 
vector< HardBranchingPtr > _children
 The children.
 
PPtr _beam
 The beam particle.
 
tHardBranchingPtr _partner
 The colour partner.
 
ShowerPartnerType type_
 The type of branching.
 

Friends

class HardTree
 The HardTree is friend.
 

Additional Inherited Members

- Static Public Member Functions inherited from ThePEG::Base
static void Init ()
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 

Detailed Description

The HardBranching class is designed to contain the information needed for an individual branching in the POWHEG approach.

Definition at line 23 of file HardBranching.h.

Member Enumeration Documentation

◆ Status

Enum for the status.

Definition at line 35 of file HardBranching.h.

Constructor & Destructor Documentation

◆ HardBranching()

Herwig::HardBranching::HardBranching ( ShowerParticlePtr  particle,
SudakovPtr  sudakov,
tHardBranchingPtr  parent,
Status  status 
)

The default constructor.

Parameters
particleThe particle which is branching
sudakovThe Sudakov form factor for the branching
parentThe parent for the branching
statusWhether the particle is incoming or outgoing

Member Function Documentation

◆ addChild()

void Herwig::HardBranching::addChild ( HardBranchingPtr  child)
inline

Add a child of the branching.

Parameters
childThe child of the branching

Definition at line 53 of file HardBranching.h.

References _children.

◆ beam() [1/2]

PPtr Herwig::HardBranching::beam ( ) const
inline

Get the beam particle.

Definition at line 183 of file HardBranching.h.

References _beam.

◆ beam() [2/2]

void Herwig::HardBranching::beam ( PPtr  in)
inline

Set the beam particle.

Definition at line 188 of file HardBranching.h.

References _beam.

◆ branchingParticle() [1/2]

tShowerParticlePtr Herwig::HardBranching::branchingParticle ( ) const
inline

Set and get members for the private member variables.

Return the branching particle.

Definition at line 73 of file HardBranching.h.

References _particle.

◆ branchingParticle() [2/2]

void Herwig::HardBranching::branchingParticle ( ShowerParticlePtr  in)
inline

Set the branching particle.

Definition at line 78 of file HardBranching.h.

References _particle.

◆ children()

vector< HardBranchingPtr > & Herwig::HardBranching::children ( )
inline

The children.

Definition at line 193 of file HardBranching.h.

References _children.

◆ clearChildren()

void Herwig::HardBranching::clearChildren ( )
inline

Clear the children.

Definition at line 58 of file HardBranching.h.

References _children.

◆ colourPartner() [1/2]

tHardBranchingPtr Herwig::HardBranching::colourPartner ( ) const
inline

Colour partners.

Get the colour partner

Definition at line 238 of file HardBranching.h.

References _partner.

◆ colourPartner() [2/2]

void Herwig::HardBranching::colourPartner ( tHardBranchingPtr  in)
inline

The colour partner of the branching.

Definition at line 243 of file HardBranching.h.

References _partner.

◆ nVector() [1/2]

const Lorentz5Momentum & Herwig::HardBranching::nVector ( ) const
inline

Get the n reference vector.

Definition at line 103 of file HardBranching.h.

References _n.

◆ nVector() [2/2]

void Herwig::HardBranching::nVector ( const Lorentz5Momentum &  in)
inline

Set the n reference vector.

Definition at line 108 of file HardBranching.h.

References _n.

◆ original() [1/2]

const Lorentz5Momentum & Herwig::HardBranching::original ( ) const
inline

Get the original momentum.

Definition at line 83 of file HardBranching.h.

References _original.

◆ original() [2/2]

void Herwig::HardBranching::original ( const Lorentz5Momentum &  in)
inline

Set the original momentum.

Definition at line 88 of file HardBranching.h.

References _original.

◆ parent() [1/2]

tHardBranchingPtr Herwig::HardBranching::parent ( ) const
inline

The parent of the branching.

Definition at line 163 of file HardBranching.h.

References _parent.

◆ parent() [2/2]

void Herwig::HardBranching::parent ( tHardBranchingPtr  in)
inline

Set the parent of the branching.

Definition at line 168 of file HardBranching.h.

References _parent.

◆ phi() [1/2]

double Herwig::HardBranching::phi ( ) const
inline

The azimthual angle.

Definition at line 223 of file HardBranching.h.

References _phi.

◆ phi() [2/2]

void Herwig::HardBranching::phi ( double  in)
inline

The azimthual angle.

Definition at line 228 of file HardBranching.h.

References _phi.

◆ pT() [1/2]

Energy Herwig::HardBranching::pT ( ) const
inline

Get the transverse momentum.

Definition at line 133 of file HardBranching.h.

References _pt.

◆ pT() [2/2]

void Herwig::HardBranching::pT ( Energy  in)
inline

Set the transverse momentum.

Definition at line 138 of file HardBranching.h.

References _pt.

◆ pVector() [1/2]

const Lorentz5Momentum & Herwig::HardBranching::pVector ( ) const
inline

Get the p reference vector.

Definition at line 93 of file HardBranching.h.

References _p.

◆ pVector() [2/2]

void Herwig::HardBranching::pVector ( const Lorentz5Momentum &  in)
inline

Set the p reference vector.

Definition at line 98 of file HardBranching.h.

References _p.

◆ qPerp() [1/2]

const Lorentz5Momentum & Herwig::HardBranching::qPerp ( ) const
inline

Get the transverse momentum vector.

Definition at line 113 of file HardBranching.h.

References _qt.

◆ qPerp() [2/2]

void Herwig::HardBranching::qPerp ( const Lorentz5Momentum &  in)
inline

Set the transverse momentum vector.

Definition at line 118 of file HardBranching.h.

References _qt.

◆ scale() [1/2]

Energy Herwig::HardBranching::scale ( ) const
inline

Information on the Shower variables for the branching.

Get the evolution scale

Definition at line 203 of file HardBranching.h.

References _scale.

◆ scale() [2/2]

void Herwig::HardBranching::scale ( Energy  in)
inline

The evolution scale.

Definition at line 208 of file HardBranching.h.

References _scale.

◆ showerMomentum() [1/2]

const Lorentz5Momentum & Herwig::HardBranching::showerMomentum ( ) const
inline

Get the momentum the particle should have as the start of a shower.

Definition at line 123 of file HardBranching.h.

References _shower.

◆ showerMomentum() [2/2]

void Herwig::HardBranching::showerMomentum ( const Lorentz5Momentum &  in)
inline

Set the momentum the particle should have as the start of a shower.

Definition at line 128 of file HardBranching.h.

References _shower.

◆ status() [1/2]

Status Herwig::HardBranching::status ( ) const
inline

Get whether the branching is incoming, outgoing or decay.

Definition at line 153 of file HardBranching.h.

References _status.

◆ status() [2/2]

void Herwig::HardBranching::status ( Status  in)
inline

Set whether the branching is incoming, outgoing or decay.

Definition at line 158 of file HardBranching.h.

References _status.

◆ sudakov() [1/2]

SudakovPtr Herwig::HardBranching::sudakov ( ) const
inline

The Sudakov form-factor.

Definition at line 173 of file HardBranching.h.

References _sudakov.

◆ sudakov() [2/2]

void Herwig::HardBranching::sudakov ( SudakovPtr  in)
inline

The Sudakov form-factor.

Definition at line 178 of file HardBranching.h.

References _sudakov.

◆ type() [1/2]

ShowerPartnerType Herwig::HardBranching::type ( ) const
inline

Type of branching.

Definition at line 250 of file HardBranching.h.

References type_.

◆ type() [2/2]

void Herwig::HardBranching::type ( ShowerPartnerType  in)
inline

Type of branching.

Definition at line 258 of file HardBranching.h.

References type_.

◆ x_frac() [1/2]

double Herwig::HardBranching::x_frac ( ) const
inline

Get the fraction of beam momentum x.

Definition at line 143 of file HardBranching.h.

References _x_frac.

◆ x_frac() [2/2]

void Herwig::HardBranching::x_frac ( double  x)
inline

Set the fraction of beam momentum x.

Definition at line 148 of file HardBranching.h.

References _x_frac.

◆ z() [1/2]

double Herwig::HardBranching::z ( ) const
inline

The energy fraction.

Definition at line 213 of file HardBranching.h.

References _z.

◆ z() [2/2]

void Herwig::HardBranching::z ( double  in)
inline

The energy fraction.

Definition at line 218 of file HardBranching.h.

References _z.

Friends And Related Function Documentation

◆ HardTree

friend class HardTree
friend

The HardTree is friend.

Definition at line 28 of file HardBranching.h.

Member Data Documentation

◆ _beam

PPtr Herwig::HardBranching::_beam
private

The beam particle.

Definition at line 348 of file HardBranching.h.

Referenced by beam().

◆ _children

vector<HardBranchingPtr> Herwig::HardBranching::_children
private

The children.

Definition at line 343 of file HardBranching.h.

Referenced by addChild(), children(), and clearChildren().

◆ _n

Lorentz5Momentum Herwig::HardBranching::_n
private

The \(n\) reference vector.

Definition at line 283 of file HardBranching.h.

Referenced by nVector().

◆ _original

Lorentz5Momentum Herwig::HardBranching::_original
private

The rescaled momentum.

Definition at line 273 of file HardBranching.h.

Referenced by original().

◆ _p

Lorentz5Momentum Herwig::HardBranching::_p
private

The \(p\) reference vector.

Definition at line 278 of file HardBranching.h.

Referenced by pVector().

◆ _parent

tHardBranchingPtr Herwig::HardBranching::_parent
private

The parent of the branching.

Definition at line 333 of file HardBranching.h.

Referenced by parent().

◆ _particle

ShowerParticlePtr Herwig::HardBranching::_particle
private

The branching particle.

Definition at line 268 of file HardBranching.h.

Referenced by branchingParticle().

◆ _partner

tHardBranchingPtr Herwig::HardBranching::_partner
private

The colour partner.

Definition at line 353 of file HardBranching.h.

Referenced by colourPartner().

◆ _phi

double Herwig::HardBranching::_phi
private

The azimthual angle.

Definition at line 327 of file HardBranching.h.

Referenced by phi().

◆ _pt

Energy Herwig::HardBranching::_pt
private

The transverse momentum.

Definition at line 298 of file HardBranching.h.

Referenced by pT().

◆ _qt

Lorentz5Momentum Herwig::HardBranching::_qt
private

The transverse momentum vector.

Definition at line 288 of file HardBranching.h.

Referenced by qPerp().

◆ _scale

Energy Herwig::HardBranching::_scale
private

Information on the Shower variables for the branching.

The evolution scale

Definition at line 317 of file HardBranching.h.

Referenced by scale().

◆ _shower

Lorentz5Momentum Herwig::HardBranching::_shower
private

The momentum the particle should have as the start of a shower.

Definition at line 293 of file HardBranching.h.

Referenced by showerMomentum().

◆ _status

Status Herwig::HardBranching::_status
private

Whether the branching is incoming, outgoing or a decay.

Definition at line 308 of file HardBranching.h.

Referenced by status().

◆ _sudakov

SudakovPtr Herwig::HardBranching::_sudakov
private

The Sudakov form-factor.

Definition at line 338 of file HardBranching.h.

Referenced by sudakov().

◆ _x_frac

double Herwig::HardBranching::_x_frac
private

The beam momentum fraction carried by an incoming parton x.

Definition at line 303 of file HardBranching.h.

Referenced by x_frac().

◆ _z

double Herwig::HardBranching::_z
private

The energy fraction.

Definition at line 322 of file HardBranching.h.

Referenced by z().

◆ type_

ShowerPartnerType Herwig::HardBranching::type_
private

The type of branching.

Definition at line 358 of file HardBranching.h.

Referenced by type().


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