Magic lines to put in .bashrc

Once you log in to atlas01/02, open .bashrc file in your home directory and add following lines :

export ATLAS_LOCAL_ROOT_BASE=/cvmfs/atlas.cern.ch/repo/ATLASLocalRootBase

alias setupATLAS='source ${ATLAS_LOCAL_ROOT_BASE}/user/atlasLocalSetup.sh'

Now you must switch to a “bash” shell by typing bash where the two lines above will be applied automatically. At this point to setup the ATLAS software you must type setupATLAS.


Atlas software and RootCore

To really set up the software following steps are required once you open a bash shell (see above):

  1. Create a directory where you put all of your codes and files for the analysis. Let’s name it “AtlasAnalysis”
  2. Create another folder where you want to do an specific analysis. Let’s name it “analysis_1”
  3. Now set up the Atlas software by commanding setupAtlas
  4. Go to “analysis_1” directory and setup the analysis area for RootCore analysis by commanding rcSetup Base,2.3.38
  5. Now you can try to create a new package for ATLAS analysis like this: rc make_skeleton UserPackage

where userPackage is a package name which you can be anything like JohnsPackage.

Now you can see four files and folder in analysis_1 directory namely:


Next time to setup the area created follow the steps below:

  1. go to “analysis_1” directory
  2. type setupATLAS
  3. type rcSetup