PYTHIA  8.312
Public Member Functions | Protected Attributes | List of all members
HIUserHooks Class Reference

#include <HIInfo.h>

Public Member Functions

 HIUserHooks ()
 The default constructor is empty.
 
virtual ~HIUserHooks ()
 Virtual destructor.
 
virtual void init (int idProjIn, int idTargIn)
 Initialize this user hook.
 
virtual bool hasImpactParameterGenerator () const
 A user-supplied impact parameter generator.
 
virtual shared_ptr< ImpactParameterGeneratorimpactParameterGenerator () const
 
virtual bool hasProjectileModel () const
 A user-supplied NucleusModel for the projectile and target.
 
virtual shared_ptr< NucleusModelprojectileModel () const
 
virtual bool hasTargetModel () const
 
virtual shared_ptr< NucleusModeltargetModel () const
 
virtual bool hasSubCollisionModel ()
 
virtual shared_ptr< SubCollisionModelsubCollisionModel ()
 
virtual bool hasEventOrdering () const
 A user-supplied ordering of events in (inverse) hardness.
 
virtual double eventOrdering (const Event &, const Info &)
 
virtual bool canFixIsoSpin () const
 
virtual bool fixIsoSpin (EventInfo &)
 
virtual bool canShiftEvent () const
 A user-supplied method for shifting the event in impact parameter space.
 
virtual EventInfoshiftEvent (EventInfo &ei) const
 
bool canAddNucleonExcitation () const
 
bool addNucleonExcitation (EventInfo &, EventInfo &, bool) const
 
virtual bool canForceHadronLevel () const
 A user supplied wrapper around the Pythia::forceHadronLevel()
 
virtual bool forceHadronLevel (Pythia &)
 
virtual bool canFindRecoilers () const
 
virtual vector< int > findRecoilers (const Event &, bool, int, int, const Vec4 &, const Vec4 &) const
 

Protected Attributes

int idProjSave
 
int idTargSave
 

Detailed Description

This is the heavy ion user hooks class which in the future may be used inside a Pythia object to generate heavy ion collisons. For now it is used outside Pythia and requires access to a number of Pythia objects.

Member Function Documentation

bool canAddNucleonExcitation ( ) const
inline

A user-supplied method of adding a diffractive excitation event to another event, optionally connecting their colours.

virtual bool canFindRecoilers ( ) const
inlinevirtual

A user-supplied way of finding the remnants of an non-diffrcative pp collision (on the target side if tside is true) to be used to give momentum when adding.

virtual bool canFixIsoSpin ( ) const
inlinevirtual

A user-supplied method for fixing up proton-neutron mismatch in generated beams.

virtual bool hasSubCollisionModel ( )
inlinevirtual

A user-supplied SubCollisionModel for generating nucleon-nucleon subcollisions.

Member Data Documentation

int idProjSave
protected

Information set in the init() function. The PDG id of the projectile and target nuclei.


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