From 28f5c5ddafa24dc3fb5d84781ce497431197d7b1 Mon Sep 17 00:00:00 2001 From: Nurfikri Norjoharuddeen Date: Sun, 23 May 2021 18:09:05 +0200 Subject: [PATCH] Update README for UL2017 --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2de869d..b7afe7d 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Setup a CMSSW release: ``` mkdir PileUpJetIDSF cd PileUpJetIDSF -cmsrel CMSSW_10_2_22 -cd CMSSW_10_2_22/src +cmsrel CMSSW_10_6_25 +cd CMSSW_10_6_25/src cmsenv ``` Checkout [nanoAOD-tools](https://github.com/cms-nanoAOD/nanoAOD-tools): @@ -27,7 +27,8 @@ scram b -j4 ``` Go to [Skimmer/data/mvaWeights](Skimmer/data/mvaWeights/) and download the TMVA BDT training weights -for the pileup jet ID, as per the instructions in the `README.md`. This is needed for `JMEnanoV1 UL2017` input. +for the pileup jet ID, as per the instructions in the `README.md`. This is needed for `JMEnanoV1 UL2017` input +and also for any future `JMEnano` production. ## Skim NanoAODs **:construction: UNDER CONSTRUCTION** @@ -36,8 +37,8 @@ for the pileup jet ID, as per the instructions in the `README.md`. This is neede All the scripts required to make the histogram templates are in the [**Analyzer**](./Analyzer) directory. ->**:exclamation:IMPORTANT** You need to use ROOT version ```6.18``` or later. You can setup the environment -to version ```6.22.00``` by sourcing the [```sourceRecentROOT.sh```](./Analyzer/sourceRecentROOT.py) +>**:exclamation:IMPORTANT** You need to use ROOT version ```6.22``` or later. You can setup the environment +to version ```6.22.08``` by sourcing the [```sourceRecentROOT.sh```](./Analyzer/sourceRecentROOT.sh) bash script. The bash script will also unset the CMSSW runtime environment if you had done ```cmsenv```earlier. This ensures there are no conflicts between the ROOT version that you have just set up and the version in CMSSW. @@ -45,7 +46,7 @@ Producing the histograms is a two-step process. The steps are: 1. Make skimmed ntuples for skimmed NanoAODs by using the [```SkimNtuples.py```](./Analyzer/SkimNtuples.py) script. This will make the histogram making step faster. Example to run the script can be found in [```RunLocal_SkimNtuples.sh```](./Analyzer/RunLocal_SkimNtuples.sh). -2. Make histograms by running over the ntuples with the [```MakeHistograms.py```](./Analyzer/MakeHistograms.py) script. Example to run the script can be found in [```RunLocal_MakeHistograms.sh```](./Analyzer/RunLocal_MakeHistograms.sh). +2. Make histograms by running over the ntuples with the [```MakeHistograms3D.py```](./Analyzer/MakeHistograms3D.py) script. Example to run the script can be found in [```RunLocal_MakeHistograms.sh```](./Analyzer/RunLocal_MakeHistograms.sh). The histograms will be saved in the ```histos``` directory. Run [```haddHistos.sh```](./Analyzer/haddHistos.sh) to merge all Data histograms for each year. The paths to the skimmed NanoAODs and skimmed ntuples are specified in [```SampleList.py```](./Analyzer/SampleList.py).