Getting SCT ntuple production running on lxplus

In the following, it is assumed that you are using bash. However, instructions were also tested under csh with the appropriate modifications.
Keep in mind to use /afs/cern.ch/atlas/offline/external/tcsh/6.15.00/amd64_linux26/bin/tcsh to avoid trouble doing asetup.

1. Set up grid and DQ2

  • source /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh
  • source /afs/cern.ch/atlas/offline/external/GRID/ddm/DQ2Clients/setup.sh
  • voms-proxy-init -voms atlas
2. Get the RAW data file you would like to run over, e.g.
  • do NOT set up athena yet!
  • cd
     <area with some space> 
  • mkdir -p SCT_ntupling/testarea
  • cd SCT_ntupling
  • ln -s /tmp/$USER/ data
    • note which lxplus machine you are using and log onto the same again later!!
  • cd data
  • dq2-get data12_8TeV.00206564.express_express.merge.RAW
    • 2 zeros before run number, and do not put a / at the end
    • you can stop dq2-get after it transferred a few files. Else it will just get a LOT of files for this run
  • of course these steps have to be done only once
3. Open a second shell and set up Athena (DQ2 and Athena are python incompatible)
  • cd [...]testarea/
  • add, if not yet done, to your .bashrc the following lines:
    • export AtlasSetup=/afs/cern.ch/atlas/software/dist/AtlasSetup
    • alias asetup='source $AtlasSetup/scripts/asetup.sh'
  • mkdir 17.2.X
  • cd 17.2.X
  • asetup 17.2.X rel_2,here
4. Check out and compile the code
  • cmt co -r TrackD3PDMaker-01-03-08 PhysicsAnalysis/D3PDMaker/TrackD3PDMaker
    • the tag for 17.2.4 is "TrackD3PDMaker-01-03-08", you can also use "HEAD" for the latest dev code, though as always with the HEAD it might not compile or run
  • cd PhysicsAnalysis/D3PDMaker/TrackD3PDMaker/cmt
  • cmt config
  • source setup.sh
  • gmake
5. Run the D3PDMaker from the directory, where Athena is set up:
  • Reco_trf.py inputBSFile=<pathToRAWFile> outputNTUP_SCTFile=SctNtuple.root outputESDFile=ESD.pool.root autoConfiguration='everything' maxEvents=10
  • Set maxEvents=-1 ro run over all events

Background Info

ATLAS releases & tags

Info around what a given release is made for

https://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlasProductionReleaseNotes

All the tags...

AMI tag collector

Links to muon code

Thanks to Clemens for digging these out:

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/AnalysisCommon/AnalysisExamples/trunk/src/MiscellaneousExamples.cxx#L310

https://twiki.cern.ch/twiki/bin/viewauth/Atlas/MuonIDAnalysis#Athena_Framework

https://twiki.cern.ch/twiki/bin/viewauth/Atlas/InnerDetectorTutorials

https://svnweb.cern.ch/trac/atlasoff/browser/Reconstruction/MuonIdentification

https://svnweb.cern.ch/trac/atlasoff/browser/PhysicsAnalysis/D3PDMaker/MuonD3PDMaker/trunk/src/MuonQualityFillerTool.cxx

Some scribble from Ingo...

Might be useful... or not wink

  • less ~ibloch/public/athena_120724.txt
  • Proof that Ingo managed to run the code and check out the ntuple ;):
    sct_clusters_3D.png
-- LauraRehnisch - 24-Jul-2012
Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng sct_clusters_3D.png r1 manage 127.8 K 2012-08-23 - 14:52 IngoBloch Proof that Ingo managed to run the code and check out the ntuple wink
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r12 - 2012-09-27 - LauraRehnisch
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback