diff --git a/_config.yml b/_config.yml index 87fa6e04..1d18cc0d 100644 --- a/_config.yml +++ b/_config.yml @@ -11,7 +11,7 @@ carpentry: "swc" # Overall title for pages. -title: "CMSDAS@IIT Hyderabad 2025: Jets and MET Short Exercise" +title: "HATS@LPC 2025: Jets and MET" # Life cycle stage of the lesson # See this page for more details: https://cdh.carpentries.org/the-lesson-life-cycle.html diff --git a/_episodes/01-jets101.md b/_episodes/01-jets101.md index efa8363e..dd41296f 100644 --- a/_episodes/01-jets101.md +++ b/_episodes/01-jets101.md @@ -22,7 +22,7 @@ keypoints: > ## Remember on LXPLUS > > ~~~ -> cd /notebooks/DAS/ +> cd /notebooks > source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc13-opt/setup.sh > jupyter notebook --no-browser --port=8888 --ip 127.0.0.1 > ~~~ @@ -232,8 +232,8 @@ Three main jet collections are stored in the MiniAOD format, as described [here] > Below are two examples of how to access jet collections from these samples. This exercise does not intend for you to modify code in order to access these collections, but rather for you to look at the code and get an idea about how you could access this information if needed. > > ### In C++ -> Please take a look at the file [`jmedas_miniAODAnalyzer.C`](https://github.com/cms-jet/JMEDAS/blob/DASJune2025/src/jmedas_miniAODAnalyzer.C) with your favourite code viewer. -> You can run this code by using the python config file [`jmedas_miniAODtest.py`](https://github.com/cms-jet/JMEDAS/blob/DASJune2025/scripts/jmedas_miniAODtest.py) from your terminal once you have set a CMSSW environment and download this JMEDAS package. This script will only print out some information about the jets in that sample. Again, the most important part of this exercise is to get familiar with how to access jet collections from miniAOD. Take a good look at the prints this script produces to your terminal. Use a **new** directory outside the cloned `JMEDAS` directory. +> Please take a look at the file [`jmedas_miniAODAnalyzer.C`](https://github.com/cms-jet/JMEDAS/blob/HATS2025/src/jmedas_miniAODAnalyzer.C) with your favourite code viewer. +> You can run this code by using the python config file [`jmedas_miniAODtest.py`](https://github.com/cms-jet/JMEDAS/blob/HATS2025/scripts/jmedas_miniAODtest.py) from your terminal once you have set a CMSSW environment and download this JMEDAS package. This script will only print out some information about the jets in that sample. Again, the most important part of this exercise is to get familiar with how to access jet collections from miniAOD. Take a good look at the prints this script produces to your terminal. Use a **new** directory outside the cloned `JMEDAS` directory. > ~~~ > cmsrel CMSSW_14_0_7 > cd CMSSW_14_0_7/src @@ -248,7 +248,7 @@ Three main jet collections are stored in the MiniAOD format, as described [here] > > ### In Python > -> Now take a look at the file [`jmedas_miniAODtest_purePython.py`](https://github.com/cms-jet/JMEDAS/blob/DASJune2025/scripts/jmedas_miniAODtest_purePython.py). +> Now take a look at the file [`jmedas_miniAODtest_purePython.py`](https://github.com/cms-jet/JMEDAS/blob/HATS2025/scripts/jmedas_miniAODtest_purePython.py). > This code can be run with simple python in your terminal. Similar as in the case for C++, the output of this job is some information about jets. The most important part of the exercise is to get familiar with how to access jet collections using python from miniAOD. > ~~~ > python3 $CMSSW_BASE/src/Analysis/JMEDAS/scripts/jmedas_miniAODtest_purePython.py diff --git a/_episodes/02-Pileup_jetID.md b/_episodes/02-Pileup_jetID.md index d74064e0..ba5848a9 100644 --- a/_episodes/02-Pileup_jetID.md +++ b/_episodes/02-Pileup_jetID.md @@ -18,7 +18,7 @@ keypoints: > > If using LXPLUS: > ~~~ -> cd /notebooks/DAS/ +> cd /notebooks > source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc13-opt/setup.sh > jupyter notebook --no-browser --port=8888 --ip 127.0.0.1 > ~~~ diff --git a/_episodes/03-JEC_JER.md b/_episodes/03-JEC_JER.md index 134a3f7f..fcfc6e9c 100644 --- a/_episodes/03-JEC_JER.md +++ b/_episodes/03-JEC_JER.md @@ -16,7 +16,7 @@ keypoints: > ## After following the instructions in the setup (if you have not done it yet) : > > ~~~ -> cd /notebooks/DAS/ +> cd /notebooks/ > source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc13-opt/setup.sh > jupyter notebook --no-browser --port=8888 --ip 127.0.0.1 > ~~~ diff --git a/_episodes/04-Jet_Substructure.md b/_episodes/04-Jet_Substructure.md index ca627900..022e94c9 100644 --- a/_episodes/04-Jet_Substructure.md +++ b/_episodes/04-Jet_Substructure.md @@ -18,7 +18,7 @@ keypoints: > ## After following the instructions in the setup: > > ~~~ -> cd /notebooks/DAS/ +> cd /notebooks/ > source /cvmfs/sft.cern.ch/lcg/views/LCG_105/x86_64-el9-gcc13-opt/setup.sh > jupyter notebook --no-browser --port=8888 --ip 127.0.0.1 > ~~~ diff --git a/_extras/discuss.md b/_extras/discuss.md index b5e66b51..02ab30d1 100644 --- a/_extras/discuss.md +++ b/_extras/discuss.md @@ -2,6 +2,6 @@ title: Discussion --- -Join us in the mattermost channel: [ShortExJets Mattermost channel](https://mattermost.web.cern.ch/cmsdasiithjune2025/channels/jetmet-se) +Join us in the mattermost channel: [LPC-JetMET Mattermost channel](https://mattermost.web.cern.ch/lpcrun2discuss/channels/jetmet-pu) {% include links.md %} diff --git a/index.md b/index.md index 252cb3cb..86ef9735 100644 --- a/index.md +++ b/index.md @@ -46,22 +46,17 @@ _Follow the CMS workbook on jet analysis:_ [WorkBookJetAnalysis](https://twiki.c > * The exercises are prepared to be run directly from a cmslpc node, with non-interactive notebooks to follow and discuss the exercises. {: .testimonial} -### Facilitators CMSDAS IIT Hyderabad 2025 +### Facilitators HATS@LPC 2025 Photo of the facilitators ### Support Join the -[SE-JetMET Mattermost channel](https://mattermost.web.cern.ch/cmsdasiithjune2025/channels/jetmet-se) +[LPC-JetMET Mattermost channel](https://mattermost.web.cern.ch/lpcrun2discuss/channels/jetmet-pu) and don't hesitate to ask for help from the facilitators in the room. {% comment %} This is a comment in Liquid {% endcomment %} -> ## Prerequisites -> -> [CMS DAS Pre-exercises](https://indico.cern.ch/event/1553817/) -{: .prereq} - {% include links.md %} diff --git a/setup.md b/setup.md index b4f55791..f213b88c 100644 --- a/setup.md +++ b/setup.md @@ -7,7 +7,7 @@ title: Setup In order to obtain EOS space for the exercises, open the [CERNBox website](https://cernbox.cern.ch/) and log in with your CERN credentials. This will provide you with 1 TB of space in -`/eos/user//`, e.g. `/eos/user/c/clange`. +`/eos/user//`, e.g. `/eos/user/g/gagarwal`. You can either use LXPLUS or SWAN to run the exercises. You can switch between the two by following the instructions below. @@ -47,14 +47,14 @@ cp -r ~/.globus /eos/user/${USER:0:1}/${USER} ## Cloning the repository ~~~ -git clone https://github.com/cms-jet/JMEDAS.git -b DASJune2025 --single-branch --depth=1 -cd JMEDAS/notebooks/DAS/ +git clone https://github.com/cms-jet/JMEDAS.git -b HATS2025 --single-branch --depth=1 +cd JMEDAS/notebooks/ ~~~ {: .language-bash} > ## Remember -> Once you clone the repository, using the `DASJune2025` branch, the exercise notebooks are located -> in `JMEDAS/notebooks/DAS/` +> Once you clone the repository, using the `HATS2025` branch, the exercise notebooks are located +> in `JMEDAS/notebooks` {: .callout} Activate your grid certificate: @@ -80,8 +80,8 @@ jupyter notebook --no-browser --port=8888 --ip 127.0.0.1 If these two lines are running sucessfully, you should see something like this: ~~~ -[I 22:17:24.498 NotebookApp] Writing notebook server cookie secret to /afs/cern.ch/user/c/clange/.local/share/jupyter/runtime/notebook_cookie_secret -[I 22:17:26.375 NotebookApp] Serving notebooks from local directory: /eos/home-c/clange/JMEDAS/notebooks/DAS +[I 22:17:24.498 NotebookApp] Writing notebook server cookie secret to /afs/cern.ch/user/g/gagarwal/.local/share/jupyter/runtime/notebook_cookie_secret +[I 22:17:26.375 NotebookApp] Serving notebooks from local directory: /eos/home-g/gagarwal/JMEDAS/notebooks/DAS [I 22:17:26.376 NotebookApp] Jupyter Notebook 6.4.0 is running at: [I 22:17:26.376 NotebookApp] http://127.0.0.1:8888/?token=b7de34fb074433b51831bdef0f0818f13279824ab33502cd [I 22:17:26.376 NotebookApp] or http://127.0.0.1:8888/?token=b7de34fb074433b51831bdef0f0818f13279824ab33502cd @@ -89,7 +89,7 @@ If these two lines are running sucessfully, you should see something like this: [C 22:17:26.384 NotebookApp] To access the notebook, open this file in a browser: - file:///afs/cern.ch/user/c/clange/.local/share/jupyter/runtime/nbserver-521240-open.html + file:///afs/cern.ch/user/g/gagarwal/.local/share/jupyter/runtime/nbserver-521240-open.html Or copy and paste one of these URLs: http://127.0.0.1:8888/?token=b7de34fb074433b51831bdef0f0818f13279824ab33502cd or http://127.0.0.1:8888/?token=b7de34fb074433b51831bdef0f0818f13279824ab33502cd