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

The QTildeShowerHandler class. More...

#include <QTildeShowerHandler.h>

Inheritance diagram for Herwig::QTildeShowerHandler:

Public Types

typedef Ptr< XComb >::pointer XCPtr
 Pointer to an XComb object.
 
- Public Types inherited from Herwig::ShowerHandler
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

void fillEventRecord ()
 At the end of the Showering, transform ShowerParticle objects into ThePEG particles and fill the event record with them. More...
 
virtual Energy hardScale () const
 Return the relevant hard scale to be used in the profile scales.
 
virtual bool showerHardProcessVeto () const
 Hook to allow vetoing of event after showering hard sub-process as in e.g. More...
 
virtual HardTreePtr generateCKKW (ShowerTreePtr tree) const
 Generate hard emissions for CKKW etc.
 
virtual void connectTrees (ShowerTreePtr showerTree, HardTreePtr hardTree, bool hard)
 Connect the Hard and Shower trees.
 
Standard constructors and destructors.
 QTildeShowerHandler ()
 The default constructor.
 
virtual ~QTildeShowerHandler ()
 The destructor.
 
virtual void showerHardProcess (ShowerTreePtr, XCPtr)
 Members to perform the shower. More...
 
virtual void showerDecay (ShowerTreePtr)
 Perform the shower of a decay.
 
tSplittingGeneratorPtr splittingGenerator () const
 Access to the flags and shower variables. More...
 
int hardEmission () const
 Mode for hard emissions.
 
unsigned int softCorrelations () const
 Access to switches for spin correlations. More...
 
virtual bool correlations () const
 Any correlations.
 
tKinematicsReconstructorPtr kinematicsReconstructor () const
 Access methods to access the objects. More...
 
tPartnerFinderPtr partnerFinder () const
 Access to the PartnerFinder object.
 
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 Herwig::ShowerHandler
 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 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...
 
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.
 
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 int showerPhaseSpaceOption () const
 Return information about shower phase space choices.
 
unsigned int spinCorrelations () const
 Access to switches for spin correlations. More...
 
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 void Init ()
 The standard Init function used to initialize the interfaces. More...
 
- Static Public Member Functions inherited from Herwig::ShowerHandler
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 doShowering (bool hard, XCPtr)
 Perform the shower.
 
virtual RealEmissionProcessPtr hardMatrixElementCorrection (bool)
 Generate the hard matrix element correction.
 
virtual void hardestEmission (bool hard)
 Generate the hardest emission.
 
void setupMECorrection (RealEmissionProcessPtr real)
 Set up for applying a matrix element correction.
 
virtual vector< ShowerProgenitorPtr > setupShower (bool hard)
 Extract the particles to be showered, set the evolution scales and apply the hard matrix element correction. More...
 
virtual void setEvolutionPartners (bool hard, ShowerInteraction, bool clear)
 set the colour partners
 
bool isTruncatedShowerON () const
 Is the truncated shower on?
 
unsigned int maximumTries () const
 Access the maximum number of attempts to generate the shower.
 
virtual void generateIntrinsicpT (vector< ShowerProgenitorPtr >)
 Calculate the intrinsic $p_T$.
 
map< tShowerProgenitorPtr, pair< Energy, double > > & intrinsicpT ()
 Access to the intrinsic $p_T$ for inheriting classes.
 
void setupMaximumScales (const vector< ShowerProgenitorPtr > &, XCPtr)
 find the maximally allowed pt acc to the hard process.
 
void setupHardScales (const vector< ShowerProgenitorPtr > &, XCPtr)
 find the relevant hard scales for profile scales.
 
void convertHardTree (bool hard, ShowerInteraction type)
 Convert the HardTree into an extra shower emission.
 
PPtr findFirstParton (tPPtr seed) const
 Find the parton extracted from the incoming particle after ISR.
 
tPPair remakeRemnant (tPPair oldp)
 Fix Remnant connections after ISR.
 
virtual bool startTimeLikeShower (ShowerInteraction)
 Start the shower of a timelike particle.
 
void updateHistory (tShowerParticlePtr particle)
 Update of the time-like stuff.
 
virtual bool startSpaceLikeShower (PPtr, ShowerInteraction)
 Start the shower of a spacelike particle.
 
virtual bool startSpaceLikeDecayShower (const ShowerParticle::EvolutionScales &maxScales, Energy minimumMass, ShowerInteraction)
 Start the shower of a spacelike particle.
 
Branching selectTimeLikeBranching (tShowerParticlePtr particle, ShowerInteraction type, HardBranchingPtr branch)
 Select the branching for the next time-like emission.
 
Branching selectSpaceLikeDecayBranching (tShowerParticlePtr particle, const ShowerParticle::EvolutionScales &maxScales, Energy minmass, ShowerInteraction type, HardBranchingPtr branch)
 Select the branching for the next space-like emission in a decay.
 
ShowerParticleVector createTimeLikeChildren (tShowerParticlePtr particle, IdList ids)
 Create the timelike child of a branching.
 
virtual bool timeLikeVetoed (const Branching &, ShowerParticlePtr)
 Vetos for the timelike shower.
 
virtual bool spaceLikeVetoed (const Branching &, ShowerParticlePtr)
 Vetos for the spacelike shower.
 
virtual bool spaceLikeDecayVetoed (const Branching &, ShowerParticlePtr)
 Vetos for the spacelike shower.
 
bool hardOnly () const
 Only generate the hard emission, for testing only.
 
void checkFlags ()
 Check the flags.
 
void addFSRUsingDecayPOWHEG (HardTreePtr ISRTree)
 
virtual tPPair cascade (tSubProPtr sub, XCPtr xcomb)
 The main method which manages the showering of a subprocess.
 
void decay (ShowerTreePtr tree, ShowerDecayMap &decay)
 Decay a ShowerTree.
 
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 bool timeLikeShower (tShowerParticlePtr particle, ShowerInteraction, Branching fb, bool first)
 Methods to perform the evolution of an individual particle, including recursive calling on the products. More...
 
virtual bool spaceLikeShower (tShowerParticlePtr particle, PPtr beam, ShowerInteraction)
 It does the backward evolution of the space-like input particle (and recursively for all its time-like radiation products). More...
 
virtual bool spaceLikeDecayShower (tShowerParticlePtr particle, const ShowerParticle::EvolutionScales &maxScales, Energy minimumMass, ShowerInteraction, Branching fb)
 If does the forward evolution of the input on-shell particle involved in a decay (and recursively for all its time-like radiation products). More...
 
virtual bool truncatedTimeLikeShower (tShowerParticlePtr particle, HardBranchingPtr branch, ShowerInteraction type, Branching fb, bool first)
 Truncated shower from a time-like particle.
 
virtual bool truncatedSpaceLikeShower (tShowerParticlePtr particle, PPtr beam, HardBranchingPtr branch, ShowerInteraction type)
 Truncated shower from a space-like particle.
 
virtual bool truncatedSpaceLikeDecayShower (tShowerParticlePtr particle, const ShowerParticle::EvolutionScales &maxScales, Energy minimumMass, HardBranchingPtr branch, ShowerInteraction type, Branching fb)
 Truncated shower from a time-like particle.
 
bool MECOn () const
 Switches for matrix element corrections. More...
 
bool hardMEC () const
 Any hard ME correction?
 
bool softMEC () const
 Any soft ME correction?
 
bool ipTon () const
 Switch for intrinsic pT. More...
 
Additional shower vetoes
void addVeto (ShowerVetoPtr v)
 Insert a veto.
 
void removeVeto (ShowerVetoPtr v)
 Remove a veto.
 
bool hardVetoReadOption () const
 Switches for vetoing hard emissions. More...
 
double initialStateRadiationEnhancementFactor () const
 Enhancement factors for radiation needed to generate the soft matrix element correction. More...
 
double finalStateRadiationEnhancementFactor () const
 Access the enhancement factor for final-state radiation.
 
void initialStateRadiationEnhancementFactor (double in)
 Set the enhancement factor for initial-state radiation.
 
void finalStateRadiationEnhancementFactor (double in)
 Set the enhancement factor for final-state radiation.
 
tHardTreePtr hardTree ()
 Access to set/get the HardTree currently beinging showered. More...
 
void hardTree (tHardTreePtr in)
 The HardTree currently being showered.
 
Ptr< BeamParticleData >::const_pointer beamParticle () const
 Access/set the beam particle for the current initial-state shower. More...
 
void setBeamParticle (Ptr< BeamParticleData >::const_pointer in)
 Set the beam particle data.
 
tShowerTreePtr currentTree ()
 Set/Get the current tree being evolver for inheriting classes. More...
 
void currentTree (tShowerTreePtr tree)
 Set the tree.
 
ShowerProgenitorPtr progenitor ()
 Set/Get the ShowerProgenitor for the current shower. More...
 
void progenitor (ShowerProgenitorPtr in)
 Set the progenitor.
 
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...
 
- Protected Member Functions inherited from Herwig::ShowerHandler
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.
 
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.
 
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...
 
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.
 
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

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

Private Attributes

SplittingGeneratorPtr _splittingGenerator
 Pointer to the splitting generator.
 
unsigned int _maxtry
 Maximum number of tries to generate the shower of a particular tree.
 
unsigned int _meCorrMode
 Matrix element correction switch.
 
unsigned int _evolutionScheme
 Control of the reconstruction option.
 
bool _hardVetoReadOption
 If hard veto pT scale is being read-in this determines whether the read-in value is applied to primary and secondary (MPI) scatters or just the primary one, with the usual computation of the veto being performed for the secondary (MPI) scatters.
 
Energy _iptrms
 rms intrinsic pT of Gaussian distribution
 
double _beta
 Proportion of inverse quadratic intrinsic pT distribution.
 
Energy _gamma
 Parameter for inverse quadratic: 2*Beta*Gamma/(sqr(Gamma)+sqr(intrinsicpT))
 
Energy _iptmax
 Upper bound on intrinsic pT for inverse quadratic.
 
unsigned int _limitEmissions
 Limit the number of emissions for testing.
 
ShowerProgenitorPtr _progenitor
 The progenitor of the current shower.
 
HwMEBasePtr _hardme
 Matrix element.
 
HwDecayerBasePtr _decayme
 Decayer.
 
ShowerTreePtr _currenttree
 The ShowerTree currently being showered.
 
HardTreePtr _hardtree
 The HardTree currently being showered.
 
Ptr< BeamParticleData >::const_pointer _beam
 The beam particle data for the current initial-state shower.
 
map< tShowerProgenitorPtr, pair< Energy, double > > _intrinsic
 Storage of the intrinsic $p_t$ of the particles.
 
vector< ShowerVetoPtr > _vetoes
 Vetoes.
 
vector< FullShowerVetoPtr > _fullShowerVetoes
 Full Shower Vetoes.
 
unsigned int _nReWeight
 Number of iterations for reweighting.
 
bool _reWeight
 Whether or not we are reweighting.
 
unsigned int _nis
 number of IS emissions
 
unsigned int _nfs
 Number of FS emissions.
 
ShowerInteraction interaction_
 The option for wqhich interactions to use.
 
bool _trunc_Mode
 Truncated shower switch.
 
int _hardEmission
 Mode for the hard emissions.
 
unsigned int _softOpt
 Option for the kernal for soft correlations.
 
bool _hardPOWHEG
 Option for hard radiation in POWHEG events.
 
Energy muPt
 The relevant hard scale to be used in the profile scales.
 
ShowerTreePtr hard_
 Stuff from the ShowerHandler. More...
 
ShowerDecayMap decay_
 The ShowerTree for the decays.
 
vector< ShowerTreePtr > done_
 The ShowerTrees for which the initial shower.
 
double _initialenhance
 Radiation enhancement factors for use with the veto algorithm if needed by the soft matrix element correction. More...
 
double _finalenhance
 Enhancement factor for final-state radiation.
 
KinematicsReconstructorPtr _reconstructor
 Pointer to the various objects. More...
 
PartnerFinderPtr _partnerfinder
 Pointer to the PartnerFinder object.
 

Static Private Attributes

static bool _hardEmissionWarn
 True if no warnings about incorrect hard emission mode setting have been issued yet.
 
static bool _missingTruncWarn
 True if no warnings about missing truncated shower have been issued yet.
 

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

The QTildeShowerHandler class.

See also
The interfaces defined for QTildeShowerHandler.

Definition at line 36 of file QTildeShowerHandler.h.

Member Function Documentation

◆ beamParticle()

Ptr<BeamParticleData>::const_pointer Herwig::QTildeShowerHandler::beamParticle ( ) const
inlineprotected

Access/set the beam particle for the current initial-state shower.

Get the beam particle data

Definition at line 383 of file QTildeShowerHandler.h.

◆ clone()

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

Make a simple clone of this object.

Returns
a pointer to the new object.

Reimplemented from Herwig::ShowerHandler.

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

◆ currentTree()

tShowerTreePtr Herwig::QTildeShowerHandler::currentTree ( )
inlineprotected

Set/Get the current tree being evolver for inheriting classes.

Get the tree

Definition at line 398 of file QTildeShowerHandler.h.

◆ doinit()

virtual void Herwig::QTildeShowerHandler::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 Herwig::ShowerHandler.

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

◆ doinitrun()

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

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::ShowerHandler.

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

◆ fillEventRecord()

void Herwig::QTildeShowerHandler::fillEventRecord ( )

At the end of the Showering, transform ShowerParticle objects into ThePEG particles and fill the event record with them.

Notice that the parent/child relationships and the transformation from ShowerColourLine objects into ThePEG ColourLine ones must be properly handled.

◆ fullclone()

virtual IBPtr Herwig::QTildeShowerHandler::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 Herwig::ShowerHandler.

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

◆ hardTree()

tHardTreePtr Herwig::QTildeShowerHandler::hardTree ( )
inlineprotected

Access to set/get the HardTree currently beinging showered.

The HardTree currently being showered

Definition at line 368 of file QTildeShowerHandler.h.

◆ hardVetoReadOption()

bool Herwig::QTildeShowerHandler::hardVetoReadOption ( ) const
inlineprotected

Switches for vetoing hard emissions.

Returns true if the hard veto read-in is to be applied to only the primary collision and false otherwise.

Definition at line 332 of file QTildeShowerHandler.h.

◆ Init()

static void Herwig::QTildeShowerHandler::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.

◆ initialStateRadiationEnhancementFactor()

double Herwig::QTildeShowerHandler::initialStateRadiationEnhancementFactor ( ) const
inlineprotected

Enhancement factors for radiation needed to generate the soft matrix element correction.

Access the enhancement factor for initial-state radiation

Definition at line 343 of file QTildeShowerHandler.h.

◆ ipTon()

bool Herwig::QTildeShowerHandler::ipTon ( ) const
inlineprotected

Switch for intrinsic pT.

Any intrinsic pT?

Definition at line 301 of file QTildeShowerHandler.h.

References ZERO.

◆ kinematicsReconstructor()

tKinematicsReconstructorPtr Herwig::QTildeShowerHandler::kinematicsReconstructor ( ) const
inline

Access methods to access the objects.

Access to the KinematicsReconstructor object

Definition at line 152 of file QTildeShowerHandler.h.

◆ MECOn()

bool Herwig::QTildeShowerHandler::MECOn ( ) const
inlineprotected

Switches for matrix element corrections.

Any ME correction?

Definition at line 270 of file QTildeShowerHandler.h.

◆ operator=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

void Herwig::QTildeShowerHandler::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::QTildeShowerHandler::persistentOutput ( PersistentOStream os) const

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ progenitor()

ShowerProgenitorPtr Herwig::QTildeShowerHandler::progenitor ( )
inlineprotected

Set/Get the ShowerProgenitor for the current shower.

Access the progenitor

Definition at line 419 of file QTildeShowerHandler.h.

◆ setupShower()

virtual vector<ShowerProgenitorPtr> Herwig::QTildeShowerHandler::setupShower ( bool  hard)
protectedvirtual

Extract the particles to be showered, set the evolution scales and apply the hard matrix element correction.

Parameters
hardWhether this is a hard process or decay
Returns
The particles to be showered

◆ showerHardProcess()

virtual void Herwig::QTildeShowerHandler::showerHardProcess ( ShowerTreePtr  ,
XCPtr   
)
virtual

Members to perform the shower.

Perform the shower of the hard process

◆ showerHardProcessVeto()

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

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

MLM merging.

Reimplemented from Herwig::ShowerHandler.

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

Definition at line 82 of file QTildeShowerHandler.h.

◆ softCorrelations()

unsigned int Herwig::QTildeShowerHandler::softCorrelations ( ) const
inline

Access to switches for spin correlations.

Soft correlations

Definition at line 132 of file QTildeShowerHandler.h.

◆ spaceLikeDecayShower()

virtual bool Herwig::QTildeShowerHandler::spaceLikeDecayShower ( tShowerParticlePtr  particle,
const ShowerParticle::EvolutionScales maxScales,
Energy  minimumMass,
ShowerInteraction  ,
Branching  fb 
)
protectedvirtual

If does the forward evolution of the input on-shell particle involved in a decay (and recursively for all its time-like radiation products).

accepting only emissions which conforms to the showerVariables.

Parameters
particleThe particle to be showered
maxscaleThe maximum scale for the shower.
minimumMassThe minimum mass of the final-state system

◆ spaceLikeShower()

virtual bool Herwig::QTildeShowerHandler::spaceLikeShower ( tShowerParticlePtr  particle,
PPtr  beam,
ShowerInteraction   
)
protectedvirtual

It does the backward evolution of the space-like input particle (and recursively for all its time-like radiation products).

accepting only emissions which conforms to the showerVariables. If at least one emission has occurred then the method returns true

Parameters
particleThe particle to be showered
beamThe beam particle

◆ splittingGenerator()

tSplittingGeneratorPtr Herwig::QTildeShowerHandler::splittingGenerator ( ) const
inline

Access to the flags and shower variables.

Get the SplittingGenerator

Definition at line 112 of file QTildeShowerHandler.h.

◆ timeLikeShower()

virtual bool Herwig::QTildeShowerHandler::timeLikeShower ( tShowerParticlePtr  particle,
ShowerInteraction  ,
Branching  fb,
bool  first 
)
protectedvirtual

Methods to perform the evolution of an individual particle, including recursive calling on the products.

It does the forward evolution of the time-like input particle (and recursively for all its radiation products). accepting only emissions which conforms to the showerVariables and soft matrix element correction. If at least one emission has occurred then the method returns true.

Parameters
particleThe particle to be showered

Member Data Documentation

◆ _initialenhance

double Herwig::QTildeShowerHandler::_initialenhance
private

Radiation enhancement factors for use with the veto algorithm if needed by the soft matrix element correction.

Enhancement factor for initial-state radiation

Definition at line 730 of file QTildeShowerHandler.h.

◆ _reconstructor

KinematicsReconstructorPtr Herwig::QTildeShowerHandler::_reconstructor
private

Pointer to the various objects.

Pointer to the KinematicsReconstructor object

Definition at line 828 of file QTildeShowerHandler.h.

◆ hard_

ShowerTreePtr Herwig::QTildeShowerHandler::hard_
private

Stuff from the ShowerHandler.

The ShowerTree for the hard process

Definition at line 628 of file QTildeShowerHandler.h.


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