Herwig 7.3.0
|
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>
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, ParticleOrdering > | OrderedParticles |
A container for ordered particles required for constructing tags for decay mode lookup. | |
![]() | |
enum | InitState |
![]() | |
typedef unsigned int | CounterType |
![]() | |
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. | |
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. | |
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. | |
bool | doesSplitHardProcess () const |
Information if the Showerhandler splits the hard process. | |
tDMPtr | decay (PerturbativeProcessPtr, DecayProcessMap &decay, bool radPhotons=false) const |
Decay a particle. | |
tDMPtr | findDecayMode (const string &tag) const |
Cached lookup of decay modes. | |
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. | |
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. | |
unsigned int | spinCorrelations () const |
Access to switches for spin correlations. | |
virtual bool | correlations () const |
Any correlations. | |
![]() | |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint) |
virtual void | cascade ()=0 |
virtual double | reweightCKKW (int minMult, int maxMult) |
const tPVector & | tagged () const |
const Hint & | hint () const |
const PDF & | firstPDF () const |
const PDF & | secondPDF () 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) |
virtual bool | isReshuffling () const |
bool | didRunCascade () const |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint) |
virtual void | cascade ()=0 |
virtual double | reweightCKKW (int minMult, int maxMult) |
![]() | |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)=0 |
tEHPtr | eventHandler () const |
void | eventHandler (tEHPtr) |
tStepPtr | newStep () |
tStepPtr | currentStep () |
virtual void | handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)=0 |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
void | debug () const |
virtual void | debugme () const |
![]() | |
CounterType | referenceCount () const |
![]() | |
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 |
![]() | |
const XC & | lastXComb () const |
tXCPtr | lastXCombPtr () const |
const XC & | lastHeadXComb () const |
tXCPtr | lastHeadXCombPtr () const |
const EventHandler & | lastEventHandler () const |
tPExtrPtr | lastExtractor () const |
PDFT | pdf (tcPPtr parton) const |
const Cuts & | lastCuts () const |
tCutsPtr | lastCutsPtr () const |
const PPair & | lastParticles () const |
Energy2 | lastS () const |
const PPair & | lastPartons () const |
Energy2 | lastSHat () const |
double | lastTau () const |
double | lastY () const |
double | lastP1 () const |
double | lastP2 () const |
double | lastL1 () const |
double | lastL2 () const |
double | lastX1 () const |
double | lastX2 () const |
double | lastE1 () const |
double | lastE2 () const |
double | lastFL1L2 () const |
Energy2 | lastScale () const |
double | lastAlphaS () const |
double | lastAlphaEM () const |
const vector< Lorentz5Momentum > & | meMomenta () const |
double | lastME2 () const |
double | lastPreweight () const |
double | jacobian () const |
CrossSection | lastMECrossSection () const |
double | lastMEPDFWeight () const |
double | lastMECouplings () const |
tSubProPtr | subProcess () const |
const cPDVector & | mePartonData () const |
const XC & | lastXComb () const |
tXCPtr | lastXCombPtr () const |
const XC & | lastHeadXComb () const |
tXCPtr | lastHeadXCombPtr () const |
const EventHandler & | lastEventHandler () const |
tPExtrPtr | lastExtractor () const |
PDFT | pdf (tcPPtr parton) const |
const Cuts & | lastCuts () const |
tCutsPtr | lastCutsPtr () const |
const PPair & | lastParticles () const |
Energy2 | lastS () const |
const PPair & | lastPartons () const |
Energy2 | lastSHat () const |
double | lastTau () const |
double | lastY () const |
double | lastP1 () const |
double | lastP2 () const |
double | lastL1 () const |
double | lastL2 () const |
double | lastX1 () const |
double | lastX2 () const |
double | lastE1 () const |
double | lastE2 () const |
double | lastFL1L2 () 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 | setDidRunCascade (bool c) |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
![]() | |
static void | Init () |
Protected Member Functions | |
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. | |
void | unSetCurrentHandler () |
Unset the current handler. | |
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. | |
void | combineWeights () |
Weight handling for shower variations. | |
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. | |
bool | includeSpaceTime () const |
Parameters for the space-time model. | |
Energy2 | vMin () const |
The minimum virtuality for the space-time model. | |
Clone Methods. | |
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. | |
![]() | |
void | createNewStep () |
![]() | |
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) |
![]() | |
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 &) |
![]() | |
ReferenceCounted (const ReferenceCounted &) | |
ReferenceCounted & | operator= (const ReferenceCounted &) |
![]() | |
const Named & | operator= (const Named &other) |
const string & | name (const string &newName) |
Private Attributes | |
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. | |
Standard Interfaced functions. | |
static tShowerHandlerPtr | currentHandler_ |
pointer to "this", the current ShowerHandler. | |
UEBasePtr | MPIHandler_ |
a MPIHandler to administer the creation of several (semihard) partonic interactions. | |
HwRemDecPtr | remDec_ |
Pointer to the HwRemDecayer. | |
unsigned int | maxtry_ |
Maximum tries for various stages of the showering process. | |
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. | |
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. | |
unsigned int | spinOpt_ |
Option to include spin correlations. | |
tPPair | incoming_ |
Storage of information about the current event. | |
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. | |
PDFPtr | PDFA_ |
PDFs to be used for the various stages and related parameters. | |
PDFPtr | PDFB_ |
The PDF for beam particle B. | |
PDFPtr | PDFARemnant_ |
The PDF for beam particle A for remnant splitting. | |
PDFPtr | PDFBRemnant_ |
The PDF for beam particle B for remnant splitting. | |
pair< PDFPtr, PDFPtr > | mpipdfs_ |
The MPI PDF's to be used for secondary scatters. | |
pair< PDFPtr, PDFPtr > | rempdfs_ |
The MPI PDF's to be used for secondary scatters. | |
pair< PDFPtr, PDFPtr > | remmpipdfs_ |
The MPI PDF's to be used for secondary scatters. | |
virtual void | doinit () |
Initialize this object after the setup phase before saving an EventGenerator to disk. | |
virtual void | doinitrun () |
Initialize this object. | |
virtual void | dofinish () |
Finalize this object. | |
ShowerHandler & | operator= (const ShowerHandler &)=delete |
The assignment operator is private and must never be called. | |
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. | |
Energy2 | vMin_ |
The minimum virtuality for the space-time model. | |
bool | useConstituentMasses_ = true |
Parameters for the constituent mass treatment. | |
int | tagIntermediates_ = 0 |
Status code to tag intermediate state as after the showering; if zero no tagging will be performed. | |
map< string, ShowerVariation > | showerVariations_ |
Parameters relevant for reweight and variations. | |
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. | |
Functions used by the persistent I/O system. | |
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. | |
static void | Init () |
The standard Init function used to initialize the interfaces. | |
Members relating to the underlying event and MPI | |
bool | decaysInShower (long id) const |
Check if a particle decays in the shower. | |
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. | |
void | createDecayProcess (PPtr parent, PerturbativeProcessPtr hard, DecayProcessMap &decay) const |
Find decay products from the hard process and create decay processes. | |
Additional Inherited Members | |
![]() | |
initializing | |
uninitialized | |
initialized | |
runready | |
![]() | |
const unsigned long | uniqueId |
![]() | |
static void | registerRepository (IBPtr) |
static void | registerRepository (IBPtr, string newName) |
![]() | |
XCPtr | theLastXComb |
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.
Definition at line 40 of file ShowerHandler.h.
typedef multiset<tcPDPtr,ParticleOrdering> Herwig::ShowerHandler::OrderedParticles |
A container for ordered particles required for constructing tags for decay mode lookup.
Definition at line 190 of file ShowerHandler.h.
typedef pair<tRemPPtr, tRemPPtr> Herwig::ShowerHandler::RemPair |
Typedef for a pair of ThePEG::RemnantParticle pointers.
Definition at line 47 of file ShowerHandler.h.
|
inlinevirtual |
Return true, if the shower handler can generate a truncated shower for POWHEG style events generated using Matchbox.
Reimplemented in Herwig::DipoleShowerHandler, and Herwig::PowhegShowerHandler.
Definition at line 112 of file ShowerHandler.h.
|
virtual |
The main method which manages the multiple interactions and starts the shower by calling cascade(sub, lastXC).
Implements ThePEG::CascadeHandler.
Referenced by Herwig::DipoleShowerHandler::cascade().
|
protectedvirtual |
Make a simple clone of this object.
Implements ThePEG::InterfacedBase.
Reimplemented in Herwig::AlpGenHandlerOL, Herwig::FxFxHandler, Herwig::DipoleShowerHandler, Herwig::PowhegHandler, Herwig::PowhegShowerHandler, and Herwig::QTildeShowerHandler.
|
protected |
Weight handling for shower variations.
Combine the variation weights which have been encountered
|
inlinevirtual |
Any correlations.
Reimplemented in Herwig::QTildeShowerHandler.
Definition at line 345 of file ShowerHandler.h.
References spinOpt_.
|
protected |
Find decay products from the hard process and create decay processes.
parent | The parent particle |
hard | The parent hard process |
decay | The decay processes |
|
inlinestatic |
pointer to "this", the current ShowerHandler.
Definition at line 72 of file ShowerHandler.h.
References currentHandler_.
|
inlinestatic |
pointer to "this", the current ShowerHandler.
Definition at line 82 of file ShowerHandler.h.
References currentHandler_.
|
inlineprotected |
Return the currently used SubProcess.
Definition at line 524 of file ShowerHandler.h.
References subProcess_.
|
inline |
Access the current Weights.
Definition at line 304 of file ShowerHandler.h.
References currentWeights_.
|
inline |
Return the current Weights.
Definition at line 311 of file ShowerHandler.h.
References currentWeights_.
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.
|
inline |
Check if a particle decays in the shower.
id | The PDG code for the particle |
Definition at line 489 of file ShowerHandler.h.
References particlesDecayInShower_.
|
inline |
Information if the Showerhandler splits the hard process.
Definition at line 155 of file ShowerHandler.h.
References splitHardProcess_.
|
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::AlpGenHandlerOL, Herwig::FxFxHandler, and Herwig::DipoleShowerHandler.
|
inline |
Switch on or off final state radiation.
Definition at line 207 of file ShowerHandler.h.
References doFSR_.
|
protectedvirtual |
Initialize this object after the setup phase before saving an EventGenerator to disk.
InitException | if object could not be initialized properly. |
Reimplemented from ThePEG::InterfacedBase.
Reimplemented in Herwig::AlpGenHandlerOL, Herwig::FxFxHandler, Herwig::DipoleShowerHandler, Herwig::MatchingHandler, Herwig::PowhegShowerHandler, and Herwig::QTildeShowerHandler.
|
protectedvirtual |
Initialize this object.
Called in the run phase just before a run begins.
Reimplemented from ThePEG::InterfacedBase.
Reimplemented in Herwig::AlpGenHandlerOL, Herwig::FxFxHandler, Herwig::DipoleShowerHandler, and Herwig::QTildeShowerHandler.
|
inline |
Switch on or off initial state radiation.
Definition at line 212 of file ShowerHandler.h.
References doISR_.
|
inline |
Switch for any radiation.
Definition at line 202 of file ShowerHandler.h.
|
inline |
The factorization scale factor.
Definition at line 243 of file ShowerHandler.h.
References factorizationScaleFactor_.
|
inline |
The factorization scale factor.
Definition at line 229 of file ShowerHandler.h.
References factorizationScaleFactor_.
tDMPtr Herwig::ShowerHandler::findDecayMode | ( | const string & | tag | ) | const |
Cached lookup of decay modes.
Generator::findDecayMode() is not efficient.
|
protected |
Members to handle splitting up of hard process and decays.
Find decay products from the hard process and create decay processes
parent | The parent particle |
hard | The hard process |
decay | The decay processes |
|
inline |
Return true if currently the primary subprocess is showered.
Definition at line 132 of file ShowerHandler.h.
References ThePEG::StepHandler::eventHandler(), and subProcess_.
|
protectedvirtual |
Make a clone of this object, possibly modifying the cloned object to make it sane.
Reimplemented from ThePEG::InterfacedBase.
Reimplemented in Herwig::AlpGenHandlerOL, Herwig::FxFxHandler, Herwig::DipoleShowerHandler, Herwig::PowhegHandler, Herwig::PowhegShowerHandler, and Herwig::QTildeShowerHandler.
|
inlineprotected |
Access function for the MPIHandler, it should only be called after checking with isMPIOn.
Definition at line 461 of file ShowerHandler.h.
References MPIHandler_.
|
inline |
|
inline |
|
virtual |
Return the relevant hard scale to be used in the profile scales.
Reimplemented in Herwig::DipoleShowerHandler, and Herwig::QTildeShowerHandler.
|
inline |
The scale factor for the hard scale.
Definition at line 257 of file ShowerHandler.h.
References hardScaleFactor_.
|
inline |
Return true if maximum pt should be deduced from the factorization scale.
Definition at line 224 of file ShowerHandler.h.
References maxPtIsMuF_.
|
inlineprotected |
Parameters for the space-time model.
Whether or not to include spa-cetime distances in the shower
Definition at line 576 of file ShowerHandler.h.
References includeSpaceTime_.
|
inlineprotected |
Access to the incoming beam particles.
Definition at line 532 of file ShowerHandler.h.
References incoming_.
|
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.
|
inlineprotected |
Return true if multiple parton interactions are switched on and can be used for this beam setup.
Definition at line 453 of file ShowerHandler.h.
References MPIHandler_.
|
inlinevirtual |
Return true, if this cascade handler will perform reshuffling from hard process masses.
Reimplemented from ThePEG::CascadeHandler.
Reimplemented in Herwig::DipoleShowerHandler.
Definition at line 98 of file ShowerHandler.h.
|
inlineprotected |
Return the maximum number of attempts for showering a given subprocess.
Definition at line 565 of file ShowerHandler.h.
References maxtry_.
|
privatedelete |
The assignment operator is private and must never be called.
In fact, it should not even be implemented.
|
inline |
Get the PDF freezing scale.
Definition at line 117 of file ShowerHandler.h.
References pdfFreezingScale_.
void Herwig::ShowerHandler::persistentInput | ( | PersistentIStream & | is, |
int | version | ||
) |
Function used to read in object persistently.
is | the persistent input stream read from. |
version | the version number of the object when written. |
void Herwig::ShowerHandler::persistentOutput | ( | PersistentOStream & | os | ) | const |
Function used to write out object persistently.
os | the persistent output stream written to. |
|
inlineprotected |
Set up for the cascade.
Definition at line 410 of file ShowerHandler.h.
References current_, ThePEG::StepHandler::currentStep(), and subProcess_.
|
inline |
Return profile scales.
Definition at line 269 of file ShowerHandler.h.
References hardScaleProfile_.
|
inline |
|
inline |
The renormalization scale factor.
Definition at line 236 of file ShowerHandler.h.
References renormalizationScaleFactor_.
|
inline |
The renormalization scale factor.
Definition at line 250 of file ShowerHandler.h.
References renormalizationScaleFactor_.
|
inline |
Return true, if the phase space restrictions of the dipole shower should be applied.
Definition at line 264 of file ShowerHandler.h.
References restrictPhasespace_.
|
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 104 of file ShowerHandler.h.
References useConstituentMasses_.
|
inline |
Return the current reweighting factor.
Definition at line 325 of file ShowerHandler.h.
References reweight_.
|
inline |
Change the current reweighting factor.
Definition at line 318 of file ShowerHandler.h.
References reweight_.
|
inlineprotected |
Set/unset the current shower handler.
Set the current handler
Definition at line 431 of file ShowerHandler.h.
References currentHandler_.
|
inlinevirtual |
Hook to allow vetoing of event after showering hard sub-process as in e.g.
MLM merging.
Reimplemented in Herwig::AlpGenHandlerOL, Herwig::FxFxHandler, and Herwig::QTildeShowerHandler.
Definition at line 92 of file ShowerHandler.h.
|
inlinevirtual |
Return information about shower phase space choices.
Reimplemented in Herwig::DipoleShowerHandler.
Definition at line 279 of file ShowerHandler.h.
|
inline |
Access the shower variations.
Definition at line 290 of file ShowerHandler.h.
References showerVariations_.
|
inline |
Return the shower variations.
Definition at line 297 of file ShowerHandler.h.
References showerVariations_.
|
inline |
Access to switches for spin correlations.
Spin Correlations
Definition at line 338 of file ShowerHandler.h.
References spinOpt_.
Referenced by Herwig::QTildeShowerHandler::correlations().
void Herwig::ShowerHandler::splitHardProcess | ( | tPVector | tagged, |
PerturbativeProcessPtr & | hard, | ||
DecayProcessMap & | decay | ||
) | const |
Split the hard process into production and decays.
tagged | The tagged particles from the StepHandler |
hard | The hard perturbative process |
decay | The decay particles |
|
inlineprotected |
Unset the current handler.
Definition at line 438 of file ShowerHandler.h.
References currentHandler_.
|
inlineprotected |
The minimum virtuality for the space-time model.
Definition at line 581 of file ShowerHandler.h.
References vMin_.
|
private |
Boost to get back to the lab.
Definition at line 738 of file ShowerHandler.h.
|
private |
Const pointer to the current step.
Definition at line 748 of file ShowerHandler.h.
Referenced by prepareCascade().
|
staticprivate |
pointer to "this", the current ShowerHandler.
Definition at line 638 of file ShowerHandler.h.
Referenced by currentHandler(), currentHandlerIsSet(), setCurrentHandler(), and unSetCurrentHandler().
|
private |
The shower variation weights.
Definition at line 904 of file ShowerHandler.h.
Referenced by currentWeights().
|
private |
Switch on or off final state radiation.
Definition at line 811 of file ShowerHandler.h.
Referenced by doFSR(), and doRadiation().
|
private |
Switch on or off initial state radiation.
Definition at line 816 of file ShowerHandler.h.
Referenced by doISR(), and doRadiation().
|
private |
Factors for the various scales.
The factorization scale factor.
Definition at line 690 of file ShowerHandler.h.
Referenced by facFac(), and factorizationScaleFactor().
|
private |
The scale factor for the hard scale.
Definition at line 700 of file ShowerHandler.h.
Referenced by hardScaleFactor().
|
private |
|
private |
Parameters for the space-time model.
Whether or not to include space-time distances in the shower
Definition at line 852 of file ShowerHandler.h.
Referenced by includeSpaceTime().
|
private |
Storage of information about the current event.
The incoming beam particles for the current collision
Definition at line 733 of file ShowerHandler.h.
Referenced by incomingBeams().
|
private |
PDG codes of the particles which decay during showering this is a vector that is interfaced so they can be changed.
Definition at line 840 of file ShowerHandler.h.
|
private |
True if maximum pt should be deduced from the factorization scale.
Definition at line 711 of file ShowerHandler.h.
Referenced by hardScaleIsMuF().
|
private |
Maximum tries for various stages of the showering process.
Maximum number of attempts for the main showering loop
Definition at line 661 of file ShowerHandler.h.
Referenced by maxtry().
|
private |
Maximum number of attempts to generate a decay.
Definition at line 678 of file ShowerHandler.h.
|
private |
Maximum number of attempts for the regeneration of an additional hard scattering, before this event is vetoed.
Definition at line 673 of file ShowerHandler.h.
|
private |
Maximum number of attempts for the regeneration of an additional scattering, before the number of scatters is reduced.
Definition at line 667 of file ShowerHandler.h.
|
private |
a MPIHandler to administer the creation of several (semihard) partonic interactions.
Definition at line 644 of file ShowerHandler.h.
Referenced by getMPIHandler(), and isMPIOn().
The MPI PDF's to be used for secondary scatters.
Definition at line 789 of file ShowerHandler.h.
|
private |
PDG codes of the particles which decay during showering this is fast storage for use during running.
Definition at line 834 of file ShowerHandler.h.
Referenced by decaysInShower().
|
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 769 of file ShowerHandler.h.
Referenced by getPDFA().
|
private |
The PDF for beam particle A for remnant splitting.
Overrides the particle's own PDF setting.
Definition at line 779 of file ShowerHandler.h.
|
private |
The PDF for beam particle B.
Overrides the particle's own PDF setting.
Definition at line 774 of file ShowerHandler.h.
Referenced by getPDFB().
|
private |
The PDF for beam particle B for remnant splitting.
Overrides the particle's own PDF setting.
Definition at line 784 of file ShowerHandler.h.
|
private |
PDFs to be used for the various stages and related parameters.
The PDF freezing scale
Definition at line 760 of file ShowerHandler.h.
Referenced by pdfFreezingScale().
|
private |
Pointer to the HwRemDecayer.
Definition at line 649 of file ShowerHandler.h.
Referenced by remnantDecayer().
The MPI PDF's to be used for secondary scatters.
Definition at line 799 of file ShowerHandler.h.
The MPI PDF's to be used for secondary scatters.
Definition at line 794 of file ShowerHandler.h.
|
private |
The renormalization scale factor.
Definition at line 695 of file ShowerHandler.h.
Referenced by renFac(), and renormalizationScaleFactor().
|
private |
True, if the phase space restrictions of the dipole shower should be applied.
Definition at line 706 of file ShowerHandler.h.
Referenced by restrictPhasespace().
|
private |
A reweighting factor applied by the showering.
Definition at line 899 of file ShowerHandler.h.
Referenced by reweight().
|
private |
Parameters relevant for reweight and variations.
The shower variations
Definition at line 889 of file ShowerHandler.h.
Referenced by showerVariations().
|
private |
Option to include spin correlations.
Definition at line 722 of file ShowerHandler.h.
Referenced by correlations(), and spinCorrelations().
|
private |
Whether or not to split into hard and decay trees.
Definition at line 828 of file ShowerHandler.h.
Referenced by doesSplitHardProcess().
|
private |
Const pointer to the currently handeled ThePEG::SubProcess.
Definition at line 743 of file ShowerHandler.h.
Referenced by currentSubProcess(), firstInteraction(), and prepareCascade().
|
private |
Status code to tag intermediate state as after the showering; if zero no tagging will be performed.
Definition at line 876 of file ShowerHandler.h.
|
private |
Parameters for the constituent mass treatment.
True if shower should return constituent masses.
Definition at line 871 of file ShowerHandler.h.
Referenced by retConstituentMasses().
|
private |
The minimum virtuality for the space-time model.
Definition at line 857 of file ShowerHandler.h.
Referenced by vMin().