Logo ROOT   6.18/05
Reference Guide
List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
TPythia6 Class Reference

TPythia is an interface class to F77 version of Pythia 6.2

To use this class you must install a version of pythia6.
See the installation instructions at
http://root.cern.ch/root/Install.html

CERNLIB event generators, written by T.Sjostrand.
For the details about these generators look at Pythia/Jetset manual:

******************************************************************************
**                                                                          **
**                                                                          **
**  PPP  Y   Y TTTTT H   H III   A        JJJJ EEEE TTTTT  SSS  EEEE TTTTT  **
**  P  P  Y Y    T   H   H  I   A A          J E      T   S     E      T    **
**  PPP    Y     T   HHHHH  I  AAAAA         J EEE    T    SSS  EEE    T    **
**  P      Y     T   H   H  I  A   A      J  J E      T       S E      T    **
**  P      Y     T   H   H III A   A       JJ  EEEE   T    SSS  EEEE   T    **
**                                                                          **
**                                                                          **
**              *......*                  Welcome to the Lund Monte Carlo!  **
**         *:::!!:::::::::::*                                               **
**      *::::::!!::::::::::::::*            This is PYTHIA version 5.720    **
**    *::::::::!!::::::::::::::::*        Last date of change: 29 Nov 1995  **
**   *:::::::::!!:::::::::::::::::*                                         **
**   *:::::::::!!:::::::::::::::::*         This is JETSET version 7.408    **
**    *::::::::!!::::::::::::::::*!       Last date of change: 23 Aug 1995  **
**      *::::::!!::::::::::::::* !!                                         **
**      !! *:::!!:::::::::::*    !!                 Main author:            **
**      !!     !* -><- *         !!              Torbjorn Sjostrand         **
**      !!     !!                !!        Dept. of theoretical physics 2   **
**      !!     !!                !!              University of Lund         **
**      !!                       !!                Solvegatan 14A           **
**      !!        ep             !!             S-223 62 Lund, Sweden       **
**      !!                       !!          phone: +46 - 46 - 222 48 16    **
**      !!                 pp    !!          E-mail: torbjorn@thep.lu.se    **
**      !!   e+e-                !!                                         **
**      !!                       !!         Copyright Torbjorn Sjostrand    **
**      !!                                     and CERN, Geneva 1993        **
**                                                                          **
**                                                                          **
** The latest program versions and documentation is found on WWW address    **
** http://thep.lu.se/tf2/staff/torbjorn/Welcome.html                        **
**                                                                          **
** When you cite these programs, priority should always be given to the     **
** latest published description. Currently this is                          **
** T. Sjostrand, Computer Physics Commun. 82 (1994) 74.                     **
** The most recent long description (unpublished) is                        **
** T. Sjostrand, LU TP 95-20 and CERN-TH.7112/93 (revised August 1995).     **
** Also remember that the programs, to a large extent, represent original   **
** physics research. Other publications of special relevance to your        **
** studies may therefore deserve separate mention.                          **
**                                                                          **
**                                                                          **
******************************************************************************

Definition at line 84 of file TPythia6.h.

Classes

class  TPythia6Cleaner
 Utility class to manage the TPythia6 instance. More...
 

Public Member Functions

 TPythia6 ()
 TPythia6 constructor: creates a TClonesArray in which it will store all particles. More...
 
virtual ~TPythia6 ()
 Destroys the object, deletes and disposes all TMCParticles currently on list. More...
 
void CloseFortranFile (int lun)
 interface with fortran i/o More...
 
void GenerateEvent ()
 generate event and copy the information from /HEPEVT/ to fPrimaries More...
 
double GetBRAT (int i)
 
double GetCKIN (int i)
 
int GetIMSS (int i)
 
int GetK (int ip, int i)
 
int GetKCHG (int ip, int i)
 
int GetKFDP (int i, int j)
 
Int_t GetKFIN (int i, int j)
 
int GetMDCY (int i, int j)
 
int GetMDME (int i, int j)
 
int GetMINT (int i)
 
int GetMRPY (int i)
 
int GetMSEL ()
 
int GetMSELPD ()
 
int GetMSTI (int i)
 
int GetMSTJ (int i)
 
int GetMSTP (int i)
 
int GetMSTU (int i)
 
int GetMSUB (int i)
 
int GetMWID (int i)
 
int GetN ()
 
int GetNGENPD ()
 
int GetNPAD ()
 
double GetP (int ip, int i)
 
double GetPARF (int i)
 
double GetPARI (int i)
 
double GetPARJ (int i)
 
double GetPARP (int i)
 
double GetPARU (int i)
 
double GetPMAS (int ip, int i)
 
char * GetPROC (int i)
 
Pybins_tGetPybins ()
 
Pydat1_tGetPydat1 ()
 
Pydat2_tGetPydat2 ()
 
Pydat3_tGetPydat3 ()
 
Pydat4_tGetPydat4 ()
 
Pydatr_tGetPydatr ()
 
Pyint1_tGetPyint1 ()
 
Pyint2_tGetPyint2 ()
 
Pyint3_tGetPyint3 ()
 
Pyint4_tGetPyint4 ()
 
Pyint5_tGetPyint5 ()
 
Pyint6_tGetPyint6 ()
 
Pyint7_tGetPyint7 ()
 
Pyint8_tGetPyint8 ()
 
Pyint9_tGetPyint9 ()
 
Pyints_tGetPyints ()
 
Pyjets_tGetPyjets ()
 
Pymssm_tGetPymssm ()
 
Pypars_tGetPypars ()
 
Pyssmt_tGetPyssmt ()
 
Pysubs_tGetPysubs ()
 
double GetRMSS (int i)
 
double GetRRPY (int i)
 
double GetSMW (int i)
 
double GetSMZ (int i)
 
double GetUMIX (int i, int j)
 
double GetV (int ip, int i)
 
double GetVCKM (int i, int j)
 
double GetVINT (int i)
 
double GetVMIX (int i, int j)
 
double GetWIDS (int i, int j)
 
double GetZMIX (int i, int j)
 
TObjArrayImportParticles (Option_t *option="")
 Fills TObjArray fParticles list with particles from common LUJETS Old contents of a list are cleared. More...
 
Int_t ImportParticles (TClonesArray *particles, Option_t *option="")
 Default primary creation method. More...
 
void Initialize (const char *frame, const char *beam, const char *target, float win)
 Calls PyInit with the same parameters after performing some checking, sets correct title. More...
 
void OpenFortranFile (int lun, char *name)
 interface with fortran i/o More...
 
void Py1ent (Int_t line, Int_t kf, Double_t pe, Double_t theta, Double_t phi)
 Add one entry to the event record, i.e. More...
 
int Pychge (int kf)
 
int Pycomp (int kf)
 
void Pydiff ()
 
void Pyedit (int medit)
 
void Pyevnt ()
 
void Pyexec ()
 
void Pygive (const char *param)
 
void Pyhepc (int mconv)
 
void Pyinit (char *frame, char *beam, char *target, double wint)
 
void Pylist (int flag)
 
double Pymass (int kf)
 
void Pyname (int kf, char *name)
 
double Pyr (int idummy)
 
void Pyrget (int lun, int move)
 
void Pyrset (int lun, int move)
 
void Pystat (int flag)
 
void Pytest (int flag)
 
void Pytune (int itune)
 
void Pyupda (int mupda, int lun)
 
void SetBRAT (int i, double b)
 
void SetCKIN (int i, double c)
 
void SetIMSS (int i, int m)
 
void SetK (int ip, int i, int k)
 
void SetKCHG (int ip, int i, int k)
 
void SetKFDP (int i, int j, int k)
 
void SetKFIN (int i, int j, Int_t kfin=1)
 
void SetMDCY (int i, int j, int m)
 
void SetMDME (int i, int j, int m)
 
void SetMINT (int i, int m)
 
void SetMRPY (int i, int m)
 
void SetMSEL (int m)
 
void SetMSELPD (int m)
 
void SetMSTI (int i, int m)
 
void SetMSTJ (int i, int m)
 
void SetMSTP (int i, int m)
 
void SetMSTU (int i, int m)
 
void SetMSUB (int i, int m)
 
void SetMWID (int i, int m)
 
void SetN (int n)
 
void SetNGENPD (int n)
 
void SetNPAD (int n)
 
void SetP (int ip, int i, double p)
 
void SetPARF (int i, double p)
 
void SetPARI (int i, double p)
 
void SetPARJ (int i, double p)
 
void SetPARP (int i, double p)
 
void SetPARU (int i, double p)
 
void SetPMAS (int ip, int i, double m)
 
void SetRMSS (int i, double r)
 
void SetRRPY (int i, double r)
 
void SetSMW (int i, double s)
 
void SetSMZ (int i, double s)
 
void SetUMIX (int i, int j, double u)
 
void SetupTest ()
 Exemplary setup of Pythia parameters: Switches on processes 102,123,124 (Higgs generation) and switches off interactions, fragmentation, ISR, FSR... More...
 
void SetV (int ip, int i, double v)
 
void SetVCKM (int i, int j, double v)
 
void SetVINT (int i, double v)
 
void SetWIDS (int i, int j, double w)
 
void SetZMIX (int i, int j, double z)
 
- Public Member Functions inherited from TGenerator
 TGenerator ()
 
 TGenerator (const char *name, const char *title="Generator class")
 Event generator default constructor. More...
 
virtual ~TGenerator ()
 Event generator default destructor. More...
 
virtual void Browse (TBrowser *b)
 browse generator More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Compute distance from point px,py to objects in event. More...
 
virtual void Draw (Option_t *option="")
 Insert one event in the pad list. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to one event. More...
 
virtual void GenerateEvent ()
 must be implemented in concrete class (see eg TPythia6) More...
 
virtual TObjArrayGetListOfParticles () const
 
Int_t GetNumberOfParticles () const
 Return the number of particles in the stack. More...
 
virtual Double_t GetParameter (const char *) const
 
virtual TParticleGetParticle (Int_t i) const
 Returns pointer to primary number i;. More...
 
virtual TObjArrayGetPrimaries (Option_t *option="")
 
Float_t GetPtCut () const
 
virtual TObjArrayImportParticles (Option_t *option="")
 It reads the /HEPEVT/ common block which has been filled by the GenerateEvent method. More...
 
virtual Int_t ImportParticles (TClonesArray *particles, Option_t *option="")
 It reads the /HEPEVT/ common block which has been filled by the GenerateEvent method. More...
 
virtual void Paint (Option_t *option="")
 Paint one event. More...
 
virtual void SetParameter (const char *, Double_t)
 
virtual void SetPtCut (Float_t ptcut=0)
 Set Pt threshold below which primaries are not drawn. More...
 
virtual void SetViewRadius (Float_t rbox=1000)
 Set lower and upper values of the view range. More...
 
virtual void SetViewRange (Float_t xmin=-10000, Float_t ymin=-10000, Float_t zmin=-10000, Float_t xmax=10000, Float_t ymax=10000, Float_t zmax=10000)
 Set lower and upper values of the view range. More...
 
virtual void ShowNeutrons (Bool_t show=1)
 Set flag to display or not neutrons. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 TNamed copy ctor. More...
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 TNamed destructor. More...
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual void SetName (const char *name)
 Set the name of the TNamed. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Set all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Set the title of the TNamed. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 TObject constructor. More...
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
ULong_t CheckedHash ()
 Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Clear (Option_t *="")
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare abstract method. More...
 
virtual void Copy (TObject &object) const
 Copy this to obj. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current selected pad for instance with: gROOT->SetSelectedPad(gPad). More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
Bool_t HasInconsistentHash () const
 Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. More...
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
void InvertBit (UInt_t f)
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 The ls function lists the contents of a class on stdout. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual void Print (Option_t *option="") const
 This method must be overridden when a class wants to print itself. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 

Static Public Member Functions

static TPythia6Instance ()
 model of automatic memory cleanup suggested by Jim Kowalkovski: destructor for local static variable ‘cleaner’ is always called in the end of the job thus deleting the only TPythia6 instance More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 

Protected Member Functions

 TPythia6 (const TPythia6 &)
 
TPythia6operator= (const TPythia6 &)
 
- Protected Member Functions inherited from TGenerator
 TGenerator (const TGenerator &tg)
 
TGeneratoroperator= (const TGenerator &tg)
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
void MakeZombie ()
 

Protected Attributes

Pybins_tfPybins
 
Pydat1_tfPydat1
 
Pydat2_tfPydat2
 
Pydat3_tfPydat3
 
Pydat4_tfPydat4
 
Pydatr_tfPydatr
 
Pyint1_tfPyint1
 
Pyint2_tfPyint2
 
Pyint3_tfPyint3
 
Pyint4_tfPyint4
 
Pyint5_tfPyint5
 
Pyint6_tfPyint6
 
Pyint7_tfPyint7
 
Pyint8_tfPyint8
 
Pyint9_tfPyint9
 
Pyints_tfPyints
 
Pyjets_tfPyjets
 
Pymssm_tfPymssm
 
Pypars_tfPypars
 
Pyssmt_tfPyssmt
 
Pysubs_tfPysubs
 
- Protected Attributes inherited from TGenerator
TObjArrayfParticles
 display neutrons if true More...
 
Float_t fPtCut
 
Bool_t fShowNeutrons
 Pt cut. Do not show primaries below. More...
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

Static Protected Attributes

static TPythia6fgInstance = 0
 

Friends

class TPythia6Cleaner
 

Additional Inherited Members

- Public Types inherited from TObject
enum  {
  kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 ,
  kBitMask = 0x00ffffff
}
 
enum  { kSingleKey = BIT(0) , kOverwrite = BIT(1) , kWriteDelete = BIT(2) }
 
enum  EDeprecatedStatusBits { kObjInCanvas = BIT(3) }
 
enum  EStatusBits {
  kCanDelete = BIT(0) , kMustCleanup = BIT(3) , kIsReferenced = BIT(4) , kHasUUID = BIT(5) ,
  kCannotPick = BIT(6) , kNoContextMenu = BIT(8) , kInvalidObject = BIT(13)
}
 

#include <TPythia6.h>

Inheritance diagram for TPythia6:
[legend]

Constructor & Destructor Documentation

◆ TPythia6() [1/2]

TPythia6::TPythia6 ( const TPythia6 p6)
protected

Definition at line 243 of file TPythia6.cxx.

◆ TPythia6() [2/2]

TPythia6::TPythia6 ( )

TPythia6 constructor: creates a TClonesArray in which it will store all particles.

Note that there may be only one functional TPythia6 object at a time, so it's not use to create more than one instance of it.

Definition at line 204 of file TPythia6.cxx.

◆ ~TPythia6()

TPythia6::~TPythia6 ( )
virtual

Destroys the object, deletes and disposes all TMCParticles currently on list.

Definition at line 271 of file TPythia6.cxx.

Member Function Documentation

◆ CloseFortranFile()

void TPythia6::CloseFortranFile ( int  lun)

interface with fortran i/o

Definition at line 312 of file TPythia6.cxx.

◆ GenerateEvent()

void TPythia6::GenerateEvent ( )
virtual

generate event and copy the information from /HEPEVT/ to fPrimaries

Reimplemented from TGenerator.

Definition at line 297 of file TPythia6.cxx.

◆ GetBRAT()

double TPythia6::GetBRAT ( int  i)
inline

Definition at line 180 of file TPythia6.h.

◆ GetCKIN()

double TPythia6::GetCKIN ( int  i)
inline

Definition at line 207 of file TPythia6.h.

◆ GetIMSS()

int TPythia6::GetIMSS ( int  i)
inline

Definition at line 271 of file TPythia6.h.

◆ GetK()

int TPythia6::GetK ( int  ip,
int  i 
)
inline

Definition at line 139 of file TPythia6.h.

◆ GetKCHG()

int TPythia6::GetKCHG ( int  ip,
int  i 
)
inline

Definition at line 165 of file TPythia6.h.

◆ GetKFDP()

int TPythia6::GetKFDP ( int  i,
int  j 
)
inline

Definition at line 181 of file TPythia6.h.

◆ GetKFIN()

Int_t TPythia6::GetKFIN ( int  i,
int  j 
)
inline

Definition at line 208 of file TPythia6.h.

◆ GetMDCY()

int TPythia6::GetMDCY ( int  i,
int  j 
)
inline

Definition at line 178 of file TPythia6.h.

◆ GetMDME()

int TPythia6::GetMDME ( int  i,
int  j 
)
inline

Definition at line 179 of file TPythia6.h.

◆ GetMINT()

int TPythia6::GetMINT ( int  i)
inline

Definition at line 232 of file TPythia6.h.

◆ GetMRPY()

int TPythia6::GetMRPY ( int  i)
inline

Definition at line 195 of file TPythia6.h.

◆ GetMSEL()

int TPythia6::GetMSEL ( )
inline

Definition at line 204 of file TPythia6.h.

◆ GetMSELPD()

int TPythia6::GetMSELPD ( )
inline

Definition at line 205 of file TPythia6.h.

◆ GetMSTI()

int TPythia6::GetMSTI ( int  i)
inline

Definition at line 221 of file TPythia6.h.

◆ GetMSTJ()

int TPythia6::GetMSTJ ( int  i)
inline

Definition at line 154 of file TPythia6.h.

◆ GetMSTP()

int TPythia6::GetMSTP ( int  i)
inline

Definition at line 219 of file TPythia6.h.

◆ GetMSTU()

int TPythia6::GetMSTU ( int  i)
inline

Definition at line 152 of file TPythia6.h.

◆ GetMSUB()

int TPythia6::GetMSUB ( int  i)
inline

Definition at line 206 of file TPythia6.h.

◆ GetMWID()

int TPythia6::GetMWID ( int  i)
inline

Definition at line 246 of file TPythia6.h.

◆ GetN()

int TPythia6::GetN ( )
inline

Definition at line 137 of file TPythia6.h.

◆ GetNGENPD()

int TPythia6::GetNGENPD ( )
inline

Definition at line 255 of file TPythia6.h.

◆ GetNPAD()

int TPythia6::GetNPAD ( )
inline

Definition at line 138 of file TPythia6.h.

◆ GetP()

double TPythia6::GetP ( int  ip,
int  i 
)
inline

Definition at line 140 of file TPythia6.h.

◆ GetPARF()

double TPythia6::GetPARF ( int  i)
inline

Definition at line 167 of file TPythia6.h.

◆ GetPARI()

double TPythia6::GetPARI ( int  i)
inline

Definition at line 222 of file TPythia6.h.

◆ GetPARJ()

double TPythia6::GetPARJ ( int  i)
inline

Definition at line 155 of file TPythia6.h.

◆ GetPARP()

double TPythia6::GetPARP ( int  i)
inline

Definition at line 220 of file TPythia6.h.

◆ GetPARU()

double TPythia6::GetPARU ( int  i)
inline

Definition at line 153 of file TPythia6.h.

◆ GetPMAS()

double TPythia6::GetPMAS ( int  ip,
int  i 
)
inline

Definition at line 166 of file TPythia6.h.

◆ GetPROC()

char * TPythia6::GetPROC ( int  i)
inline

Definition at line 261 of file TPythia6.h.

◆ GetPybins()

Pybins_t * TPythia6::GetPybins ( )
inline

Definition at line 292 of file TPythia6.h.

◆ GetPydat1()

Pydat1_t * TPythia6::GetPydat1 ( )
inline

Definition at line 151 of file TPythia6.h.

◆ GetPydat2()

Pydat2_t * TPythia6::GetPydat2 ( )
inline

Definition at line 164 of file TPythia6.h.

◆ GetPydat3()

Pydat3_t * TPythia6::GetPydat3 ( )
inline

Definition at line 177 of file TPythia6.h.

◆ GetPydat4()

Pydat4_t * TPythia6::GetPydat4 ( )
inline

Definition at line 190 of file TPythia6.h.

◆ GetPydatr()

Pydatr_t * TPythia6::GetPydatr ( )
inline

Definition at line 194 of file TPythia6.h.

◆ GetPyint1()

Pyint1_t * TPythia6::GetPyint1 ( )
inline

Definition at line 231 of file TPythia6.h.

◆ GetPyint2()

Pyint2_t * TPythia6::GetPyint2 ( )
inline

Definition at line 240 of file TPythia6.h.

◆ GetPyint3()

Pyint3_t * TPythia6::GetPyint3 ( )
inline

Definition at line 241 of file TPythia6.h.

◆ GetPyint4()

Pyint4_t * TPythia6::GetPyint4 ( )
inline

Definition at line 245 of file TPythia6.h.

◆ GetPyint5()

Pyint5_t * TPythia6::GetPyint5 ( )
inline

Definition at line 254 of file TPythia6.h.

◆ GetPyint6()

Pyint6_t * TPythia6::GetPyint6 ( )
inline

Definition at line 260 of file TPythia6.h.

◆ GetPyint7()

Pyint7_t * TPythia6::GetPyint7 ( )
inline

Definition at line 263 of file TPythia6.h.

◆ GetPyint8()

Pyint8_t * TPythia6::GetPyint8 ( )
inline

Definition at line 264 of file TPythia6.h.

◆ GetPyint9()

Pyint9_t * TPythia6::GetPyint9 ( )
inline

Definition at line 265 of file TPythia6.h.

◆ GetPyints()

Pyints_t * TPythia6::GetPyints ( )
inline

Definition at line 291 of file TPythia6.h.

◆ GetPyjets()

Pyjets_t * TPythia6::GetPyjets ( )
inline

Definition at line 136 of file TPythia6.h.

◆ GetPymssm()

Pymssm_t * TPythia6::GetPymssm ( )
inline

Definition at line 270 of file TPythia6.h.

◆ GetPypars()

Pypars_t * TPythia6::GetPypars ( )
inline

Definition at line 218 of file TPythia6.h.

◆ GetPyssmt()

Pyssmt_t * TPythia6::GetPyssmt ( )
inline

Definition at line 279 of file TPythia6.h.

◆ GetPysubs()

Pysubs_t * TPythia6::GetPysubs ( )
inline

Definition at line 203 of file TPythia6.h.

◆ GetRMSS()

double TPythia6::GetRMSS ( int  i)
inline

Definition at line 272 of file TPythia6.h.

◆ GetRRPY()

double TPythia6::GetRRPY ( int  i)
inline

Definition at line 196 of file TPythia6.h.

◆ GetSMW()

double TPythia6::GetSMW ( int  i)
inline

Definition at line 284 of file TPythia6.h.

◆ GetSMZ()

double TPythia6::GetSMZ ( int  i)
inline

Definition at line 283 of file TPythia6.h.

◆ GetUMIX()

double TPythia6::GetUMIX ( int  i,
int  j 
)
inline

Definition at line 281 of file TPythia6.h.

◆ GetV()

double TPythia6::GetV ( int  ip,
int  i 
)
inline

Definition at line 141 of file TPythia6.h.

◆ GetVCKM()

double TPythia6::GetVCKM ( int  i,
int  j 
)
inline

Definition at line 168 of file TPythia6.h.

◆ GetVINT()

double TPythia6::GetVINT ( int  i)
inline

Definition at line 233 of file TPythia6.h.

◆ GetVMIX()

double TPythia6::GetVMIX ( int  i,
int  j 
)
inline

Definition at line 282 of file TPythia6.h.

◆ GetWIDS()

double TPythia6::GetWIDS ( int  i,
int  j 
)
inline

Definition at line 247 of file TPythia6.h.

◆ GetZMIX()

double TPythia6::GetZMIX ( int  i,
int  j 
)
inline

Definition at line 280 of file TPythia6.h.

◆ ImportParticles() [1/2]

TObjArray * TPythia6::ImportParticles ( Option_t option = "")
virtual

Fills TObjArray fParticles list with particles from common LUJETS Old contents of a list are cleared.

This function should be called after any change in common LUJETS, however GetParticles() method calls it automatically - user don't need to care about it. In case you make a call to LuExec() you must call this method yourself to transfer new data from common LUJETS to the fParticles list.

Reimplemented from TGenerator.

Definition at line 325 of file TPythia6.cxx.

◆ ImportParticles() [2/2]

Int_t TPythia6::ImportParticles ( TClonesArray particles,
Option_t option = "" 
)
virtual

Default primary creation method.

It reads the /HEPEVT/ common block which has been filled by the GenerateEvent method. If the event generator does not use the HEPEVT common block, This routine has to be overloaded by the subclasses. The function loops on the generated particles and store them in the TClonesArray pointed by the argument particles. The default action is to store only the stable particles (ISTHEP = 1) This can be demanded explicitly by setting the option = "Final" If the option = "All", all the particles are stored.

Reimplemented from TGenerator.

Definition at line 362 of file TPythia6.cxx.

◆ Initialize()

void TPythia6::Initialize ( const char *  frame,
const char *  beam,
const char *  target,
float  win 
)

Calls PyInit with the same parameters after performing some checking, sets correct title.

This method should preferably be called instead of PyInit. PURPOSE: to initialize the generation procedure. ARGUMENTS: See documentation for details.

  • frame: - specifies the frame of the experiment: "CMS","FIXT","USER","FOUR","FIVE","NONE"
  • beam,
  • target: - beam and target particles (with additionaly charges, tildes or "bar": e,nu_e,mu,nu_mu,tau,nu_tau,gamma,pi,n,p,Lambda,Sigma,Xi,Omega, pomeron,reggeon
  • win: - related to energy system:
    • for frame=="CMS" - total energy of system
    • for frame=="FIXT" - momentum of beam particle
    • for frame=="USER" - dummy - see documentation.

Definition at line 436 of file TPythia6.cxx.

◆ Instance()

TPythia6 * TPythia6::Instance ( )
static

model of automatic memory cleanup suggested by Jim Kowalkovski: destructor for local static variable ‘cleaner’ is always called in the end of the job thus deleting the only TPythia6 instance

Definition at line 285 of file TPythia6.cxx.

◆ OpenFortranFile()

void TPythia6::OpenFortranFile ( int  lun,
char *  name 
)

interface with fortran i/o

Definition at line 305 of file TPythia6.cxx.

◆ operator=()

TPythia6 & TPythia6::operator= ( const TPythia6 )
protected

◆ Py1ent()

void TPythia6::Py1ent ( Int_t  ip,
Int_t  kf,
Double_t  pe,
Double_t  theta,
Double_t  phi 
)

Add one entry to the event record, i.e.

either a parton or a particle.

  • IP: normally line number for the parton/particle. There are two exceptions:
    • If IP = 0: line number 1 is used and PYEXEC is called.
    • If IP < 0: line -IP is used, with status code K(-IP,2)=2 rather than 1; thus a parton system may be built up by filling all but the last parton of the system with IP < 0.

KF: parton/particle flavour code (PDG code)

  • PE: parton/particle energy. If PE is smaller than the mass, the parton/particle is taken to be at rest.
  • THETA:
  • PHI: polar and azimuthal angle for the momentum vector of the parton/particle.

Definition at line 662 of file TPythia6.cxx.

◆ Pychge()

int TPythia6::Pychge ( int  kf)

Definition at line 639 of file TPythia6.cxx.

◆ Pycomp()

int TPythia6::Pycomp ( int  kf)

Definition at line 545 of file TPythia6.cxx.

◆ Pydiff()

void TPythia6::Pydiff ( )

Definition at line 556 of file TPythia6.cxx.

◆ Pyedit()

void TPythia6::Pyedit ( int  medit)

Definition at line 550 of file TPythia6.cxx.

◆ Pyevnt()

void TPythia6::Pyevnt ( )

Definition at line 561 of file TPythia6.cxx.

◆ Pyexec()

void TPythia6::Pyexec ( )

Definition at line 566 of file TPythia6.cxx.

◆ Pygive()

void TPythia6::Pygive ( const char *  param)

Definition at line 571 of file TPythia6.cxx.

◆ Pyhepc()

void TPythia6::Pyhepc ( int  mconv)

Definition at line 577 of file TPythia6.cxx.

◆ Pyinit()

void TPythia6::Pyinit ( char *  frame,
char *  beam,
char *  target,
double  wint 
)

Definition at line 515 of file TPythia6.cxx.

◆ Pylist()

void TPythia6::Pylist ( int  flag)

Definition at line 582 of file TPythia6.cxx.

◆ Pymass()

double TPythia6::Pymass ( int  kf)

Definition at line 634 of file TPythia6.cxx.

◆ Pyname()

void TPythia6::Pyname ( int  kf,
char *  name 
)

Definition at line 587 of file TPythia6.cxx.

◆ Pyr()

double TPythia6::Pyr ( int  idummy)

Definition at line 599 of file TPythia6.cxx.

◆ Pyrget()

void TPythia6::Pyrget ( int  lun,
int  move 
)

Definition at line 604 of file TPythia6.cxx.

◆ Pyrset()

void TPythia6::Pyrset ( int  lun,
int  move 
)

Definition at line 609 of file TPythia6.cxx.

◆ Pystat()

void TPythia6::Pystat ( int  flag)

Definition at line 614 of file TPythia6.cxx.

◆ Pytest()

void TPythia6::Pytest ( int  flag)

Definition at line 619 of file TPythia6.cxx.

◆ Pytune()

void TPythia6::Pytune ( int  itune)

Definition at line 624 of file TPythia6.cxx.

◆ Pyupda()

void TPythia6::Pyupda ( int  mupda,
int  lun 
)

Definition at line 629 of file TPythia6.cxx.

◆ SetBRAT()

void TPythia6::SetBRAT ( int  i,
double  b 
)
inline

Definition at line 185 of file TPythia6.h.

◆ SetCKIN()

void TPythia6::SetCKIN ( int  i,
double  c 
)
inline

Definition at line 213 of file TPythia6.h.

◆ SetIMSS()

void TPythia6::SetIMSS ( int  i,
int  m 
)
inline

Definition at line 274 of file TPythia6.h.

◆ SetK()

void TPythia6::SetK ( int  ip,
int  i,
int  k 
)
inline

Definition at line 145 of file TPythia6.h.

◆ SetKCHG()

void TPythia6::SetKCHG ( int  ip,
int  i,
int  k 
)
inline

Definition at line 170 of file TPythia6.h.

◆ SetKFDP()

void TPythia6::SetKFDP ( int  i,
int  j,
int  k 
)
inline

Definition at line 186 of file TPythia6.h.

◆ SetKFIN()

void TPythia6::SetKFIN ( int  i,
int  j,
Int_t  kfin = 1 
)
inline

Definition at line 214 of file TPythia6.h.

◆ SetMDCY()

void TPythia6::SetMDCY ( int  i,
int  j,
int  m 
)
inline

Definition at line 183 of file TPythia6.h.

◆ SetMDME()

void TPythia6::SetMDME ( int  i,
int  j,
int  m 
)
inline

Definition at line 184 of file TPythia6.h.

◆ SetMINT()

void TPythia6::SetMINT ( int  i,
int  m 
)
inline

Definition at line 235 of file TPythia6.h.

◆ SetMRPY()

void TPythia6::SetMRPY ( int  i,
int  m 
)
inline

Definition at line 198 of file TPythia6.h.

◆ SetMSEL()

void TPythia6::SetMSEL ( int  m)
inline

Definition at line 210 of file TPythia6.h.

◆ SetMSELPD()

void TPythia6::SetMSELPD ( int  m)
inline

Definition at line 211 of file TPythia6.h.

◆ SetMSTI()

void TPythia6::SetMSTI ( int  i,
int  m 
)
inline

Definition at line 226 of file TPythia6.h.

◆ SetMSTJ()

void TPythia6::SetMSTJ ( int  i,
int  m 
)
inline

Definition at line 159 of file TPythia6.h.

◆ SetMSTP()

void TPythia6::SetMSTP ( int  i,
int  m 
)
inline

Definition at line 224 of file TPythia6.h.

◆ SetMSTU()

void TPythia6::SetMSTU ( int  i,
int  m 
)
inline

Definition at line 157 of file TPythia6.h.

◆ SetMSUB()

void TPythia6::SetMSUB ( int  i,
int  m 
)
inline

Definition at line 212 of file TPythia6.h.

◆ SetMWID()

void TPythia6::SetMWID ( int  i,
int  m 
)
inline

Definition at line 249 of file TPythia6.h.

◆ SetN()

void TPythia6::SetN ( int  n)
inline

Definition at line 143 of file TPythia6.h.

◆ SetNGENPD()

void TPythia6::SetNGENPD ( int  n)
inline

Definition at line 256 of file TPythia6.h.

◆ SetNPAD()

void TPythia6::SetNPAD ( int  n)
inline

Definition at line 144 of file TPythia6.h.

◆ SetP()

void TPythia6::SetP ( int  ip,
int  i,
double  p 
)
inline

Definition at line 146 of file TPythia6.h.

◆ SetPARF()

void TPythia6::SetPARF ( int  i,
double  p 
)
inline

Definition at line 172 of file TPythia6.h.

◆ SetPARI()

void TPythia6::SetPARI ( int  i,
double  p 
)
inline

Definition at line 227 of file TPythia6.h.

◆ SetPARJ()

void TPythia6::SetPARJ ( int  i,
double  p 
)
inline

Definition at line 160 of file TPythia6.h.

◆ SetPARP()

void TPythia6::SetPARP ( int  i,
double  p 
)
inline

Definition at line 225 of file TPythia6.h.

◆ SetPARU()

void TPythia6::SetPARU ( int  i,
double  p 
)
inline

Definition at line 158 of file TPythia6.h.

◆ SetPMAS()

void TPythia6::SetPMAS ( int  ip,
int  i,
double  m 
)
inline

Definition at line 171 of file TPythia6.h.

◆ SetRMSS()

void TPythia6::SetRMSS ( int  i,
double  r 
)
inline

Definition at line 275 of file TPythia6.h.

◆ SetRRPY()

void TPythia6::SetRRPY ( int  i,
double  r 
)
inline

Definition at line 199 of file TPythia6.h.

◆ SetSMW()

void TPythia6::SetSMW ( int  i,
double  s 
)
inline

Definition at line 289 of file TPythia6.h.

◆ SetSMZ()

void TPythia6::SetSMZ ( int  i,
double  s 
)
inline

Definition at line 288 of file TPythia6.h.

◆ SetUMIX()

void TPythia6::SetUMIX ( int  i,
int  j,
double  u 
)
inline

Definition at line 287 of file TPythia6.h.

◆ SetupTest()

void TPythia6::SetupTest ( )

Exemplary setup of Pythia parameters: Switches on processes 102,123,124 (Higgs generation) and switches off interactions, fragmentation, ISR, FSR...

Definition at line 673 of file TPythia6.cxx.

◆ SetV()

void TPythia6::SetV ( int  ip,
int  i,
double  v 
)
inline

Definition at line 147 of file TPythia6.h.

◆ SetVCKM()

void TPythia6::SetVCKM ( int  i,
int  j,
double  v 
)
inline

Definition at line 173 of file TPythia6.h.

◆ SetVINT()

void TPythia6::SetVINT ( int  i,
double  v 
)
inline

Definition at line 236 of file TPythia6.h.

◆ SetWIDS()

void TPythia6::SetWIDS ( int  i,
int  j,
double  w 
)
inline

Definition at line 250 of file TPythia6.h.

◆ SetZMIX()

void TPythia6::SetZMIX ( int  i,
int  j,
double  z 
)
inline

Definition at line 286 of file TPythia6.h.

Friends And Related Function Documentation

◆ TPythia6Cleaner

friend class TPythia6Cleaner
friend

Definition at line 116 of file TPythia6.h.

Member Data Documentation

◆ fgInstance

TPythia6 * TPythia6::fgInstance = 0
staticprotected

Definition at line 87 of file TPythia6.h.

◆ fPybins

Pybins_t* TPythia6::fPybins
protected

Definition at line 109 of file TPythia6.h.

◆ fPydat1

Pydat1_t* TPythia6::fPydat1
protected

Definition at line 90 of file TPythia6.h.

◆ fPydat2

Pydat2_t* TPythia6::fPydat2
protected

Definition at line 91 of file TPythia6.h.

◆ fPydat3

Pydat3_t* TPythia6::fPydat3
protected

Definition at line 92 of file TPythia6.h.

◆ fPydat4

Pydat4_t* TPythia6::fPydat4
protected

Definition at line 93 of file TPythia6.h.

◆ fPydatr

Pydatr_t* TPythia6::fPydatr
protected

Definition at line 94 of file TPythia6.h.

◆ fPyint1

Pyint1_t* TPythia6::fPyint1
protected

Definition at line 97 of file TPythia6.h.

◆ fPyint2

Pyint2_t* TPythia6::fPyint2
protected

Definition at line 98 of file TPythia6.h.

◆ fPyint3

Pyint3_t* TPythia6::fPyint3
protected

Definition at line 99 of file TPythia6.h.

◆ fPyint4

Pyint4_t* TPythia6::fPyint4
protected

Definition at line 100 of file TPythia6.h.

◆ fPyint5

Pyint5_t* TPythia6::fPyint5
protected

Definition at line 101 of file TPythia6.h.

◆ fPyint6

Pyint6_t* TPythia6::fPyint6
protected

Definition at line 102 of file TPythia6.h.

◆ fPyint7

Pyint7_t* TPythia6::fPyint7
protected

Definition at line 103 of file TPythia6.h.

◆ fPyint8

Pyint8_t* TPythia6::fPyint8
protected

Definition at line 104 of file TPythia6.h.

◆ fPyint9

Pyint9_t* TPythia6::fPyint9
protected

Definition at line 105 of file TPythia6.h.

◆ fPyints

Pyints_t* TPythia6::fPyints
protected

Definition at line 108 of file TPythia6.h.

◆ fPyjets

Pyjets_t* TPythia6::fPyjets
protected

Definition at line 89 of file TPythia6.h.

◆ fPymssm

Pymssm_t* TPythia6::fPymssm
protected

Definition at line 106 of file TPythia6.h.

◆ fPypars

Pypars_t* TPythia6::fPypars
protected

Definition at line 96 of file TPythia6.h.

◆ fPyssmt

Pyssmt_t* TPythia6::fPyssmt
protected

Definition at line 107 of file TPythia6.h.

◆ fPysubs

Pysubs_t* TPythia6::fPysubs
protected

Definition at line 95 of file TPythia6.h.


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