Frequently Asked Questions -- Latest revision : 18/03/2009 -- -- See also Delphes website: -- http://www.fynu.ucl.ac.be/users/s.ovyn/Delphes/faq.html (Q) Delphes complains that data/DataCardDet.dat is not found. (A) In more recent version of the code (>1.4beta) the default names have been changed to DetectorCard.dat. Similarly, trigger cards are now called TriggerCard.dat (Q) May I run the convertor stage independently before running Delphes? (A) Yes, you can convert your generator-level input files, by running the 'Convertors_Only' executable: me@mylaptop:~$ ./Convertors_Only Usage: ./Convertors_Only input_file output_file input_list - list of files in Ntpl, StdHep of LHEF format, output_file - output file. me@mylaptop:~$ ./Convertors_Only TEST.list converted.root (Q) I did not create a LHCO output file when I ran Delphes (FLAG_lhco=0). Can I do this on my ROOT output file? (A) The LHCO output file can be easily created out-of your Delphes ROOT output file, by running the 'LHCO_Only' executable: me@mylaptop:~$ ./LHCO_Only Usage: ./LHCO_Only input_file [runlog_file] input_file - file in Delphes root format, [runlog_file] - the corresponding log file (optional) me@mylaptop:~$ ./LHCO_Only test.root (Q) I did not run the triggers when I ran Delphes (FLAG_trigger=0). Can I reprocess this on my output file? (A) There is no problem to re-run the trigger on a Delphes output-file. Just run the 'Trigger_Only' executable: me@mylaptop:~$ ./Trigger_Only Usage: ./Trigger_Only input_file output_file [detector_card] [trigger_card] input_file - file in Delphe root format, trigger_card - Datacard containing the trigger algorithms (optional) me@mylaptop:~$ ./Trigger_Only test_without_trigger.root test_with_trigger.root data/mydetector.dat data/mytrigger.dat (Q) I do not remember how to run FROG (A) Just run the "frog" executable in Utilities/FROG me@mylaptop:~$ cd Utilities/FROG me@mylaptop:~$ ./frog (Q) frog executable is not found! ./Utilities/FROG/frog: No such file or directory (A) you should have compiled FROG first. me@mylaptop:~$ cd Utilities/FROG me@mylaptop:~$ make (Q) How should I know which external libraries I need for FROG ? (A) Please refer to this page on the FROG website: http://projects.hepforge.org/frog/Visualization.html you will need OpenGL, GLUT, X11-devel, Curl. For instance: OpenGL : xorg-x11-Mesa-libGL-6.8.2-1.EL.33.0.2 xorg-x11-Mesa-libGLU-6.8.2-1.EL.33.0.2 GLUT : freeglut-2.2.0-14 freeglut-devel-2.2.0-14 X11-devel : xorg-x11-devel-6.8.2-1.EL.33.0.2 CURL : libcurl (Q) FROG complains that libcurl is missing. What should I do? (A) First, make sure the libcurl library is installed on your computer. - locate it on your computer me@mylaptop:~$ locate libcurl.so /usr/lib/libcurl.so - if the library is not present, take it from the internet (http://curl.haxx.se/) or via installers like "apt-get" (ubuntu systems) or "yum" (fedora systems) - if the libcurl.so is not found, juste make a symbolic link in Utilities/FROG/Lib: me@mylaptop:~$ cd Utilities/FROG/Lib me@mylaptop:~$ ln -s /usr/lib/libcurl.so me@mylaptop:~$ ls -l libcurl.so lrwxrwxrwx 1 me me 21 Jan 7 15:19 libcurl.so -> /usr/lib/libcurl.so.4.0.1 - now it should work properly (Q) (fixed) there are many lines printed at the end of the run of Delphes. Is it an error? 55555 D0 - 20000 D0 - - 3000 (detId=900000000 Name=Delphes) - - - 3000 (detId=910000000 Name=Tracker) - - - - 41040 (detId=9100010) - - - - 41040 (detId=9100020) - - - - 41040 (detId=9100030) - - - - 41040 (detId=9100040) ... (A) no, this is normal, this is just the output of FROG, showing that everything is ok. You should find your *vis and *geom files when it has ended. (Q) Delphes is not compiling properly on Mac OS-X (A) One modification is required in the Makefile In Delphes' genMakefile.tcl, you should add "-Dmacos " in the CXXFLAGS definition (line 219): CXXFLAGS += $(ROOTCFLAGS) -Dmacos -DDROP_CGAL -I. -Iinterface ... (Q) FROG is not compiling properly on Mac OS-X (A) One modification is required in FROG's Makefile Open Utilities/FROG/Makefile. There, you should link the libcurl library in the compilation line of libfrog: Utilities/FROG/Makefile: libfrog.dylib : $(OBJS) $(CXX) ... $(ARCHDEPENDENT) -lcurl -lX11 -lz -lpng -o $(LIBDIR)/$@ Do not forget to recompile FROG from its directory (Utilities/FROG) me@mylaptop:~$ cd Utilities/FROG me@mylaptop:~$ make