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

This class is the main driver of the shower: it is responsible for the proper handling of all other specific collaborating classes and for the storing of the produced particles in the event record. More...

#include <ShowerHandler.h>

Inheritance diagram for Herwig::ShowerHandler:

Classes

struct  ExtraScatterVeto
 struct that is used to catch exceptions which are thrown due to energy conservation issues of additional scatters More...
 
struct  ParticleOrdering
 A struct to order the particles in the same way as in the DecayMode's. More...
 
struct  ShowerTriesVeto
 struct that is used to catch exceptions which are thrown due to fact that the Shower has been invoked more than a defined threshold on a certain configuration More...
 

Public Types

typedef pair< tRemPPtr, tRemPPtr > RemPair
 Typedef for a pair of ThePEG::RemnantParticle pointers.
 
typedef multiset< tcPDPtr, ParticleOrderingOrderedParticles
 A container for ordered particles required for constructing tags for decay mode lookup.
 
- Public Types inherited from ThePEG::InterfacedBase
enum  InitState
 
- Public Types inherited from ThePEG::Pointer::ReferenceCounted
typedef unsigned int CounterType
 
- Public Types inherited from ThePEG::LastXCombInfo<>
typedef ThePEG::Ptr< XC >::pointer XCPtr
 
typedef ThePEG::Ptr< XC >::const_pointer cXCPtr
 
typedef ThePEG::Ptr< XC >::transient_pointer tXCPtr
 
typedef ThePEG::Ptr< XC >::transient_const_pointer tcXCPtr
 

Public Member Functions

 ShowerHandler ()
 Default constructor.
 
virtual ~ShowerHandler ()
 Destructor.
 
virtual void cascade ()
 The main method which manages the multiple interactions and starts the shower by calling cascade(sub, lastXC).
 
virtual bool showerHardProcessVeto () const
 Hook to allow vetoing of event after showering hard sub-process as in e.g. More...
 
virtual bool isReshuffling () const
 Return true, if this cascade handler will perform reshuffling from hard process masses.
 
virtual bool retConstituentMasses () const
 Return true, if this cascade handler will put the final state particles to their constituent mass. More...
 
virtual bool canHandleMatchboxTrunc () const
 Return true, if the shower handler can generate a truncated shower for POWHEG style events generated using Matchbox.
 
Energy pdfFreezingScale () const
 Get the PDF freezing scale.
 
PDFPtr getPDFA () const
 Get the local PDFs.
 
PDFPtr getPDFB () const
 Get the local PDFs.
 
bool firstInteraction () const
 Return true if currently the primary subprocess is showered.
 
tHwRemDecPtr remnantDecayer () const
 Return the remnant decayer.
 
void splitHardProcess (tPVector tagged, PerturbativeProcessPtr &hard, DecayProcessMap &decay) const
 Split the hard process into production and decays. More...
 
bool doesSplitHardProcess () const
 Information if the Showerhandler splits the hard process.
 
tDMPtr decay (PerturbativeProcessPtr, DecayProcessMap &decay, bool radPhotons=false) const
 Decay a particle. More...
 
tDMPtr findDecayMode (const string &tag) const
 Cached lookup of decay modes. More...
 
map< string, ShowerVariation > & showerVariations ()
 Access the shower variations.
 
const map< string, ShowerVariation > & showerVariations () const
 Return the shower variations.
 
map< string, double > & currentWeights ()
 Access the current Weights.
 
const map< string, double > & currentWeights () const
 Return the current Weights.
 
void reweight (double w)
 Change the current reweighting factor.
 
double reweight () const
 Return the current reweighting factor.
 
bool decaysInShower (long id) const
 Check if a particle decays in the shower. More...
 
Switches for initial- and final-state radiation
bool doRadiation () const
 Switch for any radiation.
 
bool doFSR () const
 Switch on or off final state radiation.
 
bool doISR () const
 Switch on or off initial state radiation.
 
Switches for scales
bool hardScaleIsMuF () const
 Return true if maximum pt should be deduced from the factorization scale.
 
double factorizationScaleFactor () const
 The factorization scale factor.
 
double renFac () const
 The renormalization scale factor.
 
double facFac () const
 The factorization scale factor.
 
double renormalizationScaleFactor () const
 The renormalization scale factor.
 
double hardScaleFactor () const
 The scale factor for the hard scale.
 
bool restrictPhasespace () const
 Return true, if the phase space restrictions of the dipole shower should be applied.
 
Ptr< HardScaleProfile >::tptr profileScales () const
 Return profile scales.
 
virtual Energy hardScale () const
 Return the relevant hard scale to be used in the profile scales.
 
virtual int showerPhaseSpaceOption () const
 Return information about shower phase space choices.
 
unsigned int spinCorrelations () const
 Access to switches for spin correlations. More...
 
virtual bool correlations () const
 Any correlations.
 
Functions used by the persistent I/O system.
void persistentOutput (PersistentOStream &os) const
 Function used to write out object persistently. More...
 
void persistentInput (PersistentIStream &is, int version)
 Function used to read in object persistently. More...
 
- Public Member Functions inherited from ThePEG::CascadeHandler
virtual double reweightCKKW (int minMult, int maxMult)
 
virtual void handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)
 
virtual void handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)
 
const tPVectortagged () const
 
const Hinthint () const
 
const PDFfirstPDF () const
 
const PDFsecondPDF () const
 
const pair< PDF, PDF > & pdfs () const
 
void resetPDFs (const pair< tcPDFPtr, tcPDFPtr > &pdfpair)
 
void resetPDFs (const pair< tcPDFPtr, tcPDFPtr > &pdfpair, PBPair ppair)
 
void setXComb (tXCombPtr xc)
 
bool didRunCascade () const
 
- Public Member Functions inherited from ThePEG::StepHandler
tEHPtr eventHandler () const
 
void eventHandler (tEHPtr)
 
tStepPtr newStep ()
 
tStepPtr currentStep ()
 
tEHPtr eventHandler () const
 
void eventHandler (tEHPtr)
 
tStepPtr newStep ()
 
tStepPtr currentStep ()
 
- Public Member Functions inherited from HandlerBaseT< UseRandom >
double rnd () const
 
double rnd (double xu) const
 
double rnd (double xl, double xu) const
 
bool rndbool () const
 
bool rndbool (double p) const
 
bool rndbool (double p1, double p2) const
 
int rndsign (double p1, double p2, double p3) const
 
int rnd2 (double p0, double p1) const
 
int rnd3 (double p0, double p1, double p2) const
 
int rnd4 (double p0, double p1, double p2, double p3) const
 
long irnd (long xu=2) const
 
long irnd (long xl, long xu) const
 
const StandardModelBase & SM () const
 
tSMPtr standardModel () const
 
- 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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::InterfacedBase
string fullName () const
 
string name () const
 
string path () const
 
string comment () const
 
void setup (istream &is)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
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
 
void persistentOutput (PersistentOStream &os) const
 
void persistentInput (PersistentIStream &is, int version)
 
- Public Member Functions inherited from ThePEG::Base
void debug () 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
 
- Public Member Functions inherited from ThePEG::LastXCombInfo<>
const XC & lastXComb () const
 
const XC & lastXComb () const
 
tXCPtr lastXCombPtr () const
 
tXCPtr lastXCombPtr () const
 
const XC & lastHeadXComb () const
 
const XC & lastHeadXComb () const
 
tXCPtr lastHeadXCombPtr () const
 
tXCPtr lastHeadXCombPtr () const
 
const EventHandlerlastEventHandler () const
 
const EventHandlerlastEventHandler () const
 
tPExtrPtr lastExtractor () const
 
tPExtrPtr lastExtractor () const
 
PDFT pdf (tcPPtr parton) const
 
PDFT pdf (tcPPtr parton) const
 
const CutslastCuts () const
 
const CutslastCuts () const
 
tCutsPtr lastCutsPtr () const
 
tCutsPtr lastCutsPtr () const
 
const PPairlastParticles () const
 
const PPairlastParticles () const
 
Energy2 lastS () const
 
Energy2 lastS () const
 
const PPairlastPartons () const
 
const PPairlastPartons () const
 
Energy2 lastSHat () const
 
Energy2 lastSHat () const
 
double lastTau () const
 
double lastTau () const
 
double lastY () const
 
double lastY () const
 
double lastP1 () const
 
double lastP1 () const
 
double lastP2 () const
 
double lastP2 () const
 
double lastL1 () const
 
double lastL1 () const
 
double lastL2 () const
 
double lastL2 () const
 
double lastX1 () const
 
double lastX1 () const
 
double lastX2 () const
 
double lastX2 () const
 
double lastE1 () const
 
double lastE1 () const
 
double lastE2 () const
 
double lastE2 () const
 
double lastFL1L2 () const
 
double lastFL1L2 () const
 
Energy2 lastScale () const
 
Energy2 lastScale () const
 
double lastAlphaS () const
 
double lastAlphaS () const
 
double lastAlphaEM () const
 
double lastAlphaEM () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
const vector< Lorentz5Momentum > & meMomenta () const
 
double lastME2 () const
 
double lastME2 () const
 
double lastPreweight () const
 
double lastPreweight () const
 
double jacobian () const
 
double jacobian () const
 
CrossSection lastMECrossSection () const
 
CrossSection lastMECrossSection () const
 
double lastMEPDFWeight () const
 
double lastMEPDFWeight () const
 
double lastMECouplings () const
 
double lastMECouplings () const
 
tSubProPtr subProcess () const
 
tSubProPtr subProcess () const
 
const cPDVectormePartonData () const
 
const cPDVectormePartonData () const
 

Static Public Member Functions

static const tShowerHandlerPtr currentHandler ()
 pointer to "this", the current ShowerHandler.
 
static bool currentHandlerIsSet ()
 pointer to "this", the current ShowerHandler.
 
static void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from ThePEG::CascadeHandler
static void Init ()
 
static void setDidRunCascade (bool c)
 
- Static Public Member Functions inherited from ThePEG::StepHandler
static void Init ()
 
- Static Public Member Functions inherited from ThePEG::HandlerBase
static void Init ()
 
- 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 ()
 

Protected Member Functions

void combineWeights ()
 Weight handling for shower variations. More...
 
void initializeWeights ()
 Initialise the weights in currentEvent()
 
void resetWeights ()
 Reset the current weights.
 
unsigned int maxtry () const
 Return the maximum number of attempts for showering a given subprocess.
 
Functions to perform the cascade
virtual tPPair cascade (tSubProPtr sub, XCPtr xcomb)
 The main method which manages the showering of a subprocess.
 
void prepareCascade (tSubProPtr sub)
 Set up for the cascade.
 
void boostCollision (bool boost)
 Boost all the particles in the collision so that the collision always occurs in the rest frame with the incoming particles along the z axis.
 
void setCurrentHandler ()
 Set/unset the current shower handler. More...
 
void unSetCurrentHandler ()
 Unset the current handler.
 
Members relating to the underlying event and MPI
bool isMPIOn () const
 Return true if multiple parton interactions are switched on and can be used for this beam setup.
 
tUEBasePtr getMPIHandler () const
 Access function for the MPIHandler, it should only be called after checking with isMPIOn.
 
bool isResolvedHadron (tPPtr)
 Is a beam particle where hadronic structure is resolved.
 
RemPair getRemnants (PBIPair incbins)
 Get the remnants from the ThePEG::PartonBinInstance es and do some checks.
 
void setMPIPDFs ()
 Reset the PDF's after the hard collision has been showered.
 
void findDecayProducts (PPtr parent, PerturbativeProcessPtr hard, DecayProcessMap &decay) const
 Members to handle splitting up of hard process and decays. More...
 
void createDecayProcess (PPtr parent, PerturbativeProcessPtr hard, DecayProcessMap &decay) const
 Find decay products from the hard process and create decay processes. More...
 
Functions to return information relevant to the process being showered
tSubProPtr currentSubProcess () const
 Return the currently used SubProcess.
 
tPPair incomingBeams () const
 Access to the incoming beam particles.
 
bool includeSpaceTime () const
 Parameters for the space-time model. More...
 
Energy2 vMin () const
 The minimum virtuality for the space-time model.
 
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object. More...
 
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane. More...
 
Standard Interfaced functions.
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk. More...
 
virtual void doinitrun ()
 Initialize this object. More...
 
virtual void dofinish ()
 Finalize this object. More...
 
- Protected Member Functions inherited from ThePEG::StepHandler
void createNewStep ()
 
- 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
 InterfacedBase (string newName)
 
 InterfacedBase (const InterfacedBase &i)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
virtual void readSetup (istream &is)
 
virtual void doupdate ()
 
virtual IVector getReferences ()
 
virtual void rebind (const TranslationMap &)
 
- Protected Member Functions inherited from ThePEG::Pointer::ReferenceCounted
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const 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)
 

Private Member Functions

ShowerHandleroperator= (const ShowerHandler &)=delete
 The assignment operator is private and must never be called. More...
 

Private Attributes

UEBasePtr MPIHandler_
 a MPIHandler to administer the creation of several (semihard) partonic interactions.
 
HwRemDecPtr remDec_
 Pointer to the HwRemDecayer.
 
unsigned int spinOpt_
 Option to include spin correlations.
 
unsigned int maxtry_
 Maximum tries for various stages of the showering process. More...
 
unsigned int maxtryMPI_
 Maximum number of attempts for the regeneration of an additional scattering, before the number of scatters is reduced.
 
unsigned int maxtryDP_
 Maximum number of attempts for the regeneration of an additional hard scattering, before this event is vetoed.
 
unsigned int maxtryDecay_
 Maximum number of attempts to generate a decay.
 
double factorizationScaleFactor_
 Factors for the various scales. More...
 
double renormalizationScaleFactor_
 The renormalization scale factor.
 
double hardScaleFactor_
 The scale factor for the hard scale.
 
bool restrictPhasespace_
 True, if the phase space restrictions of the dipole shower should be applied.
 
bool maxPtIsMuF_
 True if maximum pt should be deduced from the factorization scale.
 
Ptr< HardScaleProfile >::ptr hardScaleProfile_
 The profile scales.
 
tPPair incoming_
 Storage of information about the current event. More...
 
LorentzRotation boost_
 Boost to get back to the lab.
 
tSubProPtr subProcess_
 Const pointer to the currently handeled ThePEG::SubProcess.
 
tcStepPtr current_
 Const pointer to the current step.
 
Energy pdfFreezingScale_
 PDFs to be used for the various stages and related parameters. More...
 
PDFPtr PDFA_
 PDFs to be used for the various stages and related parameters. More...
 
PDFPtr PDFB_
 The PDF for beam particle B. More...
 
PDFPtr PDFARemnant_
 The PDF for beam particle A for remnant splitting. More...
 
PDFPtr PDFBRemnant_
 The PDF for beam particle B for remnant splitting. More...
 
pair< PDFPtr, PDFPtrmpipdfs_
 The MPI PDF's to be used for secondary scatters.
 
pair< PDFPtr, PDFPtrrempdfs_
 The MPI PDF's to be used for secondary scatters.
 
pair< PDFPtr, PDFPtrremmpipdfs_
 The MPI PDF's to be used for secondary scatters.
 
Parameters for initial- and final-state radiation
bool doFSR_
 Switch on or off final state radiation.
 
bool doISR_
 Switch on or off initial state radiation.
 
Parameters for particle decays
bool splitHardProcess_
 Whether or not to split into hard and decay trees.
 
set< long > particlesDecayInShower_
 PDG codes of the particles which decay during showering this is fast storage for use during running.
 
vector< long > inputparticlesDecayInShower_
 PDG codes of the particles which decay during showering this is a vector that is interfaced so they can be changed.
 
bool includeSpaceTime_
 Parameters for the space-time model. More...
 
Energy2 vMin_
 The minimum virtuality for the space-time model.
 
bool useConstituentMasses_ =true
 Parameters for the constituent mass treatment.
 

Static Private Attributes

static tShowerHandlerPtr currentHandler_
 pointer to "this", the current ShowerHandler.
 
map< string, ShowerVariationshowerVariations_
 Parameters relevant for reweight and variations. More...
 
double reweight_
 A reweighting factor applied by the showering.
 
map< string, double > currentWeights_
 The shower variation weights.
 
string doAddVariation (string)
 Command to add a shower variation.
 

Additional Inherited Members

- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 
- Protected Attributes inherited from ThePEG::LastXCombInfo<>
XCPtr theLastXComb
 

Detailed Description

This class is the main driver of the shower: it is responsible for the proper handling of all other specific collaborating classes and for the storing of the produced particles in the event record.

See also
The interfaces
ThePEG::CascadeHandler
MPIHandler
HwRemDecayer

Definition at line 40 of file ShowerHandler.h.

Member Function Documentation

◆ clone()

virtual IBPtr Herwig::ShowerHandler::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Implements ThePEG::InterfacedBase.

Reimplemented in Herwig::QTildeShowerHandler, Herwig::DipoleShowerHandler, Herwig::PowhegShowerHandler, Herwig::FxFxHandler, Herwig::AlpGenHandlerOL, and Herwig::PowhegHandler.

◆ combineWeights()

void Herwig::ShowerHandler::combineWeights ( )
protected

Weight handling for shower variations.

Combine the variation weights which have been encountered

◆ createDecayProcess()

void Herwig::ShowerHandler::createDecayProcess ( PPtr  parent,
PerturbativeProcessPtr  hard,
DecayProcessMap decay 
) const
protected

Find decay products from the hard process and create decay processes.

Parameters
parentThe parent particle
hardThe parent hard process
decayThe decay processes

◆ decay()

tDMPtr Herwig::ShowerHandler::decay ( PerturbativeProcessPtr  ,
DecayProcessMap decay,
bool  radPhotons = false 
) const

Decay a particle.

radPhotons switches the generation of photon radiation on/off. Required for Dipole Shower but not QTilde Shower.

◆ decaysInShower()

bool Herwig::ShowerHandler::decaysInShower ( long  id) const
inline

Check if a particle decays in the shower.

Parameters
idThe PDG code for the particle

Definition at line 487 of file ShowerHandler.h.

◆ dofinish()

virtual void Herwig::ShowerHandler::dofinish ( )
protectedvirtual

Finalize this object.

Called in the run phase just after a run has ended. Used eg. to write out statistics.

Reimplemented from ThePEG::InterfacedBase.

Reimplemented in Herwig::DipoleShowerHandler, Herwig::FxFxHandler, and Herwig::AlpGenHandlerOL.

◆ doinit()

virtual void Herwig::ShowerHandler::doinit ( )
protectedvirtual

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions
InitExceptionif object could not be initialized properly.

Reimplemented from ThePEG::InterfacedBase.

Reimplemented in Herwig::QTildeShowerHandler, Herwig::DipoleShowerHandler, Herwig::PowhegShowerHandler, Herwig::FxFxHandler, Herwig::AlpGenHandlerOL, and Herwig::MatchingHandler.

◆ doinitrun()

virtual void Herwig::ShowerHandler::doinitrun ( )
protectedvirtual

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from ThePEG::InterfacedBase.

Reimplemented in Herwig::QTildeShowerHandler, Herwig::DipoleShowerHandler, Herwig::FxFxHandler, and Herwig::AlpGenHandlerOL.

◆ findDecayMode()

tDMPtr Herwig::ShowerHandler::findDecayMode ( const string &  tag) const

Cached lookup of decay modes.

Generator::findDecayMode() is not efficient.

◆ findDecayProducts()

void Herwig::ShowerHandler::findDecayProducts ( PPtr  parent,
PerturbativeProcessPtr  hard,
DecayProcessMap decay 
) const
protected

Members to handle splitting up of hard process and decays.

Find decay products from the hard process and create decay processes

Parameters
parentThe parent particle
hardThe hard process
decayThe decay processes

◆ fullclone()

virtual IBPtr Herwig::ShowerHandler::fullclone ( ) const
protectedvirtual

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.

Reimplemented in Herwig::QTildeShowerHandler, Herwig::DipoleShowerHandler, Herwig::PowhegShowerHandler, Herwig::FxFxHandler, Herwig::AlpGenHandlerOL, and Herwig::PowhegHandler.

◆ includeSpaceTime()

bool Herwig::ShowerHandler::includeSpaceTime ( ) const
inlineprotected

Parameters for the space-time model.

Whether or not to include spa-cetime distances in the shower

Definition at line 574 of file ShowerHandler.h.

◆ Init()

static void Herwig::ShowerHandler::Init ( )
static

The standard Init function used to initialize the interfaces.

Called exactly once for each class by the class description system before the main function starts or when this class is dynamically loaded.

◆ operator=()

ShowerHandler& Herwig::ShowerHandler::operator= ( const ShowerHandler )
privatedelete

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::ShowerHandler::persistentInput ( PersistentIStream is,
int  version 
)

Function used to read in object persistently.

Parameters
isthe persistent input stream read from.
versionthe version number of the object when written.

◆ persistentOutput()

void Herwig::ShowerHandler::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ retConstituentMasses()

virtual bool Herwig::ShowerHandler::retConstituentMasses ( ) const
inlinevirtual

Return true, if this cascade handler will put the final state particles to their constituent mass.

If false the nominal mass is used.

Definition at line 102 of file ShowerHandler.h.

◆ setCurrentHandler()

void Herwig::ShowerHandler::setCurrentHandler ( )
inlineprotected

Set/unset the current shower handler.

Set the current handler

Definition at line 429 of file ShowerHandler.h.

◆ showerHardProcessVeto()

virtual bool Herwig::ShowerHandler::showerHardProcessVeto ( ) const
inlinevirtual

Hook to allow vetoing of event after showering hard sub-process as in e.g.

MLM merging.

Reimplemented in Herwig::FxFxHandler, Herwig::AlpGenHandlerOL, and Herwig::QTildeShowerHandler.

Definition at line 90 of file ShowerHandler.h.

◆ spinCorrelations()

unsigned int Herwig::ShowerHandler::spinCorrelations ( ) const
inline

Access to switches for spin correlations.

Spin Correlations

Definition at line 336 of file ShowerHandler.h.

◆ splitHardProcess()

void Herwig::ShowerHandler::splitHardProcess ( tPVector  tagged,
PerturbativeProcessPtr &  hard,
DecayProcessMap decay 
) const

Split the hard process into production and decays.

Parameters
taggedThe tagged particles from the StepHandler
hardThe hard perturbative process
decayThe decay particles

Member Data Documentation

◆ factorizationScaleFactor_

double Herwig::ShowerHandler::factorizationScaleFactor_
private

Factors for the various scales.

The factorization scale factor.

Definition at line 688 of file ShowerHandler.h.

◆ includeSpaceTime_

bool Herwig::ShowerHandler::includeSpaceTime_
private

Parameters for the space-time model.

Whether or not to include spa-cetime distances in the shower

Definition at line 850 of file ShowerHandler.h.

◆ incoming_

tPPair Herwig::ShowerHandler::incoming_
private

Storage of information about the current event.

The incoming beam particles for the current collision

Definition at line 731 of file ShowerHandler.h.

◆ maxtry_

unsigned int Herwig::ShowerHandler::maxtry_
private

Maximum tries for various stages of the showering process.

Maximum number of attempts for the main showering loop

Definition at line 659 of file ShowerHandler.h.

◆ PDFA_

PDFPtr Herwig::ShowerHandler::PDFA_
private

PDFs to be used for the various stages and related parameters.

The PDF for beam particle A. Overrides the particle's own PDF setting.

Definition at line 767 of file ShowerHandler.h.

◆ PDFARemnant_

PDFPtr Herwig::ShowerHandler::PDFARemnant_
private

The PDF for beam particle A for remnant splitting.

Overrides the particle's own PDF setting.

Definition at line 777 of file ShowerHandler.h.

◆ PDFB_

PDFPtr Herwig::ShowerHandler::PDFB_
private

The PDF for beam particle B.

Overrides the particle's own PDF setting.

Definition at line 772 of file ShowerHandler.h.

◆ PDFBRemnant_

PDFPtr Herwig::ShowerHandler::PDFBRemnant_
private

The PDF for beam particle B for remnant splitting.

Overrides the particle's own PDF setting.

Definition at line 782 of file ShowerHandler.h.

◆ pdfFreezingScale_

Energy Herwig::ShowerHandler::pdfFreezingScale_
private

PDFs to be used for the various stages and related parameters.

The PDF freezing scale

Definition at line 758 of file ShowerHandler.h.

◆ showerVariations_

map<string,ShowerVariation> Herwig::ShowerHandler::showerVariations_
private

Parameters relevant for reweight and variations.

The shower variations

Definition at line 877 of file ShowerHandler.h.


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