library: libEGPythia6 #include "TPythia6.h" |
TPythia6
class description - header file - source file - inheritance tree (.pdf)
protected:
TPythia6(const TPythia6&)
TPythia6& operator=(const TPythia6&)
public:
TPythia6()
virtual ~TPythia6()
static TClass* Class()
void CloseFortranFile(int lun)
virtual void GenerateEvent()
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_t* GetPybins()
Pydat1_t* GetPydat1()
Pydat2_t* GetPydat2()
Pydat3_t* GetPydat3()
Pydat4_t* GetPydat4()
Pydatr_t* GetPydatr()
Pyint1_t* GetPyint1()
Pyint2_t* GetPyint2()
Pyint3_t* GetPyint3()
Pyint4_t* GetPyint4()
Pyint5_t* GetPyint5()
Pyint6_t* GetPyint6()
Pyint7_t* GetPyint7()
Pyint8_t* GetPyint8()
Pyint9_t* GetPyint9()
Pyints_t* GetPyints()
Pyjets_t* GetPyjets()
Pymssm_t* GetPymssm()
Pypars_t* GetPypars()
Pyssmt_t* GetPyssmt()
Pysubs_t* GetPysubs()
Pyuppr_t* GetPyuppr()
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)
virtual Int_t ImportParticles(TClonesArray* particles, Option_t* option = "")
virtual TObjArray* ImportParticles(Option_t* option = "")
void Initialize(const char* frame, const char* beam, const char* target, float win)
static TPythia6* Instance()
virtual TClass* IsA() const
void OpenFortranFile(int lun, char* name)
void Py1ent(Int_t line, Int_t kf, Double_t pe, Double_t theta, Double_t phi)
int Pychge(int kf)
int Pycomp(int kf)
void Pydiff()
void Pyedit(int medit)
void Pyevnt()
void Pyexec()
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 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()
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)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
static TPythia6* fgInstance
Pyjets_t* fPyjets
Pydat1_t* fPydat1
Pydat2_t* fPydat2
Pydat3_t* fPydat3
Pydat4_t* fPydat4
Pydatr_t* fPydatr
Pysubs_t* fPysubs
Pypars_t* fPypars
Pyint1_t* fPyint1
Pyint2_t* fPyint2
Pyint3_t* fPyint3
Pyint4_t* fPyint4
Pyint5_t* fPyint5
Pyint6_t* fPyint6
Pyint7_t* fPyint7
Pyint8_t* fPyint8
Pyint9_t* fPyint9
Pyuppr_t* fPyuppr
Pymssm_t* fPymssm
Pyssmt_t* fPyssmt
Pyints_t* fPyints
Pybins_t* fPybins
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.
~TPythia6()
Destroys the object, deletes and disposes all TMCParticles currently on list.
TPythia6* Instance()
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
void GenerateEvent()
generate event and copy the information from /HEPEVT/ to fPrimaries
TObjArray * ImportParticles(Option_t *)
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.
Int_t ImportParticles(TClonesArray *particles, Option_t *option)
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.
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. 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 cahrges, 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.
void Pyinit(char* frame, char* beam, char* target, double 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.
int Pycomp(int kf)
interface with fortran routine pycomp
void Pyedit(int medit)
interface with fortran routine pyedit
void Pydiff()
interface with fortran routine pydiff
void Pyevnt()
interface with fortran routine pyevnt
void Pyexec()
interface with fortran routine pyexec
void Pyhepc(int mconv)
interface with fortran routine pyhepc
void Pylist(int flag)
interface with fortran routine pylist
void Pyname(int kf, char* name)
Note that the array name must be dimensioned in the calling program
to at least name[16]
double Pyr(int idummy)
interface with fortran routine pyr
void Pyrget(int lun, int move)
interface with fortran routine pyrget
void Pyrset(int lun, int move)
interface with fortran routine pyrset
void Pystat(int flag)
interface with fortran routine pystat
void Pytest(int flag)
interface with fortran routine pytest
void Pyupda(int mupda, int lun)
interface with fortran routine pyupda
double Pymass(int kf)
interface with fortran routine pymass
int Pychge(int kf)
interface with fortran routine pychge
void 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.
void SetupTest()
Exemplary setup of Pythia parameters:
Switches on processes 102,123,124 (Higgs generation) and switches off
interactions, fragmentation, ISR, FSR...
double GetP(int ip, int i)
double GetV(int ip, int i)
void SetK(int ip, int i, int k)
void SetP(int ip, int i, double p)
void SetV(int ip, int i, double v)
void SetKCHG(int ip, int i, int k )
void SetPMAS(int ip, int i, double m)
void SetWIDS(int i, int j, double w)
void SetZMIX(int i, int j, double z)
void SetUMIX(int i, int j, double u)
Author: Rene Brun 19/10/99
Last update: root/pythia6:$Name: $:$Id: TPythia6.cxx,v 1.27 2006/05/27 20:31:54 brun Exp $
ROOT page - Class index - Class Hierarchy - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.