Skip to content

Jet energy resolution and corrections with NANAOD and columnar analysis based on Coffea.

Notifications You must be signed in to change notification settings

cms-jet/CoffeaJERC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CoffeaJERC

Jet energy resolution and corrections with NANAOD and columnar analysis based on Coffea.

Set up a coffea-enabled environment at FNAL

Below, change <username> to your user name, <your_directory> to your scratch directory.

Log into cmslpc:

ssh -L localhost:8888:localhost:8888  <username>@cmslpc-sl7.fnal.gov

Get a voms ticket:

voms proxy init -voms cms

Next set cache directory for singularity, go to that directory, and get the docker container for coffea-dask:

export SINGULARITY_CACHEDIR=/uscms_data/d2/<your_directory>/singularity/.singularity
cd /uscms_data/d2/<your_directory>/singularity
singularity shell -B ${PWD}:/work /cvmfs/unpacked.cern.ch/registry.hub.docker.com/coffeateam/coffea-dask:latest

From within the container, set the jupyter paths and start a server:

export JUPYTER_PATH=/work/.jupyter
export JUPYTER_RUNTIME_DIR=/work/.local/share/jupyter/runtime
export JUPYTER_DATA_DIR=/work/.local/share/jupyter
export IPYTHONDIR=/work/.ipython
jupyter notebook --ip 0.0.0.0 --no-browser --notebook-dir /work

Execute notebook

Go to localhost to open the jupyter interface.

Get the exercises

Open the terminal via "New -> Terminal"

Then

git clone https://github.com/cms-jet/CoffeaJERC.git

The example notebook is genL2L3.ipynb.

About

Jet energy resolution and corrections with NANAOD and columnar analysis based on Coffea.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •