User Tools

Site Tools


asc:tutorials:2014october28

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
asc:tutorials:2014october28 [2014/10/28 20:35]
asc [Lesson 1: Looking at a xAOD file]
asc:tutorials:2014october28 [2014/10/29 13:53]
asc old revision restored (2014/10/28 16:33)
Line 293: Line 293:
 python Make_input <directory with xAOD files> python Make_input <directory with xAOD files>
 </code> </code>
 +
 +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/atlas/rucio/valid2:AOD.01482225._000140.pool.root.1 .
 +xrdcp $STORAGEPREFIX/atlas/rucio/valid2:AOD.01482225._000141.pool.root.1 .
 +xrdcp $STORAGEPREFIX/atlas/rucio/valid2:AOD.01482225._000142.pool.root.1 .
 +</code>
 +
 +and run:
 +
 +<code>
 +cd ..
 +python Make_input data
 +</code>
 +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 311: 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 (it's done already, just look what is inside of the package prepared for this lesson)
  
 <code> <code>
Line 319: Line 341:
 in "cmt/Makefile.RootCore". We linked more packaged than needed to illustrate what can be linked.  Use "rc version" to check their versions. in "cmt/Makefile.RootCore". We linked more packaged than needed to illustrate what can be linked.  Use "rc version" to check their versions.
  
-2) Then we need to modify 2 places to put histograms +2) Then we need to modify 2 places to put histograms (it's done already in the example shown below)
  
 <code python> <code python>
Line 371: Line 393:
 TBrowser a TBrowser a
 </code> </code>
-and look at the histograms of jet and muon pT.+and look at the histograms with jet and muon pT.
  
  
asc/tutorials/2014october28.txt ยท Last modified: 2014/10/29 13:55 by asc