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 revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
asc:tutorials:2014october28 [2014/10/28 20:17] – [Lesson 2: Using pyROOT to read xAOD] ascasc:tutorials:2014october28 [2014/10/28 21:32] – [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 /data/nfs/chakanau/tutorial_xAOD_long/valid2.117050.PowhegPythia_P2011C_ttbar.digit.AOD.e2657_s1933_s1964_r5534_tid01482225_00/AOD.01482225._000140.pool.root.1 +cp /data/nfs/chakanau/tutorial_xAOD_long/valid2.117050.PowhegPythia_P2011C_ttbar.digit.AOD.e2657_s1933_s1964_r5534_tid01482225_00/AOD.01482225._000140.pool.root.1  AOD.01482225._000140.pool.root
-AOD.01482225._000140.pool.root .+
 </code> </code>
  
Line 104: Line 103:
 localSetupFAX --rootVersion=current-SL6 localSetupFAX --rootVersion=current-SL6
 voms-proxy-init -voms atlas voms-proxy-init -voms atlas
-xrdcp $STORAGEPREFIX/atlas/rucio/valid2:AOD.01482225._000140.pool.root.1 AOD.01482225._000140.pool.root.1+xrdcp $STORAGEPREFIX/atlas/rucio/valid2:AOD.01482225._000140.pool.root.1 AOD.01482225._000140.pool.root
 </code> </code>
  
Line 120: Line 119:
 setMeUpData anl-oct2014 mydata setMeUpData anl-oct2014 mydata
 </code> </code>
-The file will appear in "mydata/tutorial/anl-oct2014/datase/" directory+The file will appear in "mydata/tutorial/anl-oct2014/database/" directory
  
  
Line 294: 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 372: 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