-- KenjiHamano - 2015-03-30

Container usgae

  setupATLAS -c centos7
  setupATLAS -c slc6

Doxygen

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

mc16 campaigns

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

  uint32_t runNum = eventInfo->runNumber();

  switch(runNum)
    {
    case 284500 :
      mcCampaignMD="mc16a";
      break;
    case 300000 :
      mcCampaignMD="mc16d";
      break;
    case 310000 :
      mcCampaignMD="mc16e";
      break;
    default :
      ANA_MSG_ERROR( "Could not determine mc campaign from run number! Impossible to autoconfigure PRW. Aborting." );
      return StatusCode::FAILURE;
      break;
    }
  ANA_MSG_INFO( "Determined MC campaign to be " << mcCampaignMD);

Data

Computing tutorials

ATLAS Induction Day + Software Tutorial

AB tutorial

AthAnalysis

Simple examples

HEP C++ Course

US-ATLAS Computing Bootcamp

Software Carpentry at CERN

R22 migration

common CP Algorithm

  • AMG meeting on 16 Dec 2022 PHYSLITE Analysis practical info to get started (Heather Russell (UVic), Verena Martinez Outschoorn (UMass), Nils Krumnack (Iowa State), James Catmore (Oslo), Cristiano Alpigiani (UW), RD Shaffer (IJCLab), Jana Schaarschmidt (UW))

Configuration

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

Columnar Analysis / RDataFrame

ATLAS Software Development Tutorial

Trigger Software Dvelopment

Athena Configuration (Component Accumulator)

Event Picking

Accessing Cells

Accessing HITS files

Twiki & Documents

ATLAS Software Quality

Examples

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
$ Merge_tf.py
This will give you correct metadata.

Check the contents of AOD

$ checkxAOD.py xAOD.pool.root
Check metadata
$ asetup Athena,master,latest
$ checkMetaSG.py xAOD.pool.root
$ meta-reader.py -m full  xAOD.pool.root
Look for "HepMCWeightNames" and "mc_event_weights"

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

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

Edit | Attach | Watch | Print version | History: r72 < r71 < r70 < r69 < r68 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r72 - 2023-01-30 - 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-2023 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