If you are using Unix/Linux based operating system and having difficulties for installing CERNLIB, the best way is to try the simplest way: manual installation.
1- ) Go to http://cernlib.web.cern.ch/cernlib/version.html and click “compressed tar files” link which is proper with your system.
cd / (open your root folder)
4-) copy 3 tar files that you’ve already downloaded (cernlib.tar.gz, cernbin.tar.gz, include.tar.gz) into cern folder you created.
5-) Go into your Cern folder you’ve already created and write the command:
tar -xvf cernlib.tar
tar -xvf cernbin.tar
tar -xvf include.tar
6-) Create symbolic links in this folder:
ln -s 2006 pro
ln -s 2006 new
(If you don’t have a folder 2006, change it with the name you have exp: 2004,2005,2007…etc)
7-) Now you should set some system variables: write “
export” on the command line to see all fixed system variables and their values which has been declared in the past.
8 ) You must change the variables related to CERN. So either write following commands on the command line or add them into your /etc/bashrc file (for unix). If you add them into your /etc/baschrc file, you won’t need to set these variables everytime you open your computer.
export CERN=<Your Cern Directory>
export CERN_ROOT=<Your Cern Directory>
IMPORTANT: Please check your environmental variables by writing “export” in your command line. If you installed Cernlib by Fink or apt-get before, you may not get correct CERN_ROOT, CERNLIB or CERNBIN variables. In this case, open corresponding bashrc/profile files and edit your CERN variables. For fink, edit cernlib… csh, sh files under /sw/etc/profile.d folder.
Mac OsX terminal window has powerful features than any other operating systems but if you are working on a remote server you need to know a little more about it.
If you are using MacOSX and if you are connecting lxplus@cern using regular command ssh, the first thing you will observe is that your system cannot open X11 window which is needed by ROOT. To overcome this problem, you should connect using either
ssh -X firstname.lastname@example.org
ssh -Y email@example.com
X option, provides you a ssh connection forwarding X11. And Y option, provides a ssh connection Forwarding trusted X11.
After you logged in using your user name and password, you have 2 options to run ROOT.
1 -) Entering ROOT variables below:
2-) Or just source Athena Framework and setup root from Athena: (Note that Athena consists much more than ROOT)
alias asetup='source $AtlasSetup/scripts/asetup.sh'
–Recently this procedure has been changed and became eaiser. Please google for sourcing Athena framework–
Then just write “root” and start your analysis.
If you are someone new at CERN, lets say an undergraduate or a Ph.D. student, sooner or later you’ll realize the abbreviation list you have to learn. And this is not an ordinary task to be able to understand while someone is talking about AODs,ESDs,DPDs…etc. So you’d better memorize the list below before losing your mind like “what the hell is going on here!!” I am presenting a short dictionary below, actual list is quite longer. :))
ACCU: Advisory Committee of CERN Users; High level committee to discuss the projects of member countries and users.
AFS: Andrew File System; a network file system that allows users to reach datasets and experimental results. AFS is a distributed file system available for UNIX and other operating systems.
AMI: Atlas Metadata Interface; AMI is the primary physicist web tool that provides physics metadata bookkeeping and access to the Dataset Selection Catalog for ATLAS through an optimized search interface.
ALICE: A Large Ion Collider Experiment; it is also the name of the corresponding detector which is located outside of CERN facility.
AOD: Analysis Object Data; This is the file format of reduced datasets from ESD.
ARDA: A Realization of Distributed Analysis; is an LCG project whose main activity is to enable LHC analysis on the grid.
ATHENA: is the name of the framework which is a derivative of the Gaudi Common Framework Project.
ATLAS: A Toroidal LHC ApparatuS; the name of one of the detectors which is 44 meters long and 25 meters in diameter.
ATLFAST: is the package for fast simulation of ATLAS detector and physics analysis.
BSM: Beyond Standard Model; generally used for expressing models other than Standard Model like Supersymmetric, extra dimensional, exotic, technicolor…etc.
CAF: Cern Analysis Facility; is a cluster at CERN running PROOF. It can be used for prompt analysis of pp data as well as selected PbPb data. Furthermore calibration programs can be run on the CAF.
CASTOR: Cern Advanced STORage Manager; is a hierarchical storage management (HSM) system developed at CERN used to store physics production files and user files.
CERN: European Organization for Nuclear Research, (Originally French: Organisation Européenne pour la Recherche Nucléaire)
CDS: Cern Document Server; This is simply the site located at the address http://cdsweb.cern.ch/
CINT: is an interpreter for C and C++ code. It is useful e.g. for situations where rapid development is more important than execution time.
CLIC: The Compact Linear Collider; is another planning Cern project which will collide particles at 3 TeV in a linear orbit.
CMS: The Compact Muon Solenoid Experiment; is also the name of the corresponding detector at Cern.
COMPHEP: is a stand-alone software to generate events and high energy physics calculations via Matrix Element Monte Carlo method.
CSC: 1) Cathode Strip Chambers; 2) Cern School of Computing
DDM: Distributed Data Management; allows user to manage distributed experiment datas to the Tier centers around the world.
DFS: Data File System;
DLF: Distributed Logging Facility is a powerful logging facility which allows centralised logging and accounting in CASTOR.
DPD: Derived Physics Dataset; This is the file format of datasets which is derived from either ESDs or AODs.
DQM: Data Quality Monitoring; is an experimental online/offline data monitoring system developed by Cern.
EDM: Event Data Model; is the platform that allows the use of common software between online data processing and offline reconstruction.
ESD: Event Summary Data; is the file format derived by raw data in collision experiments at Cern.
EVO: Enabling Virtual Organizations; is a java network messenger and communication tool dominantly used in Cern.
GANGA: is an easy-to-use frontend for job definition and management with a basic interface, implemented in Python.
GLIMOS: Group Leader in Matters of Safety for Experiments and Tasks
LCG: LHC Worldwide Computing Grid; is a global collaboration of more than 170 computing centres in 34 countries. The mission of the WLCG project is to build and maintain a data storage and analysis infrastructure for the entire high energy physics community that will use the Large Hadron Collider at
LHC: Large Hadron Collider;
LHCb: Large Hadron Collider b-quark; is an experiment set up to explore what happened after the Big Bang that allowed matter to survive and build the Universe we inhabit today.
LHCf: Large Hadron Collider Forward experiment; consists of two small calorimeters each one placed 140 meter away from the Atlas interaction point. Their purpose is to study forward production of neutral particles in pp collisions.
LSF: Local Sharing Facility; This is a batch service by Cern computing department.
MICROMEGAS: MicroMEsh GAseous Structure; is a detector first developed at CERN in Geneva for high-energy physics charged-particle tracking applications.
N-Tuple: in set theory, n-tuple is a sequence (or ordered list) of n elements, where n is a positive integer. In high energy physics, n defines separate measurements such as rapidity, missing transverse energy, photon, muon, tau multipicity…etc. versus events.
NICE: A Unix-like operating system is one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the single unix specification. It is also required a NICE account to be able to use the system for users at Cern.
PANDA: Production and Distributed Analysis system; Job defining and executing system at Grid.
PLUS: Public Login User Service (LXPLUS)
PROOF: Parallel ROOT Facility; allows interactive parallel analysis on a local cluster. Interactive means that you see the results right away.
OSG: Open Science Grid;
ROOT: An object oriented framework for large scale data analysis.
Savannah: is the department at Cern which is responsible for development, distribution and maintainance of software.
SPS: The Super Proton Synchrotron (SPS) is a 6.9 km long particle accelerator at Cern. This is also used for injection the particles to LHC.
SUSY: Supersymmetry; an extra dimensional model which assumes that fermions or bosons has an extra symmetry with an invisible corresponding boson field or fermion field.
SM: Standard Model; is the model that unified known 3 interactions (electromagnetic+weak+strong) and its particles excluding the effects of gravitation which is the 4th known interaction field.
TOTEM: Total Cross Section, Elastic Scattering and Diffraction Dissociation at the LHC; is the experiment studies forward particles to focus on physics that is not accessible to the general-purpose experiments.
TIER: grid centers that collects the experiment data around the world. They also named according to the data they received such as Tier-0, Tier-1, Tier-2.
TPC: The Time Projection Chamber (TPC) is the main tracking detector in the central barrel of the ALICE experiment at LHC.
TSO: Territorial Safety Officer.
VO: Virtual organization; this is related to the certification at Cern Grid.