TWiki> Main Web>TWikiUsers>KenjiHamano>KHAtlasSoft (revision 50)EditAttachPDF
-- KenjiHamano - 2015-03-30

Container usgae

  setupATLAS -c centos7
  setupATLAS -c slc6


$ asetup Athena,master,latest
$ cmake ../athena/Projects/WorkDir/
$ make doc
This will create a "docs/html" subdirectory in the build directory.
This use
to create a Doxygen file. You may need to add this line to the

mc16 campaigns

Can be determined from run numbers
  // Extract campaign automatically from Run Number
  std::string mcCampaignMD = "";

  uint32_t runNum = eventInfo->runNumber();

    case 284500 :
    case 300000 :
    case 310000 :
    default :
      ANA_MSG_ERROR( "Could not determine mc campaign from run number! Impossible to autoconfigure PRW. Aborting." );
      return StatusCode::FAILURE;
  ANA_MSG_INFO( "Determined MC campaign to be " << mcCampaignMD);

ATLAS Induction Day + Software Tutorial

US-ATLAS Computing Bootcamp

Software Carpentry at CERN

common CP Algorithm


Analysis Frameworks

  • AMG meeting on 22 April 2020 Analysis Framework Fest (Part 1): xAODAnaHelpers, PxAOD, AnalysisTop, SUSYTools, CxAOD, XAMPP framework, CAF, HGam, xTauFW
  • AMG meeting on 29 April 2020 Analysis Framework Fest (Part 2): FactoryTools, DVAnalysisBase, CalRatio, BLS group (Specialized for LLP, low pt objects, etc.)

Plan for Run3

ATLAS Software Development Tutorial

Trigger Software Dvelopment

Accessing HITS files

Twiki & Documents

ATLAS Software Quality


Event Display

Grid Certificate related

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"
$ lsetup "root 6.14.04-x86_64-slc6-gcc62-opt"
$ lsetup "root 6.20.02-x86_64-centos7-gcc8-opt"
To get available root and gcc versions
$ showVersions root
$ showVersions gcc
To see current versions
$ root --version
$ gcc --version

Set up root with LCG views
This is better for complete self-contained env is setup.
SL6 machine:

$ lsetup "views LCG_94 x86_64-slc6-gcc62-opt"
Centos7 with python2
lsetup “views LCG_98a x86_64-centos7-gcc8-opt”
Centos7 with python3
lsetup “views LCG_98python3_ATLAS_2 x86_64-centos7-gcc8-opt”

Athena related

Merge output of grid jobs
This will give you correct metadata.

Check the contents of AOD

$ xAOD.pool.root
Pick up events in a eventlist.txt from a AOD and put them into a new AOD.
$ filter-files -s eventlist.txt inutAODFile -o outputAODFile

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

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.trackParticle().pt()" );

Edit | Attach | Watch | Print version | History: r54 | r52 < r51 < r50 < r49 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r50 - 2021-03-01 - 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-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback