Fork me on GitHub

source: svn/trunk/FAQ@ 590

Last change on this file since 590 was 547, checked in by severine ovyn, 15 years ago

bug fix(jet Ntracks), 3-prong taus, vertex coordinates for tracks

File size: 5.1 KB
Line 
1Frequently Asked Questions
2
3-- Latest revision : 04/05/2009 --
4-- See also Delphes website:
5-- http://www.fynu.ucl.ac.be/users/s.ovyn/Delphes/faq.html
6
7
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
38(Q) From v1.9, Delphes allows both 1-prong and 3-prong tau-jets. How can I restrict the collection to 1-prong taus?
39(A) Check the values of the number of tracks associated to the jets (Ntracks) in the tau collection
40
41(Q) I do not remember how to run FROG
42(A) Just run the "frog" executable in Utilities/FROG
43 me@mylaptop:~$ cd Utilities/FROG
44 me@mylaptop:~$ ./frog
45
46(Q) frog executable is not found! ./Utilities/FROG/frog: No such file or directory
47(A) you should have compiled FROG first.
48 me@mylaptop:~$ cd Utilities/FROG
49 me@mylaptop:~$ make
50
51(Q) How should I know which external libraries I need for FROG ?
52(A) Please refer to this page on the FROG website:
53 http://projects.hepforge.org/frog/Visualization.html
54 you will need OpenGL, GLUT, X11-devel, Curl. For instance:
55 OpenGL :
56 xorg-x11-Mesa-libGL-6.8.2-1.EL.33.0.2
57 xorg-x11-Mesa-libGLU-6.8.2-1.EL.33.0.2
58 GLUT :
59 freeglut-2.2.0-14
60 freeglut-devel-2.2.0-14
61 X11-devel :
62 xorg-x11-devel-6.8.2-1.EL.33.0.2
63 CURL :
64 libcurl
65
66
67(Q) FROG complains that libcurl is missing. What should I do?
68(A) First, make sure the libcurl library is installed on your computer.
69 - locate it on your computer
70 me@mylaptop:~$ locate libcurl.so
71 /usr/lib/libcurl.so
72 - 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)
73 - if the libcurl.so is not found, juste make a symbolic link in Utilities/FROG/Lib:
74 me@mylaptop:~$ cd Utilities/FROG/Lib
75 me@mylaptop:~$ ln -s /usr/lib/libcurl.so
76 me@mylaptop:~$ ls -l libcurl.so
77 lrwxrwxrwx 1 me me 21 Jan 7 15:19 libcurl.so -> /usr/lib/libcurl.so.4.0.1
78 - now it should work properly
79
80(Q) (fixed) there are many lines printed at the end of the run of Delphes. Is it an error?
8155555 D0
82 - 20000 D0
83 - - 3000 (detId=900000000 Name=Delphes)
84 - - - 3000 (detId=910000000 Name=Tracker)
85 - - - - 41040 (detId=9100010)
86 - - - - 41040 (detId=9100020)
87 - - - - 41040 (detId=9100030)
88 - - - - 41040 (detId=9100040)
89...
90(A) no, this is normal, this is just the output of FROG, showing that everything is ok.
91You should find your *vis and *geom files when it has ended.
92
93
94(Q) Delphes is not compiling properly on Mac OS-X
95(A) One modification is required in the Makefile
96In Delphes' genMakefile.tcl, you should add "-Dmacos " in the CXXFLAGS definition (line 219):
97
98CXXFLAGS += $(ROOTCFLAGS) -Dmacos -DDROP_CGAL -I. -Iinterface ...
99
100
101(Q) FROG is not compiling properly on Mac OS-X
102(A) One modification is required in FROG's Makefile
103Open Utilities/FROG/Makefile. There, you should link the libcurl library in the compilation line of libfrog:
104
105Utilities/FROG/Makefile:
106libfrog.dylib : $(OBJS)
107 $(CXX) ... $(ARCHDEPENDENT) -lcurl -lX11 -lz -lpng -o $(LIBDIR)/$@
108Do not forget to recompile FROG from its directory (Utilities/FROG)
109 me@mylaptop:~$ cd Utilities/FROG
110 me@mylaptop:~$ make
111
112(Q) At run time, _hepevet_ symbol is not found:
113 dyld: Symbol not found: _hepevt_
114 Referenced from: /usr/local/root/lib/libEG.dylib
115 Expected in: dynamic lookup
116 (or something similar)
117(A) Your ROOT installation probably uses libEGPythia, which is not a default from ROOT.
118 Just modify the definition of LIBS in the file genMakefile.tcl, by adding "-lEGPythia6" at the end
119 LIBS = $(ROOTLIBS) -lEG $(SYSLIBS) -lEGPythia6
120 then recompile Delphes :
121 me@mylaptop:~$ make clean
122 me@mylaptop:~$ make
123
Note: See TracBrowser for help on using the repository browser.