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

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

#include <AlpGenHandlerOL.h>

Inheritance diagram for Herwig::AlpGenHandlerOL:

Public Member Functions

 AlpGenHandlerOL ()
 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
 

Clone Methods.

static ClassDescription< AlpGenHandlerOLinitAlpGenHandlerOL
 The static object used to initialize the description of this class.
 
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_).
 
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_
 
Energy etclusmean_
 
Energy epsetclus_
 
unsigned int smoothingtype_
 
double rclus_
 
double etaclmax_
 
double rclusfactor_
 
int ihrd_
 
int njets_
 
double drjmin_
 
bool highestMultiplicity_
 
int highestNjets_
 
bool highestNLOMultiplicity_
 
bool etclusfixed_
 
double ycmax_
 
double ycmin_
 
int jetAlgorithm_
 
bool vetoIsTurnedOff_
 
int vetoType_
 
bool inputIsNLO_
 
vector< double > cphcal_
 
vector< double > sphcal_
 
vector< double > cthcal_
 
vector< double > sthcal_
 
vector< vector< Energy > > et_
 
vector< vector< int > > jetIdx_
 
vector< Lorentz5Momentum > pjet_
 
ParticleVector tmpList_
 
vector< Energy > etjet_
 
double dely_
 
double delphi_
 
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
 
void calini_m () const
 c++ translation of subroutine of same name from alpsho.f.
 
void calsim_m () const
 c++ translation of subroutine of same name from alpsho.f.
 
void getFastJets (double rjet, Energy ejcut, double etajcut) const
 Find jets using the FastJet package on particlesToCluster_.
 
void getjet_m (double rjet, Energy ejcut, double etajcut) const
 c++ translation of subroutine of same name from alpsho.f.
 
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_hvq () const
 c++ translation of subroutine of same name from alpsho.f.
 
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
 
AlpGenHandlerOLoperator= (const AlpGenHandlerOL &)=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.
 

Standard Interfaced functions.

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.
 

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 AlpGenHandlerOL class.

See also
The interfaces defined for AlpGenHandlerOL.

Definition at line 35 of file AlpGenHandlerOL.h.

Member Function Documentation

◆ caldel_hvq()

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

◆ calini_m()

void Herwig::AlpGenHandlerOL::calini_m ( ) const
private

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

Initialize calorimeter for calsim_m and getjet_m. Note that because initialization is separte calsim_m can be called more than once to simulate pileup of several events.

◆ calsim_m()

void Herwig::AlpGenHandlerOL::calsim_m ( ) const
private

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

Simple calorimeter simulation - assume uniform Y and phi bins.

◆ clone()

virtual IBPtr Herwig::AlpGenHandlerOL::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::AlpGenHandlerOL::dofinish ( )
protectedvirtual

Finalize the object.

Reimplemented from Herwig::ShowerHandler.

◆ doinit()

virtual void Herwig::AlpGenHandlerOL::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::AlpGenHandlerOL::doinitrun ( )
protectedvirtual

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::QTildeShowerHandler.

◆ doSanityChecks()

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

◆ getjet_m()

void Herwig::AlpGenHandlerOL::getjet_m ( double  rjet,
Energy  ejcut,
double  etajcut 
) const
private

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

Simple jet-finding algorithm (similar to UA1). Find highest remaining cell > ETSTOP and sum surrounding cells with – DELTA(Y)**2+DELTA(PHI)**2 < RJET**2 , ET>ECCUT. Keep sets with ET>EJCUT and ABS(ETA)<ETACUT. The UA1 parameters are RJET=1.0 and EJCUT=5.0.

◆ Init()

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

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

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ showerHardProcessVeto()

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

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

MLM merging.

Reimplemented from Herwig::QTildeShowerHandler.

Member Data Documentation

◆ alphaS_

ShowerAlphaPtr Herwig::AlpGenHandlerOL::alphaS_
mutableprivate

Pointer to the object calculating the strong coupling.

Definition at line 327 of file AlpGenHandlerOL.h.

◆ alphaSME_

double Herwig::AlpGenHandlerOL::alphaSME_
mutableprivate

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

Definition at line 347 of file AlpGenHandlerOL.h.

◆ cphcal_

vector<double> Herwig::AlpGenHandlerOL::cphcal_
mutableprivate

Definition at line 494 of file AlpGenHandlerOL.h.

◆ cthcal_

vector<double> Herwig::AlpGenHandlerOL::cthcal_
mutableprivate

Definition at line 508 of file AlpGenHandlerOL.h.

◆ delphi_

double Herwig::AlpGenHandlerOL::delphi_
private

Definition at line 546 of file AlpGenHandlerOL.h.

◆ dely_

double Herwig::AlpGenHandlerOL::dely_
mutableprivate

Definition at line 546 of file AlpGenHandlerOL.h.

◆ drjmin_

double Herwig::AlpGenHandlerOL::drjmin_
mutableprivate

Definition at line 432 of file AlpGenHandlerOL.h.

◆ epsetclus_

Energy Herwig::AlpGenHandlerOL::epsetclus_
mutableprivate

Definition at line 388 of file AlpGenHandlerOL.h.

◆ et_

vector<vector<Energy> > Herwig::AlpGenHandlerOL::et_
mutableprivate

Definition at line 522 of file AlpGenHandlerOL.h.

◆ etaclmax_

double Herwig::AlpGenHandlerOL::etaclmax_
private

Definition at line 407 of file AlpGenHandlerOL.h.

◆ etclus_

Energy Herwig::AlpGenHandlerOL::etclus_
mutableprivate

Definition at line 378 of file AlpGenHandlerOL.h.

◆ etclusfixed_

bool Herwig::AlpGenHandlerOL::etclusfixed_
mutableprivate

Definition at line 456 of file AlpGenHandlerOL.h.

◆ etclusmean_

Energy Herwig::AlpGenHandlerOL::etclusmean_
mutableprivate

Definition at line 383 of file AlpGenHandlerOL.h.

◆ etjet_

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

Definition at line 545 of file AlpGenHandlerOL.h.

◆ highestMultiplicity_

bool Herwig::AlpGenHandlerOL::highestMultiplicity_
mutableprivate

Definition at line 438 of file AlpGenHandlerOL.h.

◆ highestNjets_

int Herwig::AlpGenHandlerOL::highestNjets_
mutableprivate

Definition at line 445 of file AlpGenHandlerOL.h.

◆ highestNLOMultiplicity_

bool Herwig::AlpGenHandlerOL::highestNLOMultiplicity_
mutableprivate

Definition at line 451 of file AlpGenHandlerOL.h.

◆ ihrd_

int Herwig::AlpGenHandlerOL::ihrd_
mutableprivate

Definition at line 422 of file AlpGenHandlerOL.h.

◆ ihvy_

int Herwig::AlpGenHandlerOL::ihvy_
mutableprivate

Definition at line 363 of file AlpGenHandlerOL.h.

◆ initAlpGenHandlerOL

ClassDescription<AlpGenHandlerOL> Herwig::AlpGenHandlerOL::initAlpGenHandlerOL
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 242 of file AlpGenHandlerOL.h.

◆ inputIsNLO_

bool Herwig::AlpGenHandlerOL::inputIsNLO_
mutableprivate

Definition at line 487 of file AlpGenHandlerOL.h.

◆ jetAlgorithm_

int Herwig::AlpGenHandlerOL::jetAlgorithm_
mutableprivate

Definition at line 471 of file AlpGenHandlerOL.h.

◆ jetIdx_

vector<vector<int> > Herwig::AlpGenHandlerOL::jetIdx_
mutableprivate

Definition at line 528 of file AlpGenHandlerOL.h.

◆ ncphi_

unsigned int Herwig::AlpGenHandlerOL::ncphi_
mutableprivate

Definition at line 358 of file AlpGenHandlerOL.h.

◆ ncy_

unsigned int Herwig::AlpGenHandlerOL::ncy_
mutableprivate

Definition at line 353 of file AlpGenHandlerOL.h.

◆ nh_

int Herwig::AlpGenHandlerOL::nh_
mutableprivate

Definition at line 373 of file AlpGenHandlerOL.h.

◆ njets_

int Herwig::AlpGenHandlerOL::njets_
mutableprivate

Definition at line 427 of file AlpGenHandlerOL.h.

◆ nph_

int Herwig::AlpGenHandlerOL::nph_
mutableprivate

Definition at line 368 of file AlpGenHandlerOL.h.

◆ particlesToCluster_

tPVector Herwig::AlpGenHandlerOL::particlesToCluster_
mutableprivate

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

Definition at line 316 of file AlpGenHandlerOL.h.

◆ partonsToMatch_

ParticleVector Herwig::AlpGenHandlerOL::partonsToMatch_
mutableprivate

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

Definition at line 303 of file AlpGenHandlerOL.h.

◆ pdfScale_

Energy Herwig::AlpGenHandlerOL::pdfScale_
mutableprivate

Information extracted from the XComb object.

The fixed factorization scale used in the MEs.

Definition at line 336 of file AlpGenHandlerOL.h.

◆ pjet_

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

Definition at line 533 of file AlpGenHandlerOL.h.

◆ preshowerFSPs_

ParticleVector Herwig::AlpGenHandlerOL::preshowerFSPs_
mutableprivate

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

from lastXCombPtr).

Definition at line 262 of file AlpGenHandlerOL.h.

◆ preshowerFSPsToDelete_

ParticleVector Herwig::AlpGenHandlerOL::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 270 of file AlpGenHandlerOL.h.

◆ preshowerISPs_

PPair Herwig::AlpGenHandlerOL::preshowerISPs_
mutableprivate

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

from lastXCombPtr).

Definition at line 256 of file AlpGenHandlerOL.h.

◆ rclus_

double Herwig::AlpGenHandlerOL::rclus_
mutableprivate

Definition at line 402 of file AlpGenHandlerOL.h.

◆ rclusfactor_

double Herwig::AlpGenHandlerOL::rclusfactor_
private

Definition at line 414 of file AlpGenHandlerOL.h.

◆ sHat_

Energy2 Herwig::AlpGenHandlerOL::sHat_
mutableprivate

Centre of mass energy.

Definition at line 341 of file AlpGenHandlerOL.h.

◆ showeredFSPs_

tPVector Herwig::AlpGenHandlerOL::showeredFSPs_
mutableprivate

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

Definition at line 288 of file AlpGenHandlerOL.h.

◆ showeredFSPsToDelete_

ParticleVector Herwig::AlpGenHandlerOL::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 297 of file AlpGenHandlerOL.h.

◆ showeredISHs_

PPair Herwig::AlpGenHandlerOL::showeredISHs_
mutableprivate

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

Definition at line 276 of file AlpGenHandlerOL.h.

◆ showeredISPs_

PPair Herwig::AlpGenHandlerOL::showeredISPs_
mutableprivate

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

Definition at line 282 of file AlpGenHandlerOL.h.

◆ showeredRems_

PPair Herwig::AlpGenHandlerOL::showeredRems_
mutableprivate

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

Definition at line 322 of file AlpGenHandlerOL.h.

◆ smoothingtype_

unsigned int Herwig::AlpGenHandlerOL::smoothingtype_
mutableprivate

Definition at line 393 of file AlpGenHandlerOL.h.

◆ sphcal_

vector<double> Herwig::AlpGenHandlerOL::sphcal_
mutableprivate

Definition at line 501 of file AlpGenHandlerOL.h.

◆ sthcal_

vector<double> Herwig::AlpGenHandlerOL::sthcal_
mutableprivate

Definition at line 515 of file AlpGenHandlerOL.h.

◆ theLastProgenitor

PPtr Herwig::AlpGenHandlerOL::theLastProgenitor
mutableprivate

Definition at line 310 of file AlpGenHandlerOL.h.

◆ theProgenitor

PPtr Herwig::AlpGenHandlerOL::theProgenitor
mutableprivate

Definition at line 309 of file AlpGenHandlerOL.h.

◆ tmpList_

ParticleVector Herwig::AlpGenHandlerOL::tmpList_
mutableprivate

Definition at line 539 of file AlpGenHandlerOL.h.

◆ vetoIsTurnedOff_

bool Herwig::AlpGenHandlerOL::vetoIsTurnedOff_
mutableprivate

Definition at line 476 of file AlpGenHandlerOL.h.

◆ vetoType_

int Herwig::AlpGenHandlerOL::vetoType_
mutableprivate

Definition at line 482 of file AlpGenHandlerOL.h.

◆ ycmax_

double Herwig::AlpGenHandlerOL::ycmax_
mutableprivate

Definition at line 461 of file AlpGenHandlerOL.h.

◆ ycmin_

double Herwig::AlpGenHandlerOL::ycmin_
mutableprivate

Definition at line 466 of file AlpGenHandlerOL.h.


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