Skip to content

Commit

Permalink
Add default for 2017 with new JEC
Browse files Browse the repository at this point in the history
  • Loading branch information
rauser committed Dec 11, 2018
1 parent 0828124 commit ac65177
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 9 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,20 @@ scram b -j8
```

The ntuplizer can be run and configured through ```RecoBTag/PerformanceMeasurements/test/runBTagAnalyzer_cfg.py```, to run it for the 2016 SF campaign
The ntuplizer can be run and configured through ```RecoBTag/PerformanceMeasurements/test/runBTagAnalyzer_cfg.py```.

To run it for the 2016 Legacy SF campaign, run:

```
cmsRun runBTagAnalyzer_cfg.py defaults=2016_SF runOnData=(True or False, depending on your needs)
```

To run it for 2017 data, including the new JEC, run:

```
cmsRun runBTagAnalyzer_cfg.py defaults=2017NewJEC runOnData=(True or False, depending on your needs)
```

To run the tests for integrating changes run:

```
Expand Down
20 changes: 20 additions & 0 deletions python/defaults/2017NewJEC.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
common = {
'eras' : ['Run2_2017'],
'miniAOD' : True,
'runDeepFlavourTagVariables' : True,
'usePrivateJEC': True,
}

mc = {
'inputFiles' : ['/store/mc/RunIIFall17MiniAOD/TTTo2L2Nu_TuneCP5_PSweights_13TeV-powheg-pythia8/MINIAODSIM/94X_mc2017_realistic_v10-v1/60000/002E7FEA-16E0-E711-922D-0242AC130002.root'],
'JPCalibration' : 'JPcalib_MC94X_2017_v1',
'mcGlobalTag' : '94X_mc2017_realistic_v12',
'jecDBFileMC': 'Fall17_17Nov2017_V32_94X_MC',
}

data = {
'inputFiles' : ['/store/data/Run2017D/JetHT/MINIAOD/17Nov2017-v1/20000/0249B143-8CCC-E711-BA7C-0025905C2CD0.root'],
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
'dataGlobalTag' : '94X_dataRun2_ReReco_EOY17_v2',
'jecDBFileData': 'Fall17_17Nov2017_V32_94X_DATA',
}
5 changes: 1 addition & 4 deletions python/defaults/Moriond18.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@
'eras' : ['Run2_2017'],
'miniAOD' : True,
'runDeepFlavourTagVariables' : True,
'usePrivateJEC': True,
}

mc = {
'inputFiles' : ['/store/mc/RunIIFall17MiniAOD/TTTo2L2Nu_TuneCP5_PSweights_13TeV-powheg-pythia8/MINIAODSIM/94X_mc2017_realistic_v10-v1/60000/002E7FEA-16E0-E711-922D-0242AC130002.root'],
'JPCalibration' : 'JPcalib_MC94X_2017_v1',
'mcGlobalTag' : '94X_mc2017_realistic_v12',
'jecDBFileMC': 'Fall17_17Nov2017_V32_94X_MC',
}

data = {
'inputFiles' : ['/store/data/Run2017C/JetHT/MINIAOD/17Nov2017-v1/20000/00791B22-DCD3-E711-9BF9-001E67396E64.root'],
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
'dataGlobalTag' : '94X_dataRun2_ReReco_EOY17_v2',
'jecDBFileData': 'Fall17_17Nov2017_V32_94X_DATA',
}
5 changes: 1 addition & 4 deletions python/defaults/Summer18.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@
'eras' : ['Run2_2017'],
'miniAOD' : True,
'runDeepFlavourTagVariables' : True,
'usePrivateJEC': True,
}

mc = {
'inputFiles' : ['/store/mc/RunIIFall17MiniAOD/TTTo2L2Nu_TuneCP5_PSweights_13TeV-powheg-pythia8/MINIAODSIM/94X_mc2017_realistic_v10-v1/60000/002E7FEA-16E0-E711-922D-0242AC130002.root'],
'JPCalibration' : 'JPcalib_MC94X_2017_v1',
'mcGlobalTag' : '94X_mc2017_realistic_v12',
'jecDBFileMC': 'Fall17_17Nov2017_V32_94X_MC',
}

data = {
'inputFiles' : ['/store/data/Run2017D/JetHT/MINIAOD/17Nov2017-v1/20000/0249B143-8CCC-E711-BA7C-0025905C2CD0.root'],
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
'dataGlobalTag' : '94X_dataRun2_ReReco_EOY17_v2',
'jecDBFileData': 'Fall17_17Nov2017_V32_94X_DATA',
}

0 comments on commit ac65177

Please sign in to comment.