Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
2015 Analysis Guide"Quick Start" for Xenia | ||||||||
Line: 22 to 22 | ||||||||
EVERYTIME: | ||||||||
Changed: | ||||||||
< < | setupATLAS localSetupRucioClients | |||||||
> > | setupATLAS localSetupRucioClients | |||||||
cd /a/data/xenia2/users/YOURWORKAREA/ ONCE: | ||||||||
Line: 67 to 68 | ||||||||
and then (assuming there were no errors!) run over each input file with: | ||||||||
Changed: | ||||||||
< < | ./read --files test_13/input_TT1100.root --analysis AnaTtresSL --output resolved_e.root,resolved_mu.root,boosted_e.root,boosted_mu.root --data 0 | |||||||
> > | ./read --files test13/input_TT1100.root --analysis AnaTtresSL --output resolved_e.root,resolved_mu.root,boosted_e.root,boosted_mu.root --data 0 | |||||||
You should get the output root files, which you can open and look at the histograms there using ROOT and a TBrowser. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
2015 Analysis Guide"Quick Start" for Xenia | ||||||||
Line: 65 to 63 | ||||||||
cd TopNtupleAnalysis cp -rp /a/data/xenia/users/tandeen/topana_test/TopNtupleAnalysis/test13 . | ||||||||
Changed: | ||||||||
< < | make | |||||||
> > | make | |||||||
and then (assuming there were no errors!) run over each input file with: | ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | ./read --files test/13input_TT1100.root --analysis AnaTtresSL --output resolved_e.root,resolved_mu.root,boosted_e.root,boosted_mu.root --data 0 | |||||||
> > | ./read --files test_13/input_TT1100.root --analysis AnaTtresSL --output resolved_e.root,resolved_mu.root,boosted_e.root,boosted_mu.root --data 0 | |||||||
You should get the output root files, which you can open and look at the histograms there using ROOT and a TBrowser. | ||||||||
Line: 99 to 94 | ||||||||
Comments | ||||||||
Changed: | ||||||||
< < | ||||||||
> > | </verbatim> |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
2015 Analysis Guide"Quick Start" for Xenia | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
1. Initial Setup: | ||||||||
Changed: | ||||||||
< < | On xenia (ssh xenia) edit (emacs/vi other) the .bashrc file in your home directory, adding the following lines: | |||||||
> > | This will show you how to get our code and walk you through to the point where you can make a histogram, and points you to code to change for adding a new histogram. You should know a bit about ROOT and C++ and be able to log into xenia. | |||||||
Changed: | ||||||||
< < | export ALRB_SCRATCH=/tmp/tandeen | |||||||
> > | On xenia (ssh xenia) | |||||||
Changed: | ||||||||
< < | export ATLAS_LOCAL_ROOT_BASE=/a/data/xenia/share/atlas/ATLASLocalRootBase/ | |||||||
> > | ONLY ONCE: | |||||||
Changed: | ||||||||
< < | alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh' | |||||||
> > | edit (emacs/vi other) the .bashrc file in your home directory, adding the following lines:
export ALRB_SCRATCH=/tmp/USERNAME export ATLAS_LOCAL_ROOT_BASE=/a/data/xenia/share/atlas/ATLASLocalRootBase/ alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'EVERYTIME: setupATLAS localSetupRucioClients cd /a/data/xenia2/users/YOURWORKAREA/ONCE: mkdir myworkdirEVERYTIME: cd myworkdir rcSetup Top,2.3.13ONCE: cp -rp /a/data/xenia/users/tandeen/topana_test/TtResonancesTools . cp -rp /a/data/xenia/users/tandeen/topana_test/HQTTtResonancesTools . cp -rp /a/data/xenia/users/tandeen/topana_test/TopDataPreparation . cp -rp /a/data/xenia/users/tandeen/topana_test/TopExamples . cp -rp /a/data/xenia/users/tandeen/topana_test/TopNtupleAnalysis .(to get via svn: svn co $SVNROOT/PhysicsAnalysis/TopPhys/xAOD/TtResonancesTools/tags/TtResonancesTools-01-00-00 TtResonancesTools svn co svn+ssh://$CERN_USER@svn.cern.ch/reps/atlasphys-top/Physics/Top/PhysAnalysis/Run2/HQTTtResonancesTools/tags/HQTTtResonancesTools-00-01-02 HQTTtResonancesTools svn co $SVNOFF/PhysicsAnalysis/TopPhys/xAOD/TopNtupleAnalysis/trunk [[TopNtupleAnalysis][TopNtupleAnalysis]] svn co svn+ssh://$CERN_USER@svn.cern.ch/reps/atlasoff/PhysicsAnalysis/TopPhys/TopPhysUtils/TopDataPreparation/trunk [[TopDataPreparation][TopDataPreparation]] svn co $SVNOFF/PhysicsAnalysis/TopPhys/xAOD/TopExamples/trunk [[TopExamples][TopExamples]]) rc find_packages rc compileNow copy over some input files: cd TopNtupleAnalysis cp -rp /a/data/xenia/users/tandeen/topana_test/TopNtupleAnalysis/test13 . makeand then (assuming there were no errors!) run over each input file with: ./read --files test/13input_TT1100.root --analysis AnaTtresSL --output resolved_e.root,resolved_mu.root,boosted_e.root,boosted_mu.root --data 0You should get the output root files, which you can open and look at the histograms there using ROOT and a TBrowser. To run over all the files at once copy the run.py from the scripts directory and run with python run.pyYou can make pretty plots by copying from plot.C from the scripts directory. edit plot.C and change the input files (should be around line 1282) to be those in the test13_hist dir (ie "input_ttbar") The you can make a plot with root -l -b -q 'plot.C+("lepPt","./test13_hist/","_bmu.root", false)'to make a plot of lepton transverse momentum for the muons channel with the boosted selection. To add a historgram or change the selection edit Root/AnaTtresSL.cxx. References: Much was taken from https://twiki.cern.ch/twiki/bin/viewauth/AtlasProtected/TtbarResonances2015 ![]() | |||||||
-- ![]() Comments | ||||||||
Changed: | ||||||||
< < | ||||||||
> > |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > | 2015 Analysis Guide"Quick Start" for Xenia
![]() Comments |