herwig is hosted by Hepforge, IPPP Durham
Herwig++  2.7.0
Herwig::AlpGenHandler Class Reference

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

#include <AlpGenHandler.h>

Inheritance diagram for Herwig::AlpGenHandler:

List of all members.

Public Member Functions

 AlpGenHandler ()
 The default constructor.
virtual bool showerHardProcessVeto ()
 Hook to allow vetoing of event after showering hard sub-process as in e.g.
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 Public Member Functions

static void Init ()
 The standard Init function used to initialize the interfaces.

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.
virtual void doinitrun ()
 Initialize this object.
Clone Methods.
virtual IBPtr clone () const
 Make a simple clone of this object.
virtual IBPtr fullclone () const
 Make a clone of this object, possibly modifying the cloned object to make it sane.

Private Member Functions

bool lightJetPartonVeto ()
double partonJetDeltaR (ThePEG::tPPtr partonptr, LorentzMomentum jetmom)
void calini_m ()
 c++ translation of subroutine of same name from alpsho.f.
void calsim_m ()
 c++ translation of subroutine of same name from alpsho.f.
void getFastJets (double rjet, Energy ejcut, double etajcut)
 Find jets using the FastJet package on particlesToCluster_.
void getjet_m (double rjet, Energy ejcut, double etajcut)
 c++ translation of subroutine of same name from alpsho.f.
void caldel_m ()
 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 ()
 c++ translation of subroutine of same name from alpsho.f.
void getPreshowerParticles ()
 Get the particles from lastXCombPtr filling the pair preshowerISPs_ and particle pointer vector preshowerFSPs_.
void getShoweredParticles ()
 Get the particles from eventHandler()->currentEvent()->...
void doSanityChecks (int debugLevel)
 Allows printing of debug output and sanity checks like total momentum consrvation to be carried out.
void getDescendents (PPtr theParticle)
 Given a pointer to a particle this finds all its final state descendents.
void getTopRadiation (PPtr theParticle)
 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)
AlpGenHandleroperator= (const AlpGenHandler &)
 The assignment operator is private and must never be called.

Private Attributes

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.
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.
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
< AlpGenHandler
initAlpGenHandler
 The static object used to initialize the description of this class.

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

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.

void Herwig::AlpGenHandler::caldel_m ( ) [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.

void Herwig::AlpGenHandler::calini_m ( ) [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.

void Herwig::AlpGenHandler::calsim_m ( ) [private]

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

Simple calorimeter simulation - assume uniform Y and phi bins.

virtual IBPtr Herwig::AlpGenHandler::clone ( ) const [protected, virtual]

Make a simple clone of this object.

Returns:
a pointer to the new object.

Reimplemented from Herwig::ShowerHandler.

virtual void Herwig::AlpGenHandler::doinit ( ) [protected, virtual]

Initialize this object after the setup phase before saving an EventGenerator to disk.

Exceptions:
InitExceptionif object could not be initialized properly.

Reimplemented from Herwig::ShowerHandler.

virtual void Herwig::AlpGenHandler::doinitrun ( ) [protected, virtual]

Initialize this object.

Called in the run phase just before a run begins.

Reimplemented from Herwig::ShowerHandler.

void Herwig::AlpGenHandler::doSanityChecks ( int  debugLevel) [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.

virtual IBPtr Herwig::AlpGenHandler::fullclone ( ) const [protected, virtual]

Make a clone of this object, possibly modifying the cloned object to make it sane.

Returns:
a pointer to the new object.

Reimplemented from Herwig::ShowerHandler.

void Herwig::AlpGenHandler::getjet_m ( double  rjet,
Energy  ejcut,
double  etajcut 
) [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.

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

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

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.

Reimplemented from Herwig::ShowerHandler.

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.

Function used to read in object persistently.

Parameters:
isthe persistent input stream read from.
versionthe version number of the object when written.

Reimplemented from Herwig::ShowerHandler.

Function used to write out object persistently.

Parameters:
osthe persistent output stream written to.

Reimplemented from Herwig::ShowerHandler.

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

MLM merging.

Reimplemented from Herwig::ShowerHandler.


Member Data Documentation

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.

Information extracted from the XComb object.

The fixed factorization scale used in the MEs.

Definition at line 336 of file AlpGenHandler.h.

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

from lastXCombPtr).

Definition at line 262 of file AlpGenHandler.h.

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.

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

from lastXCombPtr).

Definition at line 256 of file AlpGenHandler.h.

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: