StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
Pythia8::HIUserHooks Class Reference

#include <HIUserHooks.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 ImpactParameterGeneratorimpactParameterGenerator () const
 
virtual bool hasProjectileModel () const
 A suser-supplied NucleusModel for the projectile and target.
 
virtual NucleusModelprojectileModel () const
 
virtual bool hasTargetModel () const
 
virtual NucleusModeltargetModel () const
 
virtual bool hasSubCollisionModel ()
 
virtual 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
 
 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 ImpactParameterGeneratorimpactParameterGenerator () const
 
virtual bool hasProjectileModel () const
 A suser-supplied NucleusModel for the projectile and target.
 
virtual NucleusModelprojectileModel () const
 
virtual bool hasTargetModel () const
 
virtual NucleusModeltargetModel () const
 
virtual bool hasSubCollisionModel ()
 
virtual 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.

Definition at line 1034 of file HIUserHooks.h.

Member Function Documentation

bool Pythia8::HIUserHooks::canAddNucleonExcitation ( ) const
inline

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

Definition at line 1081 of file HIUserHooks.h.

Referenced by Pythia8::Angantyr::addNucleonExcitation().

bool Pythia8::HIUserHooks::canAddNucleonExcitation ( ) const
inline

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

Definition at line 1112 of file HIUserHooks.h.

virtual bool Pythia8::HIUserHooks::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.

Definition at line 1092 of file HIUserHooks.h.

Referenced by Pythia8::Angantyr::addNucleonExcitation().

virtual bool Pythia8::HIUserHooks::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.

Definition at line 1123 of file HIUserHooks.h.

virtual bool Pythia8::HIUserHooks::canFixIsoSpin ( ) const
inlinevirtual

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

Definition at line 1072 of file HIUserHooks.h.

virtual bool Pythia8::HIUserHooks::canFixIsoSpin ( ) const
inlinevirtual

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

Definition at line 1103 of file HIUserHooks.h.

virtual bool Pythia8::HIUserHooks::hasSubCollisionModel ( )
inlinevirtual

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

Definition at line 1063 of file HIUserHooks.h.

Referenced by Pythia8::Angantyr::init().

virtual bool Pythia8::HIUserHooks::hasSubCollisionModel ( )
inlinevirtual

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

Definition at line 1094 of file HIUserHooks.h.

Member Data Documentation

int Pythia8::HIUserHooks::idProjSave
protected

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

Definition at line 1103 of file HIUserHooks.h.


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