Skip to content
Snippets Groups Projects
Commit ba8d2326 authored by Rene Brun's avatar Rene Brun
Browse files

Add interface to fortran function Pytune

git-svn-id: http://root.cern.ch/svn/root/trunk@26120 27541ba8-7e3a-0410-8455-c3a389f83636
parent fd3c57a2
No related branches found
No related tags found
No related merge requests found
...@@ -325,6 +325,7 @@ public: ...@@ -325,6 +325,7 @@ public:
void Pyrset(int lun, int move); void Pyrset(int lun, int move);
void Pystat(int flag); void Pystat(int flag);
void Pytest(int flag); void Pytest(int flag);
void Pytune(int itune);
void Pyupda(int mupda, int lun); void Pyupda(int mupda, int lun);
void SetupTest(); void SetupTest();
......
...@@ -142,6 +142,7 @@ extern "C" int type_of_call pyr(int *dummy); ...@@ -142,6 +142,7 @@ extern "C" int type_of_call pyr(int *dummy);
extern "C" int type_of_call pyrget(int *lun, int *move); extern "C" int type_of_call pyrget(int *lun, int *move);
extern "C" int type_of_call pyrset(int *lun, int *move); extern "C" int type_of_call pyrset(int *lun, int *move);
extern "C" int type_of_call pytest(int *flag); extern "C" int type_of_call pytest(int *flag);
extern "C" int type_of_call pytune(int *itune);
extern "C" int type_of_call pyupda(int *mupda, int *lun); extern "C" int type_of_call pyupda(int *mupda, int *lun);
extern "C" void type_of_call py1ent(Int_t&, Int_t&, Double_t&, Double_t&, Double_t&); extern "C" void type_of_call py1ent(Int_t&, Int_t&, Double_t&, Double_t&, Double_t&);
...@@ -595,6 +596,11 @@ void TPythia6::Pytest(int flag) { ...@@ -595,6 +596,11 @@ void TPythia6::Pytest(int flag) {
pytest(&flag); pytest(&flag);
} }
void TPythia6::Pytune(int itune) {
//interface with fortran routine pytune
pytune(&itune);
}
void TPythia6::Pyupda(int mupda, int lun) { void TPythia6::Pyupda(int mupda, int lun) {
//interface with fortran routine pyupda //interface with fortran routine pyupda
pyupda(&mupda,&lun); pyupda(&mupda,&lun);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment