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

Here is the documentation of the FxFxHandler class. More...

#include <FxFxHandler.h>

Inheritance diagram for Herwig::FxFxHandler:

Public Member Functions

 FxFxHandler ()
 The default constructor.
 
- Public Member Functions inherited from Herwig::QTildeShowerHandler
 QTildeShowerHandler ()
 The default constructor.
 
void fillEventRecord ()
 At the end of the Showering, transform ShowerParticle objects into ThePEG particles and fill the event record with them.
 
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.
 
virtual HardTreePtr generateCKKW (ShowerTreePtr tree) const
 Generate hard emissions for CKKW etc.
 
virtual void showerHardProcess (ShowerTreePtr, XCPtr)
 Members to perform the shower.
 
virtual void showerDecay (ShowerTreePtr)
 Perform the shower of a decay.
 
tSplittingGeneratorPtr splittingGenerator () const
 Access to the flags and shower variables.
 
int hardEmission () const
 Mode for hard emissions.
 
virtual void connectTrees (ShowerTreePtr showerTree, HardTreePtr hardTree, bool hard)
 Connect the Hard and Shower trees.
 
unsigned int softCorrelations () const
 Access to switches for spin correlations.
 
virtual bool correlations () const
 Any correlations.
 
tKinematicsReconstructorPtr kinematicsReconstructor () const
 Access methods to access the objects.
 
tPartnerFinderPtr partnerFinder () const
 Access to the PartnerFinder object.
 
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.
 
- 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 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.
 
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.
 
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.
 
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.
 
bool decaysInShower (long id) const
 Check if a particle decays in the shower.
 
- Public Member Functions inherited from ThePEG::CascadeHandler
virtual void handle (EventHandler &eh, const tPVector &tagged, const Hint &hint)
 
virtual void cascade ()=0
 
virtual double reweightCKKW (int minMult, int maxMult)
 
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)
 
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)
 
- Public Member Functions inherited from ThePEG::StepHandler
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
 
- Public Member Functions inherited from ThePEG::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 StandardModelBaseSM () 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
 
- Public Member Functions inherited from ThePEG::InterfacedBase
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
 
- Public Member Functions inherited from ThePEG::Base
void debug () const
 
virtual void debugme () const
 
- Public Member Functions inherited from ThePEG::Pointer::ReferenceCounted
CounterType referenceCount () const
 
- 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< typename XC >
const XC & lastXComb () const
 
tXCPtr lastXCombPtr () const
 
const XC & lastHeadXComb () const
 
tXCPtr lastHeadXCombPtr () const
 
const EventHandlerlastEventHandler () const
 
tPExtrPtr lastExtractor () const
 
PDFT pdf (tcPPtr parton) const
 
const CutslastCuts () const
 
tCutsPtr lastCutsPtr () const
 
const PPairlastParticles () const
 
Energy2 lastS () const
 
const PPairlastPartons () 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 cPDVectormePartonData () const
 
const XC & lastXComb () const
 
tXCPtr lastXCombPtr () const
 
const XC & lastHeadXComb () const
 
tXCPtr lastHeadXCombPtr () const
 
const EventHandlerlastEventHandler () const
 
tPExtrPtr lastExtractor () const
 
PDFT pdf (tcPPtr parton) const
 
const CutslastCuts () const
 
tCutsPtr lastCutsPtr () const
 
const PPairlastParticles () const
 
Energy2 lastS () const
 
const PPairlastPartons () 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
 

Friends

class FxFxEventHandler
 FxFxHandler should have access to our private parts.
 
class FxFxReader
 

Standard Interfaced functions.

int npLO_
 information for FxFx merging
 
int npNLO_
 
vector< double > ptclust_
 information for tree-level merging
 
virtual bool showerHardProcessVeto () const
 Hook to allow vetoing of event after showering hard sub-process as in e.g.
 
virtual void dofinish ()
 Finalize the object.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk.
 
virtual void doinitrun ()
 Initialize this object.
 

Clone Methods.

bool hvqfound = false
 
PPair preshowerISPs_
 Initial-state incoming partons prior to showering (i.e.
 
ParticleVector preshowerFSPs_
 Final-state outgoing partICLEs prior to showering (i.e.
 
ParticleVector preshowerFSPsToDelete_
 Final-state outgoing partICLEs prior to showering to_be_removed from preShowerFSPs_ prior to the light-parton-light-jet matching step.
 
PPair showeredISHs_
 Initial-state incoming hadrons after shower of hard process (eventHandler()->currentEvent()->incoming()).
 
PPair showeredISPs_
 Initial-state incoming partons after shower of hard process (look for partonic children of showeredISHs_).
 
tPVector showeredFSPs_
 Final-state outgoing partICLEs after shower of hard process (eventHandler()->currentEvent()->getFinalState()).
 
ParticleVector showeredFSPsToDelete_
 Final-state outgoing partICLEs after shower of hard process to_be_removed from showeredFSPs_ prior to the light-parton-light-jet matching step.
 
ParticleVector partonsToMatch_
 ONLY the final-state partons from preshowerFSPs_ that are supposed to enter the jet-parton matching.
 
PPtr theProgenitor
 
PPtr theLastProgenitor
 
tPVector particlesToCluster_
 ONLY the final-state particles from showeredFSPs_ (and maybe also showeredRems_) that are supposed to go for jet clustering.
 
PPair showeredRems_
 Final-state remnants after shower of hard process (look for remnants initially in showeredFSPs_).
 
double ECOM_
 the COM of the incoming hadrons
 
ShowerAlphaPtr alphaS_
 Pointer to the object calculating the strong coupling.
 
Energy pdfScale_
 Information extracted from the XComb object.
 
Energy2 sHat_
 Centre of mass energy.
 
double alphaSME_
 Constant alphaS used to generate LH events - if not already using CKKW scale (ickkw = 1 in AlpGen for example).
 
unsigned int ncy_
 
unsigned int ncphi_
 
int ihvy_
 
int nph_
 
int nh_
 
Energy etclus_
 
int mergemode_
 
bool vetoHeavyQ_
 
bool vetoHeavyFlavour_
 
Energy etclusmean_
 
int jetAlgorithm_
 
bool vetoIsTurnedOff_
 
bool vetoSoftThanMatched_
 
bool etclusfixed_
 
Energy epsetclus_
 
double rclus_
 
double etaclmax_
 
double rclusfactor_
 
bool hpdetect_
 
int ihrd_
 
int njets_
 
double drjmin_
 
bool highestMultiplicity_
 
double ycmax_
 
double ycmin_
 
vector< double > cphcal_
 
vector< double > sphcal_
 
vector< double > cthcal_
 
vector< double > sthcal_
 
vector< vector< Energy > > et_
 
vector< vector< int > > jetIdx_
 
vector< Lorentz5Momentum > pjet_
 
vector< Lorentz5Momentum > pjetME_
 
ParticleVector tmpList_
 
vector< Energy > etjet_
 
vector< Energy > etjetME_
 
double dely_
 
double delphi_
 
static ClassDescription< FxFxHandlerinitFxFxHandler
 The static object used to initialize the description of this class.
 
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.
 
bool lightJetPartonVeto ()
 
double partonJetDeltaR (ThePEG::tPPtr partonptr, LorentzMomentum jetmom) const
 
double partonJetDeltaR (LorentzMomentum jetmom1, LorentzMomentum jetmom2) const
 
void getFastJets (double rjet, Energy ejcut, double etajcut) const
 Find jets using the FastJet package on particlesToCluster_.
 
void getFastJetsToMatch (double rjet) const
 Find jets using the FastJet package on particlesToCluster_.
 
void caldel_m () const
 Deletes particles from partonsToMatch_ and particlesToCluster_ vectors so that these contain only the partons to match to the jets and the particles used to build jets respectively.
 
void caldel_mg () const
 Deletes particles from partonsToMatch_ and particlesToCluster_ vectors so that these contain only the partons to match to the jets and the particles used to build jets respectively.
 
void caldel_hvq () const
 c++ translation of subroutine of same name from alpsho.f.
 
void getnpFxFx () const
 get the MG5_aMC information required for FxFx merging
 
void getECOM () const
 get the MG5_aMC information required for FxFx merging
 
void getptclust () const
 get the MG5_aMC information required for tree-level merging
 
void erase_substr (std::string &subject, const std::string &search) const
 Erases all occurences of a substring from a string.
 
void getPreshowerParticles () const
 Get the particles from lastXCombPtr filling the pair preshowerISPs_ and particle pointer vector preshowerFSPs_.
 
void getShoweredParticles () const
 Get the particles from eventHandler()->currentEvent()->... filling the particle pairs showeredISHs_, showeredISPs_, showeredRems_ and the particle pointer vector showeredFSPs_.
 
void doSanityChecks (int debugLevel) const
 Allows printing of debug output and sanity checks like total momentum consrvation to be carried out.
 
void getDescendents (PPtr theParticle) const
 Given a pointer to a particle this finds all its final state descendents.
 
void getTopRadiation (PPtr theParticle) const
 Accumulates all descendents of tops down to the b and W but not including them.
 
ParticleVector pTsort (ParticleVector unsortedVec)
 Sorts a given vector of particles by descending pT or ETJET.
 
pair< vector< Energy >, vector< Lorentz5Momentum > > ETsort (vector< Energy > unsortedetjet, vector< Lorentz5Momentum > unsortedVec)
 
void printMomVec (vector< Lorentz5Momentum > momVec)
 
Energy etclusran_ (double petc) const
 
FxFxHandleroperator= (const FxFxHandler &)=delete
 The assignment operator is private and must never be called.
 

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.
 

Additional Inherited Members

- Public Types inherited from Herwig::QTildeShowerHandler
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< typename XC >
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
 
- Static Public Member Functions inherited from Herwig::QTildeShowerHandler
static void Init ()
 The standard Init function used to initialize the interfaces.
 
- 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.
 
- Static Public Member Functions inherited from ThePEG::CascadeHandler
static void setDidRunCascade (bool c)
 
static void Init ()
 
- 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 ()
 
- Public Attributes inherited from ThePEG::InterfacedBase
 initializing
 
 uninitialized
 
 initialized
 
 runready
 
- Public Attributes inherited from ThePEG::Pointer::ReferenceCounted
const unsigned long uniqueId
 
- Protected Member Functions inherited from Herwig::QTildeShowerHandler
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.
 
virtual void setEvolutionPartners (bool hard, ShowerInteraction, bool clear)
 set the colour partners
 
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.
 
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).
 
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).
 
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.
 
bool hardMEC () const
 Any hard ME correction?
 
bool softMEC () const
 Any soft ME correction?
 
bool isTruncatedShowerON () const
 Is the truncated shower on?
 
bool ipTon () const
 Switch for intrinsic pT.
 
void addVeto (ShowerVetoPtr v)
 Insert a veto.
 
void removeVeto (ShowerVetoPtr v)
 Remove a veto.
 
bool hardVetoReadOption () const
 Switches for vetoing hard emissions.
 
double initialStateRadiationEnhancementFactor () const
 Enhancement factors for radiation needed to generate the soft matrix element correction.
 
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.
 
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.
 
void setBeamParticle (Ptr< BeamParticleData >::const_pointer in)
 Set the beam particle data.
 
tShowerTreePtr currentTree ()
 Set/Get the current tree being evolver for inheriting classes.
 
void currentTree (tShowerTreePtr tree)
 Set the tree.
 
unsigned int maximumTries () const
 Access the maximum number of attempts to generate the shower.
 
ShowerProgenitorPtr progenitor ()
 Set/Get the ShowerProgenitor for the current shower.
 
void progenitor (ShowerProgenitorPtr in)
 Set the progenitor.
 
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.
 
- Protected Member Functions inherited from Herwig::ShowerHandler
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.
 
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.
 
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.
 
- 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
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 &)
 
- Protected Member Functions inherited from ThePEG::Pointer::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)
 
- Static Protected Member Functions inherited from ThePEG::Interfaced
static void registerRepository (IBPtr)
 
static void registerRepository (IBPtr, string newName)
 
- Protected Attributes inherited from ThePEG::LastXCombInfo< typename XC >
XCPtr theLastXComb
 

Detailed Description

Here is the documentation of the FxFxHandler class.

See also
The interfaces defined for FxFxHandler.

Definition at line 38 of file FxFxHandler.h.

Member Function Documentation

◆ caldel_hvq()

void Herwig::FxFxHandler::caldel_hvq ( ) const
private

c++ translation of subroutine of same name from alpsho.f.

Label all particles with status between ISTLO and ISTHI (until a particle with status ISTOP is found) as final-state, call calsim_m and then put labels back to normal. This version keeps only all IST=1 particles rejected by caldel as daughters of vetoed heavy-quark mothers: jets complementary to those reconstructed by caldel.

◆ caldel_m()

void Herwig::FxFxHandler::caldel_m ( ) const
private

Deletes particles from partonsToMatch_ and particlesToCluster_ vectors so that these contain only the partons to match to the jets and the particles used to build jets respectively.

By and large the candidates for deletion are: vector bosons and their decay products, Higgs bosons, photons as well as primary, i.e. present in the lowest multiplicity process, heavy quarks and any related decay products.

◆ caldel_mg()

void Herwig::FxFxHandler::caldel_mg ( ) const
private

Deletes particles from partonsToMatch_ and particlesToCluster_ vectors so that these contain only the partons to match to the jets and the particles used to build jets respectively.

The candidates are chosen according to the information passed from madgraph.

◆ clone()

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

Make a simple clone of this object.

Returns
a pointer to the new object.

Reimplemented from Herwig::QTildeShowerHandler.

◆ dofinish()

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

Finalize the object.

Reimplemented from Herwig::ShowerHandler.

◆ doinit()

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

◆ doinitrun()

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

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::QTildeShowerHandler.

◆ doSanityChecks()

void Herwig::FxFxHandler::doSanityChecks ( int  debugLevel) const
private

Allows printing of debug output and sanity checks like total momentum consrvation to be carried out.

debugLevel = -1, 0, ...5 = no debugging, minimal debugging, ... verbose.

◆ fullclone()

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

◆ Init()

static void Herwig::FxFxHandler::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=()

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ showerHardProcessVeto()

virtual bool Herwig::FxFxHandler::showerHardProcessVeto ( ) const
virtual

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

MLM merging.

Reimplemented from Herwig::QTildeShowerHandler.

Friends And Related Function Documentation

◆ FxFxEventHandler

friend class FxFxEventHandler
friend

FxFxHandler should have access to our private parts.

Definition at line 43 of file FxFxHandler.h.

◆ FxFxReader

friend class FxFxReader
friend

Definition at line 45 of file FxFxHandler.h.

Member Data Documentation

◆ alphaS_

ShowerAlphaPtr Herwig::FxFxHandler::alphaS_
private

Pointer to the object calculating the strong coupling.

Definition at line 374 of file FxFxHandler.h.

◆ alphaSME_

double Herwig::FxFxHandler::alphaSME_
private

Constant alphaS used to generate LH events - if not already using CKKW scale (ickkw = 1 in AlpGen for example).

Definition at line 394 of file FxFxHandler.h.

◆ cphcal_

vector<double> Herwig::FxFxHandler::cphcal_
private

Definition at line 558 of file FxFxHandler.h.

◆ cthcal_

vector<double> Herwig::FxFxHandler::cthcal_
private

Definition at line 572 of file FxFxHandler.h.

◆ delphi_

double Herwig::FxFxHandler::delphi_
private

Definition at line 617 of file FxFxHandler.h.

◆ dely_

double Herwig::FxFxHandler::dely_
mutableprivate

Definition at line 617 of file FxFxHandler.h.

◆ drjmin_

double Herwig::FxFxHandler::drjmin_
private

Definition at line 523 of file FxFxHandler.h.

◆ ECOM_

double Herwig::FxFxHandler::ECOM_
mutableprivate

the COM of the incoming hadrons

Definition at line 369 of file FxFxHandler.h.

◆ epsetclus_

Energy Herwig::FxFxHandler::epsetclus_
private

Definition at line 480 of file FxFxHandler.h.

◆ et_

vector<vector<Energy> > Herwig::FxFxHandler::et_
private

Definition at line 586 of file FxFxHandler.h.

◆ etaclmax_

double Herwig::FxFxHandler::etaclmax_
private

Definition at line 492 of file FxFxHandler.h.

◆ etclus_

Energy Herwig::FxFxHandler::etclus_
mutableprivate

Definition at line 425 of file FxFxHandler.h.

◆ etclusfixed_

bool Herwig::FxFxHandler::etclusfixed_
private

Definition at line 473 of file FxFxHandler.h.

◆ etclusmean_

Energy Herwig::FxFxHandler::etclusmean_
private

Definition at line 451 of file FxFxHandler.h.

◆ etjet_

vector<Energy> Herwig::FxFxHandler::etjet_
mutableprivate

Definition at line 615 of file FxFxHandler.h.

◆ etjetME_

vector<Energy> Herwig::FxFxHandler::etjetME_
private

Definition at line 616 of file FxFxHandler.h.

◆ highestMultiplicity_

bool Herwig::FxFxHandler::highestMultiplicity_
mutableprivate

Definition at line 529 of file FxFxHandler.h.

◆ hpdetect_

bool Herwig::FxFxHandler::hpdetect_
private

Definition at line 505 of file FxFxHandler.h.

◆ hvqfound

bool Herwig::FxFxHandler::hvqfound = false
mutableprivate

Definition at line 144 of file FxFxHandler.h.

◆ ihrd_

int Herwig::FxFxHandler::ihrd_
private

Definition at line 513 of file FxFxHandler.h.

◆ ihvy_

int Herwig::FxFxHandler::ihvy_
private

Definition at line 410 of file FxFxHandler.h.

◆ initFxFxHandler

ClassDescription<FxFxHandler> Herwig::FxFxHandler::initFxFxHandler
staticprivate

The static object used to initialize the description of this class.

Indicates that this is a concrete class with persistent data.

Definition at line 282 of file FxFxHandler.h.

◆ jetAlgorithm_

int Herwig::FxFxHandler::jetAlgorithm_
private

Definition at line 457 of file FxFxHandler.h.

◆ jetIdx_

vector<vector<int> > Herwig::FxFxHandler::jetIdx_
private

Definition at line 592 of file FxFxHandler.h.

◆ mergemode_

int Herwig::FxFxHandler::mergemode_
private

Definition at line 432 of file FxFxHandler.h.

◆ ncphi_

unsigned int Herwig::FxFxHandler::ncphi_
private

Definition at line 405 of file FxFxHandler.h.

◆ ncy_

unsigned int Herwig::FxFxHandler::ncy_
private

Definition at line 400 of file FxFxHandler.h.

◆ nh_

int Herwig::FxFxHandler::nh_
private

Definition at line 420 of file FxFxHandler.h.

◆ njets_

int Herwig::FxFxHandler::njets_
private

Definition at line 518 of file FxFxHandler.h.

◆ nph_

int Herwig::FxFxHandler::nph_
private

Definition at line 415 of file FxFxHandler.h.

◆ npLO_

int Herwig::FxFxHandler::npLO_
mutable

information for FxFx merging

Definition at line 114 of file FxFxHandler.h.

◆ npNLO_

int Herwig::FxFxHandler::npNLO_
mutable

Definition at line 115 of file FxFxHandler.h.

◆ particlesToCluster_

tPVector Herwig::FxFxHandler::particlesToCluster_
mutableprivate

ONLY the final-state particles from showeredFSPs_ (and maybe also showeredRems_) that are supposed to go for jet clustering.

Definition at line 357 of file FxFxHandler.h.

◆ partonsToMatch_

ParticleVector Herwig::FxFxHandler::partonsToMatch_
mutableprivate

ONLY the final-state partons from preshowerFSPs_ that are supposed to enter the jet-parton matching.

Definition at line 344 of file FxFxHandler.h.

◆ pdfScale_

Energy Herwig::FxFxHandler::pdfScale_
private

Information extracted from the XComb object.

The fixed factorization scale used in the MEs.

Definition at line 383 of file FxFxHandler.h.

◆ pjet_

vector<Lorentz5Momentum> Herwig::FxFxHandler::pjet_
mutableprivate

Definition at line 597 of file FxFxHandler.h.

◆ pjetME_

vector<Lorentz5Momentum> Herwig::FxFxHandler::pjetME_
mutableprivate

Definition at line 602 of file FxFxHandler.h.

◆ preshowerFSPs_

ParticleVector Herwig::FxFxHandler::preshowerFSPs_
mutableprivate

Final-state outgoing partICLEs prior to showering (i.e.

from lastXCombPtr).

Definition at line 303 of file FxFxHandler.h.

◆ preshowerFSPsToDelete_

ParticleVector Herwig::FxFxHandler::preshowerFSPsToDelete_
mutableprivate

Final-state outgoing partICLEs prior to showering to_be_removed from preShowerFSPs_ prior to the light-parton-light-jet matching step.

This same list is the starting point for determining partonsToMatch_ for the case of merging in heavy quark production.

Definition at line 311 of file FxFxHandler.h.

◆ preshowerISPs_

PPair Herwig::FxFxHandler::preshowerISPs_
mutableprivate

Initial-state incoming partons prior to showering (i.e.

from lastXCombPtr).

Definition at line 297 of file FxFxHandler.h.

◆ ptclust_

vector<double> Herwig::FxFxHandler::ptclust_
mutable

information for tree-level merging

Definition at line 120 of file FxFxHandler.h.

◆ rclus_

double Herwig::FxFxHandler::rclus_
private

Definition at line 487 of file FxFxHandler.h.

◆ rclusfactor_

double Herwig::FxFxHandler::rclusfactor_
private

Definition at line 499 of file FxFxHandler.h.

◆ sHat_

Energy2 Herwig::FxFxHandler::sHat_
private

Centre of mass energy.

Definition at line 388 of file FxFxHandler.h.

◆ showeredFSPs_

tPVector Herwig::FxFxHandler::showeredFSPs_
mutableprivate

Final-state outgoing partICLEs after shower of hard process (eventHandler()->currentEvent()->getFinalState()).

Definition at line 329 of file FxFxHandler.h.

◆ showeredFSPsToDelete_

ParticleVector Herwig::FxFxHandler::showeredFSPsToDelete_
mutableprivate

Final-state outgoing partICLEs after shower of hard process to_be_removed from showeredFSPs_ prior to the light-parton-light-jet matching step.

This same list is the starting point for determining particlesToCluster_ for the case of merging in heavy quark production.

Definition at line 338 of file FxFxHandler.h.

◆ showeredISHs_

PPair Herwig::FxFxHandler::showeredISHs_
mutableprivate

Initial-state incoming hadrons after shower of hard process (eventHandler()->currentEvent()->incoming()).

Definition at line 317 of file FxFxHandler.h.

◆ showeredISPs_

PPair Herwig::FxFxHandler::showeredISPs_
mutableprivate

Initial-state incoming partons after shower of hard process (look for partonic children of showeredISHs_).

Definition at line 323 of file FxFxHandler.h.

◆ showeredRems_

PPair Herwig::FxFxHandler::showeredRems_
mutableprivate

Final-state remnants after shower of hard process (look for remnants initially in showeredFSPs_).

Definition at line 363 of file FxFxHandler.h.

◆ sphcal_

vector<double> Herwig::FxFxHandler::sphcal_
private

Definition at line 565 of file FxFxHandler.h.

◆ sthcal_

vector<double> Herwig::FxFxHandler::sthcal_
private

Definition at line 579 of file FxFxHandler.h.

◆ theLastProgenitor

PPtr Herwig::FxFxHandler::theLastProgenitor
mutableprivate

Definition at line 351 of file FxFxHandler.h.

◆ theProgenitor

PPtr Herwig::FxFxHandler::theProgenitor
mutableprivate

Definition at line 350 of file FxFxHandler.h.

◆ tmpList_

ParticleVector Herwig::FxFxHandler::tmpList_
mutableprivate

Definition at line 609 of file FxFxHandler.h.

◆ vetoHeavyFlavour_

bool Herwig::FxFxHandler::vetoHeavyFlavour_
private

Definition at line 445 of file FxFxHandler.h.

◆ vetoHeavyQ_

bool Herwig::FxFxHandler::vetoHeavyQ_
private

Definition at line 439 of file FxFxHandler.h.

◆ vetoIsTurnedOff_

bool Herwig::FxFxHandler::vetoIsTurnedOff_
private

Definition at line 462 of file FxFxHandler.h.

◆ vetoSoftThanMatched_

bool Herwig::FxFxHandler::vetoSoftThanMatched_
private

Definition at line 468 of file FxFxHandler.h.

◆ ycmax_

double Herwig::FxFxHandler::ycmax_
private

Definition at line 534 of file FxFxHandler.h.

◆ ycmin_

double Herwig::FxFxHandler::ycmin_
private

Definition at line 540 of file FxFxHandler.h.


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