asc:tutorials:2014october28
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
asc:tutorials:2014october28 [2014/10/28 20:17] – [Lesson 2: Using pyROOT to read xAOD] asc | asc:tutorials:2014october28 [2014/10/28 21:33] – [Lesson 4: Filling histograms] asc | ||
---|---|---|---|
Line 95: | Line 95: | ||
__Method 1. If you are at ANL, copy it__: | __Method 1. If you are at ANL, copy it__: | ||
<code bash> | <code bash> | ||
- | cp / | + | cp / |
- | AOD.01482225._000140.pool.root | + | |
</ | </ | ||
Line 104: | Line 103: | ||
localSetupFAX --rootVersion=current-SL6 | localSetupFAX --rootVersion=current-SL6 | ||
voms-proxy-init -voms atlas | voms-proxy-init -voms atlas | ||
- | xrdcp $STORAGEPREFIX/ | + | xrdcp $STORAGEPREFIX/ |
</ | </ | ||
Line 120: | Line 119: | ||
setMeUpData anl-oct2014 mydata | setMeUpData anl-oct2014 mydata | ||
</ | </ | ||
- | The file will appear in " | + | The file will appear in " |
Line 294: | Line 293: | ||
python Make_input < | python Make_input < | ||
</ | </ | ||
+ | |||
+ | In case if you need xAOD data, do this: | ||
+ | |||
+ | <code bash> | ||
+ | mkdir data | ||
+ | cd data | ||
+ | localSetupFAX --rootVersion=current-SL6 | ||
+ | voms-proxy-init -voms atlas | ||
+ | xrdcp $STORAGEPREFIX/ | ||
+ | xrdcp $STORAGEPREFIX/ | ||
+ | xrdcp $STORAGEPREFIX/ | ||
+ | </ | ||
+ | |||
+ | and run: | ||
+ | |||
+ | < | ||
+ | cd .. | ||
+ | python Make_input data | ||
+ | </ | ||
+ | Now inputdata.txt should pick up your xAOD files. | ||
+ | |||
+ | |||
Now the input file is ready and we run the example as: | Now the input file is ready and we run the example as: | ||
Line 312: | Line 333: | ||
To do this we will need a number of changes: | To do this we will need a number of changes: | ||
- | 1) We need to link several ATLAS packages. | + | 1) We need to link several ATLAS packages |
< | < | ||
Line 320: | Line 341: | ||
in " | in " | ||
- | 2) Then we need to modify 2 places to put histograms | + | 2) Then we need to modify 2 places to put histograms |
<code python> | <code python> | ||
Line 372: | Line 393: | ||
TBrowser a | TBrowser a | ||
</ | </ | ||
- | and look at the histograms | + | and look at the histograms |
asc/tutorials/2014october28.txt · Last modified: 2014/10/29 13:55 by asc