Fork me on GitHub

source: svn/trunk/FAQ@ 510

Last change on this file since 510 was 348, checked in by Xavier Rouby, 16 years ago

update _hepevt_ error

File size: 4.9 KB
RevLine 
[170]1Frequently Asked Questions
2
[348]3-- Latest revision : 04/05/2009 --
[334]4-- See also Delphes website:
5-- http://www.fynu.ucl.ac.be/users/s.ovyn/Delphes/faq.html
[170]6
[211]7
[334]8(Q) Delphes complains that data/DataCardDet.dat is not found.
9(A) In more recent version of the code (>1.4beta) the default names have been changed to DetectorCard.dat.
10 Similarly, trigger cards are now called TriggerCard.dat
11
12
13(Q) May I run the convertor stage independently before running Delphes?
14(A) Yes, you can convert your generator-level input files, by running the 'Convertors_Only' executable:
15 me@mylaptop:~$ ./Convertors_Only
16 Usage: ./Convertors_Only input_file output_file
17 input_list - list of files in Ntpl, StdHep of LHEF format,
18 output_file - output file.
19 me@mylaptop:~$ ./Convertors_Only TEST.list converted.root
20
21
22(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?
23(A) The LHCO output file can be easily created out-of your Delphes ROOT output file, by running the 'LHCO_Only' executable:
24 me@mylaptop:~$ ./LHCO_Only
25 Usage: ./LHCO_Only input_file [runlog_file]
26 input_file - file in Delphes root format,
27 [runlog_file] - the corresponding log file (optional)
28 me@mylaptop:~$ ./LHCO_Only test.root
29
30(Q) I did not run the triggers when I ran Delphes (FLAG_trigger=0). Can I reprocess this on my output file?
31(A) There is no problem to re-run the trigger on a Delphes output-file. Just run the 'Trigger_Only' executable:
32 me@mylaptop:~$ ./Trigger_Only
33 Usage: ./Trigger_Only input_file output_file [detector_card] [trigger_card]
34 input_file - file in Delphe root format,
35 trigger_card - Datacard containing the trigger algorithms (optional)
36 me@mylaptop:~$ ./Trigger_Only test_without_trigger.root test_with_trigger.root data/mydetector.dat data/mytrigger.dat
37
[170]38(Q) I do not remember how to run FROG
39(A) Just run the "frog" executable in Utilities/FROG
40 me@mylaptop:~$ cd Utilities/FROG
41 me@mylaptop:~$ ./frog
42
[340]43(Q) frog executable is not found! ./Utilities/FROG/frog: No such file or directory
44(A) you should have compiled FROG first.
45 me@mylaptop:~$ cd Utilities/FROG
46 me@mylaptop:~$ make
[211]47
[170]48(Q) How should I know which external libraries I need for FROG ?
49(A) Please refer to this page on the FROG website:
[340]50 http://projects.hepforge.org/frog/Visualization.html
[170]51 you will need OpenGL, GLUT, X11-devel, Curl. For instance:
52 OpenGL :
53 xorg-x11-Mesa-libGL-6.8.2-1.EL.33.0.2
54 xorg-x11-Mesa-libGLU-6.8.2-1.EL.33.0.2
55 GLUT :
56 freeglut-2.2.0-14
57 freeglut-devel-2.2.0-14
58 X11-devel :
59 xorg-x11-devel-6.8.2-1.EL.33.0.2
60 CURL :
61 libcurl
62
[211]63
[170]64(Q) FROG complains that libcurl is missing. What should I do?
65(A) First, make sure the libcurl library is installed on your computer.
66 - locate it on your computer
67 me@mylaptop:~$ locate libcurl.so
68 /usr/lib/libcurl.so
69 - 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)
70 - if the libcurl.so is not found, juste make a symbolic link in Utilities/FROG/Lib:
71 me@mylaptop:~$ cd Utilities/FROG/Lib
72 me@mylaptop:~$ ln -s /usr/lib/libcurl.so
73 me@mylaptop:~$ ls -l libcurl.so
74 lrwxrwxrwx 1 me me 21 Jan 7 15:19 libcurl.so -> /usr/lib/libcurl.so.4.0.1
75 - now it should work properly
76
[334]77(Q) (fixed) there are many lines printed at the end of the run of Delphes. Is it an error?
7855555 D0
79 - 20000 D0
80 - - 3000 (detId=900000000 Name=Delphes)
81 - - - 3000 (detId=910000000 Name=Tracker)
82 - - - - 41040 (detId=9100010)
83 - - - - 41040 (detId=9100020)
84 - - - - 41040 (detId=9100030)
85 - - - - 41040 (detId=9100040)
86...
87(A) no, this is normal, this is just the output of FROG, showing that everything is ok.
88You should find your *vis and *geom files when it has ended.
[170]89
[340]90
91(Q) Delphes is not compiling properly on Mac OS-X
92(A) One modification is required in the Makefile
93In Delphes' genMakefile.tcl, you should add "-Dmacos " in the CXXFLAGS definition (line 219):
94
95CXXFLAGS += $(ROOTCFLAGS) -Dmacos -DDROP_CGAL -I. -Iinterface ...
96
97
98(Q) FROG is not compiling properly on Mac OS-X
99(A) One modification is required in FROG's Makefile
100Open Utilities/FROG/Makefile. There, you should link the libcurl library in the compilation line of libfrog:
101
102Utilities/FROG/Makefile:
103libfrog.dylib : $(OBJS)
104 $(CXX) ... $(ARCHDEPENDENT) -lcurl -lX11 -lz -lpng -o $(LIBDIR)/$@
105Do not forget to recompile FROG from its directory (Utilities/FROG)
106 me@mylaptop:~$ cd Utilities/FROG
107 me@mylaptop:~$ make
[348]108
109(Q) At run time, _hepevet_ symbol is not found:
110 dyld: Symbol not found: _hepevt_
111 Referenced from: /usr/local/root/lib/libEG.dylib
112 Expected in: dynamic lookup
113 (or something similar)
114(A) Your ROOT installation probably uses libEGPythia, which is not a default from ROOT.
115 Just modify the definition of LIBS in the file genMakefile.tcl, by adding "-lEGPythia6" at the end
116 LIBS = $(ROOTLIBS) -lEG $(SYSLIBS) -lEGPythia6
117 then recompile Delphes :
118 me@mylaptop:~$ make clean
119 me@mylaptop:~$ make
120
Note: See TracBrowser for help on using the repository browser.