This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
asc:tutorials:2014october [2014/10/29 15:32] asc [Lesson 3: C++/ROOT program to read xAOD] |
asc:tutorials:2014october [2014/10/29 21:17] (current) asc [xAOD tutorial at ANL (October 28-29, 2014)] |
||
---|---|---|---|
Line 4: | Line 4: | ||
However, the lessons given below are simplified for a faster start. Also, the last 2 lessons are designed for the ANL cluster that uses condor for job submissions. | However, the lessons given below are simplified for a faster start. Also, the last 2 lessons are designed for the ANL cluster that uses condor for job submissions. | ||
In addition, we we will test US ATLAS connect as explained at the bottom of this page. | In addition, we we will test US ATLAS connect as explained at the bottom of this page. | ||
+ | |||
+ | Agenda of this tutorial is [[https:// | ||
Line 326: | Line 328: | ||
+ | <note tip>If the program fails saying that some shared library has a wrong format, clean ROOTCORE as "rc clean", | ||
+ | |||
====== Lesson 4: Filling histograms ====== | ====== Lesson 4: Filling histograms ====== | ||
Line 453: | Line 456: | ||
- | Now run " | + | Now let us |
+ | |||
+ | <code bash> | ||
+ | ./A_RUN | ||
+ | </ | ||
You can monitor jobs with this command (launched in a separate terminal): | You can monitor jobs with this command (launched in a separate terminal): | ||
Line 467: | Line 474: | ||
- | If it does not work: Debug it as: | + | If it does not work: debug it as: |
< | < | ||
testRun 00 | testRun 00 | ||
</ | </ | ||
+ | The command runs one job using the input list inputs/ | ||
+ | (Typically, this is due to wrong location of the goodrunlist) | ||
+ | |||
+ | |||
+ | If you run this program second time, clean the output directory: | ||
+ | |||
+ | < | ||
+ | rm -rf outputs/* | ||
+ | </ | ||
+ | (ROOTCORE does not like existing output directories) | ||
- | This will process inputs/ | ||
- | (Typically, this is due to wrong location of the goodrunlist). | ||
**Attention: | **Attention: | ||
Line 530: | Line 545: | ||
</ | </ | ||
- | When the jobs are done, the output files will be inside "Jobs" directory. Merge the ROOT outputs into one file as: | + | When the jobs are done, the output files will be inside |
<code bash> | <code bash> | ||
Line 558: | Line 573: | ||
See the instruction on how | See the instruction on how | ||
{{: | {{: | ||
+ | |||
+ | |||
+ | |||
+ | ======Using Eclipse to develop ATLAS code====== | ||
+ | |||
+ | [[asc: | ||
// | // |