herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
Herwig::ShowerProgenitor Class Reference

A struct to store information on the perturbative particle which initiates a shower. More...

#include <ShowerProgenitor.h>

Inheritance diagram for Herwig::ShowerProgenitor:

Public Types

enum  Reconstructed { notReconstructed =0, done, dontReconstruct }
 Enum for the reconstruction state of this progentitor.
 
typedef Ptr< BeamParticleData >::transient_const_pointer tcBeamPtr
 Typedef for the BeamParticleData objects.
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 

Public Member Functions

 ShowerProgenitor (PPtr original, PPtr copy, ShowerParticlePtr particle, Energy pT=ZERO, bool emitted=false)
 Constructor for the class. More...
 
ShowerParticlePtr progenitor () const
 Access to the particle.
 
void progenitor (ShowerParticlePtr in)
 Set the particle.
 
PPtr original () const
 Access to the original particle.
 
PPtr copy () const
 Access to the colour isolated copy.
 
void copy (PPtr in)
 Set the copy.
 
bool perturbative () const
 Whether the particle came from the hard process or was added by the matrix element correction.
 
void perturbative (bool in)
 Whether the particle came from the hard process or was added by the matrix element correction.
 
long id () const
 The id of the particle.
 
tcBeamPtr beam ()
 The BeamParticleData object.
 
Reconstructed reconstructed () const
 Whether or not the recon has been performed.
 
void reconstructed (Reconstructed recon)
 Whether or not the recon has been performed.
 
Energy highestpT () const
 Set/Get methods for the hardest $p_T$ so far. More...
 
void highestpT (Energy in)
 Set the $p_T$ of the hardest emission so far.
 
Energy maximumpT (ShowerInteraction type) const
 Set/Get methods for the maximum $p_T$. More...
 
void maximumpT (Energy in, ShowerInteraction type)
 Set the maximum $p_T$ for radiation.
 
Energy maxHardPt () const
 Set/Get methods for whether the particle has radiated. More...
 
void maxHardPt (Energy in)
 Set the maximum hard $p_T$, given by the hard process.
 
Energy hardScale () const
 Access the relevant hard scale to be used in profile scales; usually this is taken to be the maximum pt, except for other choices such as hfact.
 
void hardScale (Energy in)
 Set the relevant hard scale to be used in profile scales; usually this is taken to be the maximum pt, except for other choices such as hfact.
 
bool hasEmitted () const
 Has this particle radiated.
 
void hasEmitted (bool in)
 Set whether or not this particle has radiated.
 
- 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

PPtr _original
 Pointer to the original particle.
 
PPtr _copy
 Pointer to the colour isolated copy of the original particle.
 
bool _perturbative
 Whether the particle came from the hard process or was added by the matrix element correction.
 
ShowerParticlePtr _particle
 Pointer to the ShowerParticle.
 
Energy _highestpT
 Highest $p_T$ emitted in the shower from this particle.
 
map< ShowerInteraction, Energy > _maxpT
 Maximum allowed $p_T$ for emission from this particle.
 
Energy _maxHardPt
 maximum hard $p_T$ from the hard process
 
Energy _hardScale
 The relevant hard scale to be used in profile scales; usually this is taken to be the maximum pt, except for other choices such as hfact.
 
bool _hasEmitted
 Has there been radiation.
 
tcBeamPtr _beam
 The BeamParticleData object.
 
Reconstructed _reconstructed
 Whether or not the reconstruction has been performed.
 

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 &)
 
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 

Detailed Description

A struct to store information on the perturbative particle which initiates a shower.

Definition at line 29 of file ShowerProgenitor.h.

Constructor & Destructor Documentation

◆ ShowerProgenitor()

Herwig::ShowerProgenitor::ShowerProgenitor ( PPtr  original,
PPtr  copy,
ShowerParticlePtr  particle,
Energy  pT = ZERO,
bool  emitted = false 
)
inline

Constructor for the class.

Parameters
originalThe original particle
copyThe colour isolated copy
particleThe ShowerPArticle copy
pTThe $p_t$ of the hardest emission
emittedWhether or not the particle has radiated

Definition at line 54 of file ShowerProgenitor.h.

References ZERO.

Member Function Documentation

◆ highestpT()

Energy Herwig::ShowerProgenitor::highestpT ( ) const
inline

Set/Get methods for the hardest $p_T$ so far.

Access the $p_T$ of the hardest emission so far

Definition at line 113 of file ShowerProgenitor.h.

◆ maxHardPt()

Energy Herwig::ShowerProgenitor::maxHardPt ( ) const
inline

Set/Get methods for whether the particle has radiated.

Access the maximum hard $p_T$, given by the hard process

Definition at line 148 of file ShowerProgenitor.h.

◆ maximumpT()

Energy Herwig::ShowerProgenitor::maximumpT ( ShowerInteraction  type) const
inline

Set/Get methods for the maximum $p_T$.

Access the maximum $p_T$ for radiation

Definition at line 128 of file ShowerProgenitor.h.


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