-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from alefisico/jetToolbox_94X
Jet toolbox 94 x
- Loading branch information
Showing
3 changed files
with
60 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,11 @@ Python framework for configuration of jet tools via the jet toolbox. | |
|
||
## Instructions | ||
|
||
Check the branch for the correspondent release. This branch is for *CMSSW_9_1_X*, then for example: | ||
Check the branch for the correspondent release. This branch is for *CMSSW_9_4_X* and higher, then for example: | ||
``` | ||
cmsrel CMSSW_9_1_1_patch1/ | ||
cd CMSSW_9_1_1_patch1/src/ | ||
git clone [email protected]:cms-jet/JetToolbox.git JMEAnalysis/JetToolbox -b jetToolbox_91X_v1 | ||
cmsrel CMSSW_9_4_4/ | ||
cd CMSSW_9_4_4/src/ | ||
git clone [email protected]:cms-jet/JetToolbox.git JMEAnalysis/JetToolbox -b jetToolbox_94X_v1 | ||
scram b -j 18 | ||
``` | ||
To test the toolbox: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,8 @@ | |
#### Python function for easy access of | ||
#### jet substructure tools implemented in CMS | ||
#### | ||
#### Alejandro Gomez Espinosa ([email protected]) | ||
#### Alejandro Gomez Espinosa ([email protected]) | ||
#### with several contributions from others | ||
#### | ||
############################################### | ||
import FWCore.ParameterSet.Config as cms | ||
|
@@ -47,7 +48,8 @@ def jetToolbox( proc, jetType, jetSequence, outputFile, | |
addPUJetID=False, | ||
addQJets=False, | ||
addQGTagger=False, QGjetsLabel='chs', | ||
addEnergyCorrFunc=False, addEnergyCorrFuncSubjets=False, | ||
addEnergyCorrFunc=False, | ||
addEnergyCorrFuncSubjets=False, | ||
): | ||
|
||
runOnData = not runOnMC | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters