ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 90 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...
 
Pyjets_tGetPyjets ()
 
int GetN ()
 
int GetNPAD ()
 
int GetK (int ip, int i)
 
double GetP (int ip, int i)
 
double GetV (int ip, int i)
 
void SetN (int n)
 
void SetNPAD (int n)
 
void SetK (int ip, int i, int k)
 
void SetP (int ip, int i, double p)
 
void SetV (int ip, int i, double v)
 
Pydat1_tGetPydat1 ()
 
int GetMSTU (int i)
 
double GetPARU (int i)
 
int GetMSTJ (int i)
 
double GetPARJ (int i)
 
void SetMSTU (int i, int m)
 
void SetPARU (int i, double p)
 
void SetMSTJ (int i, int m)
 
void SetPARJ (int i, double p)
 
Pydat2_tGetPydat2 ()
 
int GetKCHG (int ip, int i)
 
double GetPMAS (int ip, int i)
 
double GetPARF (int i)
 
double GetVCKM (int i, int j)
 
void SetKCHG (int ip, int i, int k)
 
void SetPMAS (int ip, int i, double m)
 
void SetPARF (int i, double p)
 
void SetVCKM (int i, int j, double v)
 
Pydat3_tGetPydat3 ()
 
int GetMDCY (int i, int j)
 
int GetMDME (int i, int j)
 
double GetBRAT (int i)
 
int GetKFDP (int i, int j)
 
void SetMDCY (int i, int j, int m)
 
void SetMDME (int i, int j, int m)
 
void SetBRAT (int i, double b)
 
void SetKFDP (int i, int j, int k)
 
Pydat4_tGetPydat4 ()
 
Pydatr_tGetPydatr ()
 
int GetMRPY (int i)
 
double GetRRPY (int i)
 
void SetMRPY (int i, int m)
 
void SetRRPY (int i, double r)
 
Pysubs_tGetPysubs ()
 
int GetMSEL ()
 
int GetMSELPD ()
 
int GetMSUB (int i)
 
double GetCKIN (int i)
 
Int_t GetKFIN (int i, int j)
 
void SetMSEL (int m)
 
void SetMSELPD (int m)
 
void SetMSUB (int i, int m)
 
void SetCKIN (int i, double c)
 
void SetKFIN (int i, int j, Int_t kfin=1)
 
Pypars_tGetPypars ()
 
int GetMSTP (int i)
 
double GetPARP (int i)
 
int GetMSTI (int i)
 
double GetPARI (int i)
 
void SetMSTP (int i, int m)
 
void SetPARP (int i, double p)
 
void SetMSTI (int i, int m)
 
void SetPARI (int i, double p)
 
Pyint1_tGetPyint1 ()
 
int GetMINT (int i)
 
double GetVINT (int i)
 
void SetMINT (int i, int m)
 
void SetVINT (int i, double v)
 
Pyint2_tGetPyint2 ()
 
Pyint3_tGetPyint3 ()
 
Pyint4_tGetPyint4 ()
 
int GetMWID (int i)
 
double GetWIDS (int i, int j)
 
void SetMWID (int i, int m)
 
void SetWIDS (int i, int j, double w)
 
Pyint5_tGetPyint5 ()
 
int GetNGENPD ()
 
void SetNGENPD (int n)
 
Pyint6_tGetPyint6 ()
 
char * GetPROC (int i)
 
Pyint7_tGetPyint7 ()
 
Pyint8_tGetPyint8 ()
 
Pyint9_tGetPyint9 ()
 
Pymssm_tGetPymssm ()
 
int GetIMSS (int i)
 
double GetRMSS (int i)
 
void SetIMSS (int i, int m)
 
void SetRMSS (int i, double r)
 
Pyssmt_tGetPyssmt ()
 
double GetZMIX (int i, int j)
 
double GetUMIX (int i, int j)
 
double GetVMIX (int i, int j)
 
double GetSMZ (int i)
 
double GetSMW (int i)
 
void SetZMIX (int i, int j, double z)
 
void SetUMIX (int i, int j, double u)
 
void SetSMZ (int i, double s)
 
void SetSMW (int i, double s)
 
Pyints_tGetPyints ()
 
Pybins_tGetPybins ()
 
void GenerateEvent ()
 generate event and copy the information from /HEPEVT/ to fPrimaries 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...
 
Int_t ImportParticles (TClonesArray *particles, Option_t *option="")
 Default primary creation method. More...
 
TObjArrayImportParticles (Option_t *option="")
 Fills TObjArray fParticles list with particles from common LUJETS Old contents of a list are cleared. More...
 
void OpenFortranFile (int lun, char *name)
 interface with fortran i/o More...
 
void CloseFortranFile (int lun)
 interface with fortran i/o More...
 
int Pychge (int kf)
 
int Pycomp (int kf)
 
void Pydiff ()
 
void Pyedit (int medit)
 
void Pyevnt ()
 
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...
 
void Pyexec ()
 
void Pyhepc (int mconv)
 
void Pygive (const char *param)
 
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 SetupTest ()
 Exemplary setup of Pythia parameters: Switches on processes 102,123,124 (Higgs generation) and switches off interactions, fragmentation, ISR, FSR... More...
 
- Public Member Functions inherited from TGenerator
 TGenerator ()
 
 TGenerator (const char *name, const char *title="Generator class")
 
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 Double_t GetParameter (const char *) const
 
virtual TParticleGetParticle (Int_t i) const
 Returns pointer to primary number i;. More...
 
Int_t GetNumberOfParticles () const
 Return the number of particles in the stack. More...
 
virtual TObjArrayGetListOfParticles () const
 
virtual TObjArrayGetPrimaries (Option_t *option="")
 
Float_t GetPtCut () const
 
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 TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual ~TNamed ()
 
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 SetName (const char *name)
 Change (i.e. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Change (i.e. set) all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Change (i.e. set) the title of the TNamed. More...
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. 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 pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. 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 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 UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. 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...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. 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...
 
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...
 
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 UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. 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...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. 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...
 
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...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. 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 void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat 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
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 

Protected Attributes

Pyjets_tfPyjets
 
Pydat1_tfPydat1
 
Pydat2_tfPydat2
 
Pydat3_tfPydat3
 
Pydat4_tfPydat4
 
Pydatr_tfPydatr
 
Pysubs_tfPysubs
 
Pypars_tfPypars
 
Pyint1_tfPyint1
 
Pyint2_tfPyint2
 
Pyint3_tfPyint3
 
Pyint4_tfPyint4
 
Pyint5_tfPyint5
 
Pyint6_tfPyint6
 
Pyint7_tfPyint7
 
Pyint8_tfPyint8
 
Pyint9_tfPyint9
 
Pymssm_tfPymssm
 
Pyssmt_tfPyssmt
 
Pyints_tfPyints
 
Pybins_tfPybins
 
- Protected Attributes inherited from TGenerator
Float_t fPtCut
 
Bool_t fShowNeutrons
 Pt cut. Do not show primaries below. More...
 
TObjArrayfParticles
 display neutrons if true 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  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 

#include <TPythia6.h>

Inheritance diagram for TPythia6:
[legend]

Constructor & Destructor Documentation

TPythia6::TPythia6 ( const TPythia6 p6)
protected

Definition at line 243 of file TPythia6.cxx.

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.

Referenced by Instance().

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

void TPythia6::CloseFortranFile ( int  lun)

interface with fortran i/o

Definition at line 312 of file TPythia6.cxx.

Referenced by TPythia6Decayer::ReadDecayTable(), and TPythia6Decayer::WriteDecayTable().

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.

double TPythia6::GetBRAT ( int  i)
inline
double TPythia6::GetCKIN ( int  i)
inline

Definition at line 213 of file TPythia6.h.

int TPythia6::GetIMSS ( int  i)
inline

Definition at line 277 of file TPythia6.h.

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

Definition at line 145 of file TPythia6.h.

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

Definition at line 171 of file TPythia6.h.

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

Definition at line 187 of file TPythia6.h.

Referenced by TPythia6Decayer::ForceHadronicD(), and TPythia6Decayer::ForceOmega().

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

Definition at line 214 of file TPythia6.h.

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

Definition at line 185 of file TPythia6.h.

int TPythia6::GetMINT ( int  i)
inline

Definition at line 238 of file TPythia6.h.

int TPythia6::GetMRPY ( int  i)
inline

Definition at line 201 of file TPythia6.h.

int TPythia6::GetMSEL ( )
inline

Definition at line 210 of file TPythia6.h.

int TPythia6::GetMSELPD ( )
inline

Definition at line 211 of file TPythia6.h.

int TPythia6::GetMSTI ( int  i)
inline

Definition at line 227 of file TPythia6.h.

int TPythia6::GetMSTJ ( int  i)
inline

Definition at line 160 of file TPythia6.h.

int TPythia6::GetMSTP ( int  i)
inline

Definition at line 225 of file TPythia6.h.

int TPythia6::GetMSTU ( int  i)
inline

Definition at line 158 of file TPythia6.h.

int TPythia6::GetMSUB ( int  i)
inline

Definition at line 212 of file TPythia6.h.

int TPythia6::GetMWID ( int  i)
inline

Definition at line 252 of file TPythia6.h.

int TPythia6::GetN ( )
inline

Definition at line 143 of file TPythia6.h.

int TPythia6::GetNGENPD ( )
inline

Definition at line 261 of file TPythia6.h.

int TPythia6::GetNPAD ( )
inline

Definition at line 144 of file TPythia6.h.

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

Definition at line 146 of file TPythia6.h.

double TPythia6::GetPARF ( int  i)
inline

Definition at line 173 of file TPythia6.h.

double TPythia6::GetPARI ( int  i)
inline

Definition at line 228 of file TPythia6.h.

double TPythia6::GetPARJ ( int  i)
inline

Definition at line 161 of file TPythia6.h.

double TPythia6::GetPARP ( int  i)
inline

Definition at line 226 of file TPythia6.h.

double TPythia6::GetPARU ( int  i)
inline

Definition at line 159 of file TPythia6.h.

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

Definition at line 172 of file TPythia6.h.

Referenced by TPythia6Decayer::GetLifetime().

char* TPythia6::GetPROC ( int  i)
inline

Definition at line 267 of file TPythia6.h.

Pybins_t* TPythia6::GetPybins ( )
inline

Definition at line 298 of file TPythia6.h.

Pydat1_t* TPythia6::GetPydat1 ( )
inline

Definition at line 157 of file TPythia6.h.

Pydat2_t* TPythia6::GetPydat2 ( )
inline

Definition at line 170 of file TPythia6.h.

Pydat3_t* TPythia6::GetPydat3 ( )
inline

Definition at line 183 of file TPythia6.h.

Pydat4_t* TPythia6::GetPydat4 ( )
inline

Definition at line 196 of file TPythia6.h.

Pydatr_t* TPythia6::GetPydatr ( )
inline

Definition at line 200 of file TPythia6.h.

Pyint1_t* TPythia6::GetPyint1 ( )
inline

Definition at line 237 of file TPythia6.h.

Pyint2_t* TPythia6::GetPyint2 ( )
inline

Definition at line 246 of file TPythia6.h.

Pyint3_t* TPythia6::GetPyint3 ( )
inline

Definition at line 247 of file TPythia6.h.

Pyint4_t* TPythia6::GetPyint4 ( )
inline

Definition at line 251 of file TPythia6.h.

Pyint5_t* TPythia6::GetPyint5 ( )
inline

Definition at line 260 of file TPythia6.h.

Pyint6_t* TPythia6::GetPyint6 ( )
inline

Definition at line 266 of file TPythia6.h.

Pyint7_t* TPythia6::GetPyint7 ( )
inline

Definition at line 269 of file TPythia6.h.

Pyint8_t* TPythia6::GetPyint8 ( )
inline

Definition at line 270 of file TPythia6.h.

Pyint9_t* TPythia6::GetPyint9 ( )
inline

Definition at line 271 of file TPythia6.h.

Pyints_t* TPythia6::GetPyints ( )
inline

Definition at line 297 of file TPythia6.h.

Pyjets_t* TPythia6::GetPyjets ( )
inline

Definition at line 142 of file TPythia6.h.

Pymssm_t* TPythia6::GetPymssm ( )
inline

Definition at line 276 of file TPythia6.h.

Pypars_t* TPythia6::GetPypars ( )
inline

Definition at line 224 of file TPythia6.h.

Pyssmt_t* TPythia6::GetPyssmt ( )
inline

Definition at line 285 of file TPythia6.h.

Pysubs_t* TPythia6::GetPysubs ( )
inline

Definition at line 209 of file TPythia6.h.

double TPythia6::GetRMSS ( int  i)
inline

Definition at line 278 of file TPythia6.h.

double TPythia6::GetRRPY ( int  i)
inline

Definition at line 202 of file TPythia6.h.

double TPythia6::GetSMW ( int  i)
inline

Definition at line 290 of file TPythia6.h.

double TPythia6::GetSMZ ( int  i)
inline

Definition at line 289 of file TPythia6.h.

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

Definition at line 287 of file TPythia6.h.

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

Definition at line 147 of file TPythia6.h.

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

Definition at line 174 of file TPythia6.h.

double TPythia6::GetVINT ( int  i)
inline

Definition at line 239 of file TPythia6.h.

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

Definition at line 288 of file TPythia6.h.

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

Definition at line 253 of file TPythia6.h.

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

Definition at line 286 of file TPythia6.h.

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.

Referenced by GenerateEvent(), TPythia6Decayer::ImportParticles(), and Pyedit().

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.

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.

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.

Referenced by TPythia6Decayer::CountProducts(), TPythia6Decayer::Decay(), TPythia6Decayer::ForceDecay(), TPythia6Decayer::ForceHadronicD(), TPythia6Decayer::ForceOmega(), TPythia6Decayer::ForceParticleDecay(), TPythia6Decayer::GetLifetime(), TPythia6Decayer::GetPartialBranchingRatio(), TPythia6Decayer::ImportParticles(), TPythia6Decayer::ReadDecayTable(), and TPythia6Decayer::WriteDecayTable().

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

interface with fortran i/o

Definition at line 305 of file TPythia6.cxx.

Referenced by TPythia6Decayer::ReadDecayTable(), and TPythia6Decayer::WriteDecayTable().

TPythia6& TPythia6::operator= ( const TPythia6 )
protected
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.

Referenced by TPythia6Decayer::Decay().

int TPythia6::Pychge ( int  kf)

Definition at line 639 of file TPythia6.cxx.

int TPythia6::Pycomp ( int  kf)
void TPythia6::Pydiff ( )

Definition at line 556 of file TPythia6.cxx.

void TPythia6::Pyedit ( int  medit)

Definition at line 550 of file TPythia6.cxx.

void TPythia6::Pyevnt ( )

Definition at line 561 of file TPythia6.cxx.

void TPythia6::Pyexec ( )

Definition at line 566 of file TPythia6.cxx.

void TPythia6::Pygive ( const char *  param)

Definition at line 571 of file TPythia6.cxx.

void TPythia6::Pyhepc ( int  mconv)

Definition at line 577 of file TPythia6.cxx.

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

Definition at line 515 of file TPythia6.cxx.

Referenced by Initialize().

void TPythia6::Pylist ( int  flag)

Definition at line 582 of file TPythia6.cxx.

double TPythia6::Pymass ( int  kf)

Definition at line 634 of file TPythia6.cxx.

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

Definition at line 587 of file TPythia6.cxx.

double TPythia6::Pyr ( int  idummy)

Definition at line 599 of file TPythia6.cxx.

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

Definition at line 604 of file TPythia6.cxx.

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

Definition at line 609 of file TPythia6.cxx.

void TPythia6::Pystat ( int  flag)

Definition at line 614 of file TPythia6.cxx.

void TPythia6::Pytest ( int  flag)

Definition at line 619 of file TPythia6.cxx.

void TPythia6::Pytune ( int  itune)

Definition at line 624 of file TPythia6.cxx.

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

Definition at line 191 of file TPythia6.h.

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

Definition at line 219 of file TPythia6.h.

Referenced by SetupTest().

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

Definition at line 280 of file TPythia6.h.

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

Definition at line 151 of file TPythia6.h.

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

Definition at line 176 of file TPythia6.h.

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

Definition at line 192 of file TPythia6.h.

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

Definition at line 220 of file TPythia6.h.

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

Definition at line 241 of file TPythia6.h.

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

Definition at line 204 of file TPythia6.h.

void TPythia6::SetMSEL ( int  m)
inline

Definition at line 216 of file TPythia6.h.

Referenced by SetupTest().

void TPythia6::SetMSELPD ( int  m)
inline

Definition at line 217 of file TPythia6.h.

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

Definition at line 232 of file TPythia6.h.

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

Definition at line 165 of file TPythia6.h.

Referenced by TPythia6Decayer::ForceDecay().

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

Definition at line 230 of file TPythia6.h.

Referenced by SetupTest().

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

Definition at line 163 of file TPythia6.h.

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

Definition at line 218 of file TPythia6.h.

Referenced by SetupTest().

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

Definition at line 255 of file TPythia6.h.

void TPythia6::SetN ( int  n)
inline

Definition at line 149 of file TPythia6.h.

void TPythia6::SetNGENPD ( int  n)
inline

Definition at line 262 of file TPythia6.h.

void TPythia6::SetNPAD ( int  n)
inline

Definition at line 150 of file TPythia6.h.

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

Definition at line 152 of file TPythia6.h.

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

Definition at line 178 of file TPythia6.h.

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

Definition at line 233 of file TPythia6.h.

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

Definition at line 166 of file TPythia6.h.

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

Definition at line 231 of file TPythia6.h.

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

Definition at line 164 of file TPythia6.h.

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

Definition at line 177 of file TPythia6.h.

Referenced by SetupTest().

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

Definition at line 281 of file TPythia6.h.

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

Definition at line 205 of file TPythia6.h.

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

Definition at line 295 of file TPythia6.h.

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

Definition at line 294 of file TPythia6.h.

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

Definition at line 293 of file TPythia6.h.

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.

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

Definition at line 153 of file TPythia6.h.

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

Definition at line 179 of file TPythia6.h.

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

Definition at line 242 of file TPythia6.h.

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

Definition at line 256 of file TPythia6.h.

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

Definition at line 292 of file TPythia6.h.

Friends And Related Function Documentation

friend class TPythia6Cleaner
friend

Definition at line 122 of file TPythia6.h.

Member Data Documentation

TPythia6 * TPythia6::fgInstance = 0
staticprotected

Definition at line 93 of file TPythia6.h.

Referenced by Instance(), TPythia6(), and TPythia6::TPythia6Cleaner::~TPythia6Cleaner().

Pybins_t* TPythia6::fPybins
protected

Definition at line 115 of file TPythia6.h.

Referenced by GetPybins(), and TPythia6().

Pydat1_t* TPythia6::fPydat1
protected
Pydat2_t* TPythia6::fPydat2
protected
Pydat3_t* TPythia6::fPydat3
protected
Pydat4_t* TPythia6::fPydat4
protected

Definition at line 99 of file TPythia6.h.

Referenced by GetPydat4(), and TPythia6().

Pydatr_t* TPythia6::fPydatr
protected

Definition at line 100 of file TPythia6.h.

Referenced by GetMRPY(), GetPydatr(), GetRRPY(), SetMRPY(), SetRRPY(), and TPythia6().

Pyint1_t* TPythia6::fPyint1
protected

Definition at line 103 of file TPythia6.h.

Referenced by GetMINT(), GetPyint1(), GetVINT(), SetMINT(), SetVINT(), and TPythia6().

Pyint2_t* TPythia6::fPyint2
protected

Definition at line 104 of file TPythia6.h.

Referenced by GetPyint2(), and TPythia6().

Pyint3_t* TPythia6::fPyint3
protected

Definition at line 105 of file TPythia6.h.

Referenced by GetPyint3(), and TPythia6().

Pyint4_t* TPythia6::fPyint4
protected

Definition at line 106 of file TPythia6.h.

Referenced by GetMWID(), GetPyint4(), GetWIDS(), SetMWID(), SetWIDS(), and TPythia6().

Pyint5_t* TPythia6::fPyint5
protected

Definition at line 107 of file TPythia6.h.

Referenced by GetNGENPD(), GetPyint5(), SetNGENPD(), and TPythia6().

Pyint6_t* TPythia6::fPyint6
protected

Definition at line 108 of file TPythia6.h.

Referenced by GetPROC(), GetPyint6(), and TPythia6().

Pyint7_t* TPythia6::fPyint7
protected

Definition at line 109 of file TPythia6.h.

Referenced by GetPyint7(), and TPythia6().

Pyint8_t* TPythia6::fPyint8
protected

Definition at line 110 of file TPythia6.h.

Referenced by GetPyint8(), and TPythia6().

Pyint9_t* TPythia6::fPyint9
protected

Definition at line 111 of file TPythia6.h.

Referenced by GetPyint9(), and TPythia6().

Pyints_t* TPythia6::fPyints
protected

Definition at line 114 of file TPythia6.h.

Referenced by GetPyints(), and TPythia6().

Pyjets_t* TPythia6::fPyjets
protected
Pymssm_t* TPythia6::fPymssm
protected

Definition at line 112 of file TPythia6.h.

Referenced by GetIMSS(), GetPymssm(), GetRMSS(), SetIMSS(), SetRMSS(), and TPythia6().

Pypars_t* TPythia6::fPypars
protected
Pyssmt_t* TPythia6::fPyssmt
protected
Pysubs_t* TPythia6::fPysubs
protected
Collaboration diagram for TPythia6:
[legend]

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