Skip to content

gracecummings/CMSDAS_EGamma

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EGamma exercise

This exercise provdes an introduction to CMS electron and photon objects. It is used as part of:

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
# remember to `kinit USERNAME@FNAL.GOV` to set up kerberos authorization before logging in
ssh USERNAME@cmslpc-sl7.fnal.gov -L8xxx:localhost:8xxx

# create a working directory and clone the repo
cd nobackup # if this symlink does not exist, look for /uscms_data/d1/$USER
git clone git@github.com:gracecummings/CMSDAS_EGamma.git
cd CMSDAS_EGamma

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

# 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

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

There should be a link like http://localhost:8xxx/?token=... displayed in the output at this point, paste that into your browser. You should see a jupyter notebook with a directory listing. Open exercise.ipynb.

About

CMSDAS @ the LPC 2023

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 99.8%
  • Shell 0.2%