Skip to content

neumeist/cmsdas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Muon short exercise

To setup the exercise environment, choose a 3-digit number to replace the three instances of xxx below, and execute:

# connect to LPC with a port forward to access the jupyter notebook server
ssh cmslpc-sl7.fnal.gov -L8xxx:localhost:8xxx

# create a working directory and clone the repo
mkdir -p nobackup/cmsdas2020
cd nobackup/cmsdas2020
git clone [email protected]:neumeist/CMSDAS_Muon.git
cd CMSDAS_Muon

# this script sets up the Python environment, only run once
./setup.sh

# this enables the environment, run it each login (csh users: use activate.csh)
source egammaenv/bin/activate

# this gives you permission to read CMS data via xrootd
voms-proxy-init --voms cms --valid 100:00

# in case you do not already have this in your .bashrc (or equivalent) please run
source /cvmfs/cms.cern.ch/cmsset_default.sh

jupyter notebook --no-browser --port 8xxx

There should be a link like http://localhost:8123/?token=... displayed in the output at this point, paste that into your browser. Then open exercise.ipynb.

About

CMS Data Analysis School exercises

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published