Skip to content

Commit 76481f8

Browse files
authored
Merge pull request #33 from pallabidas/gh-pages
updated instructions and figures
2 parents 3488b61 + fe3f9ea commit 76481f8

9 files changed

Lines changed: 23 additions & 22 deletions

_episodes/05-MET101.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ keypoints:
1919
> ## After following the instructions in the jets exercise setup, make sure you have the CMS environment and create the symbolic link to MET analyzer:
2020
>
2121
> ~~~
22-
> cd $CMSSW_BASE/src
22+
> cd $CMSSW_BASE/src/Analysis
2323
> cmsenv
24-
> cd Analysis
25-
> ln -s JMEDAS/MET_Analysis MET
26-
> scram b
2724
> ~~~
2825
> {: .language-bash}
2926
{: .callout}
@@ -99,7 +96,7 @@ $$\textrm{PUPPI}~\vec{p}_{T}^{~miss} = - \sum_{i \in all~PF~Cands} w_i~\vec{p}_{
9996
10097
The figure below presents the MET distribution for both PF MET and PUPPI MET in events with leptonically decaying W bosons, demonstrating the improved performance achieved with PUPPI MET.
10198
102-
<img src="../fig/episode5/CMS-JME-17-001_Figure_003.pdf" alt="" style="width:70%">
99+
<img src="../fig/episode5/PF_vs_PUPPI.pdf" alt="" style="width:70%">
103100
104101
> ## Remember
105102
> PUPPI MET is the default MET algorithm in Run~3.

_episodes/06-METcalibration.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ $$\vec{p}_{T}^{~miss,~Type-1} = - \sum_{i}^{nJets} \vec{p}_{T, jet}^{~corr} - \s
7474
7575
7676
<figure>
77-
<img src="../fig/episode6/CMS-JME-17-001_Figure_009.pdf" alt="" style="width:40%">
78-
<img src="../fig/episode6/CMS-JME-17-001_Figure_013.pdf" alt="" style="width:40%">
79-
<center><figcaption>We will revisit this in MET performance, but this figure shows a comarison between the MET scale for raw PF MET vs Type-1 PF MET.</figcaption></center>
77+
<img src="../fig/episode6/Response-2.pdf" alt="" style="width:40%">
78+
<center><figcaption>We will revisit this in MET performance, but this figure shows a comparison between the MET scale for raw and Type-1 corrected MET.</figcaption></center>
8079
</figure>
8180
8281
### Type-1 Smear MET (For MC only)
@@ -147,7 +146,7 @@ We will use the same file as in the previous exercise [Exercise 1.1](https://cms
147146
Execute the following commands inside the CMSSW environment created during setup:
148147
149148
~~~
150-
cd $CMSSW_BASE/src/Analysis/MET
149+
cd $CMSSW_BASE/src/Analysis/JMEDAS
151150
cmsRun test/run_CMSDAS_MET_Exercise2_cfg.py
152151
~~~
153152
{: .language-bash}
@@ -158,7 +157,7 @@ This script will:
158157
- Print the values of various sources of systematic uncertainties
159158
Additionally, the script demonstrates how to access MET with different levels of corrections applied. By default, Type-1 MET is selected.
160159
161-
The analyzer being run using is command is `CMSDAS_MET_Analysis/plugins/CMSDAS_MET_AnalysisExercise2.cc`. The printout looks like the following:
160+
The analyzer being run using is command is `JMEDAS/plugins/CMSDAS_MET_AnalysisExercise2.cc`. The printout looks like the following:
162161
```
163162
Begin processing the 1st record. Run 1, Event 138728702, LumiSection 513811 on stream 0 at 05-Jan-2025 14:40:03.942 CST
164163
MET :
@@ -185,7 +184,7 @@ Begin processing the 1st record. Run 1, Event 138728702, LumiSection 513811 on s
185184
{: .solution}
186185
187186
## Exercise 2.2
188-
Now we make the following modifications to the configuration script `CMSDAS_MET_Analysis/test/run_CMSDAS_MET_Exercise2_cfg.py`:
187+
Now we make the following modifications to the configuration script `JMEDAS/test/run_CMSDAS_MET_Exercise2_cfg.py`:
189188
- Prevent printouts by setting `doprints` to `False`.
190189
- Reduce the frequency of the report from "every" event to "every 10000" events by `modifying process.MessageLogger.cerr.FwkReport.reportEvery`.
191190
- Run over all events in the file by updating `process.maxEvent`s from 10 to -1.
@@ -200,7 +199,7 @@ Once the process completes (it will take a few seconds), it will produce a ROOT
200199
To generate the plot, run the following commands:
201200
202201
~~~
203-
cd $CMSSW_BASE/src/Analysis/MET/scripts
202+
cd $CMSSW_BASE/src/Analysis/JMEDAS/scripts
204203
root -l -q 'cmsdasmetplotsexercise2.C("step2a")'
205204
~~~
206205
{: .language-bash}
@@ -218,7 +217,7 @@ Next, we will focus on Type-1 PF MET and study the impact of various uncertainti
218217
To generate the corresponding plot, use the following command:
219218
220219
~~~
221-
cd $CMSSW_BASE/src/Analysis/MET/scripts
220+
cd $CMSSW_BASE/src/Analysis/JMEDAS/scripts
222221
root -l -q 'cmsdasmetplotsexercise2.C("step2b")'
223222
~~~
224223
{: .language-bash}

_episodes/07-METperformance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ In this exercise, we will measure the scale of the "uncorrected" (raw) PF MET as
5959
6060
To start, run the following commands:
6161
~~~
62-
cd $CMSSW_BASE/src/Analysis/MET/scripts
62+
cd $CMSSW_BASE/src/Analysis/JMEDAS/scripts
6363
root -l -q 'cmsdasmetplotsexercise3.C("step3_scale_pfraw")'
6464
~~~
6565
{: .language-bash}
@@ -75,7 +75,7 @@ root -l -q 'cmsdasmetplotsexercise3.C("step3_scale_pfraw")'
7575
7676
Next, measure the MET scale using the Type-1 calibrated MET. Run the following commands:
7777
~~~
78-
cd $CMSSW_BASE/src/Analysis/MET/scripts
78+
cd $CMSSW_BASE/src/Analysis/JMEDAS/scripts
7979
root -l -q 'cmsdasmetplotsexercise3.C("step3_scale_pftype1")'
8080
~~~
8181
{: .language-bash}
@@ -94,7 +94,7 @@ root -l -q 'cmsdasmetplotsexercise3.C("step3_scale_pftype1")'
9494
9595
Now, let’s analyze the resolution of MET as a function of pT(Z) and the number of pileup vertices. To do this, run:
9696
~~~
97-
cd $CMSSW_BASE/src/Analysis/MET/scripts
97+
cd $CMSSW_BASE/src/Analysis/JMEDAS/scripts
9898
root -l -q 'cmsdasmetplotsexercise3.C("step3_resolution_pftype1")'
9999
~~~
100100
{: .language-bash}
@@ -131,7 +131,7 @@ Equipped with the ability to evaluate MET performance through scale and resoluti
131131
132132
To generate the corresponding plots, use the following command:
133133
~~~
134-
cd $CMSSW_BASE/src/Analysis/MET/scripts
134+
cd $CMSSW_BASE/src/Analysis/JMEDAS/scripts
135135
root -l -q 'cmsdasmetplotsexercise4.C'
136136
~~~
137137
{: .language-bash}

_episodes/08-AnomalousMET.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ These anomalous MET events can arise from:
3333
3434
In such events, the MET value may be much higher than expected and does not reflect true missing energy from invisible particles (like neutrinos or dark matter candidates).
3535
36+
<figure>
37+
<img src="../fig/episode8/met_scanning_fig.pdf" alt="" style="width:70%">
38+
<center><figcaption> An example of identifying the source of anomalous MET.</figcaption></center>
39+
</figure>
40+
3641
## Noisy event filters
3742
3843
To identify false MET, several algorithms have been developed that analyze factors such as timing, pulse shape, and signal topology.
@@ -41,7 +46,7 @@ These cleaning algorithms, or filters, run in separate processing paths, and the
4146
Analyzers can use this decision bit to filter out noisy events. These filters are specifically designed to reject events with unusually large MET values caused by spurious signals.
4247
4348
<figure>
44-
<img src="../fig/episode8/CMS-JME-17-001_Figure_004.pdf" alt="" style="width:80%">
49+
<img src="../fig/episode8/CMS-JME-17-001_Figure_004.pdf" alt="" style="width:70%">
4550
<center><figcaption> MET $p_T$ and leading jet $\phi$ distributions, with and without the application of event filters.</figcaption></center>
4651
</figure>
4752
@@ -52,12 +57,12 @@ Noisy event filters (previously called MET Filters) are stored as trigger result
5257
5358
In this exercise, we will show how to access the MET Filters in miniAOD. Please run the following commands:
5459
~~~
55-
cd $CMSSW_BASE/src/Analysis
56-
cmsRun MET/test/run_CMSDAS_MET_Exercise4_cfg.py
60+
cd $CMSSW_BASE/src/Analysis/JMEDAS
61+
cmsRun test/run_CMSDAS_MET_Exercise4_cfg.py
5762
~~~
5863
{: .language-bash}
5964
60-
This example accesses the decision bits for the following MET Filters: `Beam Halo`, `HBHE`, `HBHE (Iso)`, `Ecal Trigger Primitives`, `EE SuperCluster`, `Bad Charged Hadron`, and `Bad PF Muon`. A "true" decision means the event was not rejected by the filter. The analyzer used in this example is `Analysis/MET/plugins/CMSDAS_MET_AnalysisExercise5.cc`. The printed result will look like this:
65+
This example accesses the decision bits for the following MET Filters: `Beam Halo`, `HBHE`, `HBHE (Iso)`, `Ecal Trigger Primitives`, `EE SuperCluster`, `Bad Charged Hadron`, and `Bad PF Muon`. A "true" decision means the event was not rejected by the filter. The analyzer used in this example is `JMEDAS/plugins/CMSDAS_MET_AnalysisExercise5.cc`. The printed result will look like this:
6166
6267
```
6368
Begin processing the 1st record. Run 317626, Event 178458435, LumiSection 134 on stream 0 at 28-Jun-2020 10:39:20.656 CDT
@@ -74,7 +79,7 @@ MET Filters decision:
7479
```
7580
7681
> ## Question 4
77-
> To see the output for a bad event, modify the input file in `Analysis/MET/test/run_CMSDAS_MET_Exercise4_cfg.py`.
82+
> To see the output for a bad event, modify the input file in `JMEDAS/test/run_CMSDAS_MET_Exercise4_cfg.py`.
7883
> Comment out the line for the first input file `cmsdas_met_METFilters1.root` and uncomment the line for the second input file `cmsdas_met_METFilters2.root`.
7984
> Then run the code again. What changes do you notice?
8085
{: .challenge}
-30.9 KB
Binary file not shown.

fig/episode5/PF_vs_PUPPI.pdf

143 KB
Binary file not shown.
-20 KB
Binary file not shown.
18.6 KB
Binary file not shown.

fig/episode8/met_scanning_fig.pdf

253 KB
Binary file not shown.

0 commit comments

Comments
 (0)