I am begging a pardon for some delay with the response.
I found several problems with this implementation as follows:
1. In ROOT itself.
PYTHIA; "pyinit" prototype was defined for UNIX only.
#ifndef WIN32
extern "C" void type_of_call pyinit(char *frame, char *beam, char *target,
float &win, Long_t l_frame, Long_t l_beam,
Long_t l_target);
#else
extern "C" void type_of_call pyinit(char *frame, Long_t l_frame,
char *beam, Long_t l_beam,
char *target, Long_t l_target,
float &win
);
#endif
2. ATLFMuonMaker.cxx
The following statement was defined for the UNIX only:
Text_t *resfilename[256]
strcpy(resfilename,gSystem->ExpandPathName("$ATLFAST/data/resolumu.root"));
should be:
Text_t *resfilename=0;
resfilename = gSystem->ConcatFileName(gSystem->Getenv("ATLFAST"),"/data/resolumu.root");
. . .
if (resfilename) delete [] resfilename;
}
3. The same problem for ATLFTRACKMAKER.CXX:
// Open root file containing parameterised resolutions
//= Text_t TrackResFileName[256];
//= strcpy(TrackResFileName,gSystem->
//= ExpandPathName("$ATLFAST/data/IDResolMu011.root"));
Text_t *TrackResFileName =
gSystem->ConcatFileName(gSystem->Getenv("ATLFAST"),"/data/IDResolMu011.root");
. . .
. . .
if (TrackResFileName) delete [] TrackResFileName;
} // End gATLFast->Smearing(1) loop
}
4. There was no macro Loadlibs.win for Windows. It should look as follows:
{
// dynamically link the shared libraries
gSystem->Load("Root_EG.dll"); // Root Event Generator interface
gSystem->Load("Root_EGPythia.dll"); // Pythia library
gSystem->Load("./Atlfast.dll"); // Atlfast library
// gSystem->Load("./ATLFDisplay.dll"); // Atlfast graphics library
}
I have not found yet any reason for one "undefined" refs for the second
"ATLFDisplay.DLL".
So I commented it out for a while.
As result I succeeded to run umain.C macro and get some root files.
Hope this will help people to start with ATLFast under Windows.
Sorry for delay with the response.
With my regards,
Valery
=================================================================
Dr. Valeri Faine (Fine)
------------------- Phone: +1 516 344 7806
Brookhaven National Laboratory FAX : +1 516 344 4206
Bldg. 510A /STAR mailto:fine@bnl.gov
Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
USA
Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su