X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=LHAPDF%2FAliStructFuncType.cxx;h=105aa7cc212fc30e8354f54ee55bbf91e907f717;hb=03927c974845413dc0808dd6a78d91d7c37adcc5;hp=ce5bd69ec9b95f7ca4c15ebb6ee4952be5d79365;hpb=9463a7b3cef7f0afb6213493e15b3c457fe53519;p=u%2Fmrichter%2FAliRoot.git diff --git a/LHAPDF/AliStructFuncType.cxx b/LHAPDF/AliStructFuncType.cxx index ce5bd69ec9b..105aa7cc212 100644 --- a/LHAPDF/AliStructFuncType.cxx +++ b/LHAPDF/AliStructFuncType.cxx @@ -33,7 +33,6 @@ # define type_of_call _stdcall #endif - extern "C" { void type_of_call pdfset(char parm[20][20], Double_t value[20]); @@ -61,3 +60,38 @@ void AliStructFuncType::StructA(Double_t xx, Double_t qq, Double_t a, } +Int_t AliStructFuncType::PDFsetIndex(StrucFunc_t pdf) +{ +// PDF set index + Int_t pdfSetNumber[10] = { + 19170, + 19150, + 19070, + 19050, + 80060, + 10040, + 10100, + 10050, + 10041, + 10042 + }; + return pdfSetNumber[pdf]; +} + +TString AliStructFuncType::PDFsetName(StrucFunc_t pdf) +{ +// PDF Set Name + TString pdfsetName[10] = { + "cteq4l.LHgrid", + "cteq4m.LHgrid", + "cteq5l.LHgrid", + "cteq5m.LHgrid", + "GRV98lo.LHgrid", + "cteq6.LHpdf", + "cteq61.LHpdf", + "cteq6m.LHpdf", + "cteq6l.LHpdf", + "cteq6ll.LHpdf" + }; + return pdfsetName[pdf]; +}