-- KenjiHamano - 2015-03-30

ATLAS Induction Day + Software Tutorial

ATLAS Software Development Tutorial

Trigger Software Dvelopment

Accessing HITS files

Twiki

Examples

Event Display

ATLAS related

$ setupATLAS
$ diagnostics
$ gridCert
$ localSetupGcc <value>
$ lsetup "gcc <value>"  for example  $ lsetup  "gcc gcc462_x86_64_slc6"
To get available <value>, do 
$ lsetup gcc --help
$ lsetup "root 5.34.25-x86_64-slc6-gcc48-opt"
$ lsetup "root 6.08.06-x86_64-slc6-gcc49-opt"
To get available root versions
$ showVersions root

$ showVersions gcc

Athena related

Check the contents of AOD
$ checkxAOD.py xAOD.pool.root
$ checkMetaSG.py
Pick up events in a eventlist.txt from a AOD and put them into a new AOD.
$ acmd.py filter-files -s eventlist.txt inutAODFile -o outputAODFile

$ chainDump.py --rootFile=HIST_HLTMON_bla_bla.root > log.txt 2>&1

CMake

 $ mkdir sources   #this is the testarea
 $ mkdir build        # this is the compilation directory - lives below
 $ cd sources
 $ asetup devval,rel_2,here    #cmake build is dev + extra packages
 $ svnco -t TriggerMenu          #cmt co etc doesnít work in the cmake build
 $ cd ../build
 $ cmake ../sources                #configures cmake build 
 $ make
 $ source x86_64-slc6-gcc49-opt/setup.sh    #adds locally checked out packages to

ART test

set up the ATLAS software
make your changes and compile
do your usual local test with Reco_tf.py
and then in addition, run the script corresponding to your formatís test, e.g.:
test_data18EGAM1.sh

Interactive access to xAOD

root [0] .x $ROOTCOREDIR/scripts/load_packages.C
root [1] f = TFile::Open(...);
root [2] t = xAOD::MakeTransientTree( f );
root [3] t->Draw( "Electrons.pt() - Electrons.trackParticle().pt()" );

Checking tags in nightly

For future reference
http://atlas-nightlies-browser.cern.ch/~platinum/nightlies/globalpage
click on 20.7.5.8
http://atlas-nightlies-browser.cern.ch/~platinum/nightlies/tags?nightly=20.7.X.Y-VAL-Prod&relname=rel_0&rel2cmp=previous

Tag Collector

How to use Tag Collector
1) Go to https://ami.in2p3.fr/index.php/en/
2) Click on "TagCollector 2"
3) Packages will be listed at the bottom
4) Make sure a correct release is selected
5) Select package tag from the list
6) Hit "Update Tag (approval)" button
7) On the new screen put in a justification (what this fixed) and the JIRA ticked ID (here: ATR-xxxxx) in the last field called Bug Report
6) Hit submit.
Edit | Attach | Watch | Print version | History: r26 < r25 < r24 < r23 < r22 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r26 - 2019-11-07 - KenjiHamano
 
    • 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