herwig is hosted by Hepforge, IPPP Durham
Herwig  7.1.4

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

#include <AlpGenHandler.h>

Inheritance diagram for Herwig::AlpGenHandler:

Public Member Functions

 AlpGenHandler ()
 The default constructor.
 
virtual bool showerHardProcessVeto () const
 Hook to allow vetoing of event after showering hard sub-process as in e.g. More...
 
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::QTildeShowerHandler
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 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.
 
 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.
 
ShowerModelPtr showerModel () const
 Access to the flags and shower variables. More...
 
tSplittingGeneratorPtr splittingGenerator () const
 Get the SplittingGenerator.
 
int hardEmission () const
 Mode for hard emissions.
 
unsigned int spinCorrelations () const
 Access to switches for spin correlations. More...
 
unsigned int softCorrelations () const
 Soft correlations.
 
bool correlations () const
 Any correlations.
 
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 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.
 
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())
 
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::QTildeShowerHandler
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 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

Standard Interfaced functions.
virtual void dofinish ()
 Finalize the object.
 
virtual void doinit ()
 Initialize this object after the setup phase before saving an EventGenerator to disk. More...
 
virtual void doinitrun ()
 Initialize this object. More...
 
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::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. 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 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...
 
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.
 
- 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.
 
- 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

bool lightJetPartonVeto ()
 
double partonJetDeltaR (ThePEG::tPPtr partonptr, LorentzMomentum jetmom) const
 
void calini_m () const
 c++ translation of subroutine of same name from alpsho.f. More...
 
void calsim_m () const
 c++ translation of subroutine of same name from alpsho.f. More...
 
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. More...
 
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. More...
 
void caldel_hvq () const
 c++ translation of subroutine of same name from alpsho.f. More...
 
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()->... More...
 
void doSanityChecks (int debugLevel) const
 Allows printing of debug output and sanity checks like total momentum consrvation to be carried out. More...
 
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
 
AlpGenHandleroperator= (const AlpGenHandler &)
 The assignment operator is private and must never be called. More...
 

Private Attributes

PPair preshowerISPs_
 Initial-state incoming partons prior to showering (i.e. More...
 
ParticleVector preshowerFSPs_
 Final-state outgoing partICLEs prior to showering (i.e. More...
 
ParticleVector preshowerFSPsToDelete_
 Final-state outgoing partICLEs prior to showering to_be_removed from preShowerFSPs_ prior to the light-parton-light-jet matching step. More...
 
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. More...
 
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.
 
unsigned int ncy_
 
unsigned int ncphi_
 
int ihvy_
 
int nph_
 
int nh_
 
Energy etclus_
 
Energy etclusmean_
 
Energy epsetclus_
 
double rclus_
 
double etaclmax_
 
double rclusfactor_
 
int ihrd_
 
int njets_
 
double drjmin_
 
bool highestMultiplicity_
 
bool highestNLOMultiplicity_
 
bool etclusfixed_
 
double ycmax_
 
double ycmin_
 
int jetAlgorithm_
 
bool vetoIsTurnedOff_
 
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_
 
Energy pdfScale_
 Information extracted from the XComb object. More...
 
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).
 

Static Private Attributes

static ClassDescription< AlpGenHandlerinitAlpGenHandler
 The static object used to initialize the description of this class. More...
 

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<>
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 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

Here is the documentation of the AlpGenHandler class.

See also
The interfaces defined for AlpGenHandler.

Definition at line 35 of file AlpGenHandler.h.

Member Function Documentation

◆ caldel_hvq()

void Herwig::AlpGenHandler::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::AlpGenHandler::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::AlpGenHandler::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::AlpGenHandler::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::AlpGenHandler::clone ( ) const
protectedvirtual

Make a simple clone of this object.

Returns
a pointer to the new object.

Reimplemented from Herwig::QTildeShowerHandler.

◆ doinit()

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

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::ShowerHandler.

◆ doSanityChecks()

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

◆ getShoweredParticles()

void Herwig::AlpGenHandler::getShoweredParticles ( ) const
private

Get the particles from eventHandler()->currentEvent()->...

filling the particle pairs showeredISHs_, showeredISPs_, showeredRems_ and the particle pointer vector showeredFSPs_.

◆ Init()

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

AlpGenHandler& Herwig::AlpGenHandler::operator= ( const AlpGenHandler )
private

The assignment operator is private and must never be called.

In fact, it should not even be implemented.

◆ persistentInput()

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

Function used to write out object persistently.

Parameters
osthe persistent output stream written to.

◆ showerHardProcessVeto()

virtual bool Herwig::AlpGenHandler::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

◆ initAlpGenHandler

ClassDescription<AlpGenHandler> Herwig::AlpGenHandler::initAlpGenHandler
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 AlpGenHandler.h.

◆ pdfScale_

Energy Herwig::AlpGenHandler::pdfScale_
private

Information extracted from the XComb object.

The fixed factorization scale used in the MEs.

Definition at line 336 of file AlpGenHandler.h.

◆ preshowerFSPs_

ParticleVector Herwig::AlpGenHandler::preshowerFSPs_
mutableprivate

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

from lastXCombPtr).

Definition at line 262 of file AlpGenHandler.h.

◆ preshowerFSPsToDelete_

ParticleVector Herwig::AlpGenHandler::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 AlpGenHandler.h.

◆ preshowerISPs_

PPair Herwig::AlpGenHandler::preshowerISPs_
mutableprivate

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

from lastXCombPtr).

Definition at line 256 of file AlpGenHandler.h.

◆ showeredFSPsToDelete_

ParticleVector Herwig::AlpGenHandler::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 AlpGenHandler.h.


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