Skip to content

Commit ac65177

Browse files
committed
Add default for 2017 with new JEC
1 parent 0828124 commit ac65177

File tree

4 files changed

+31
-9
lines changed

4 files changed

+31
-9
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,20 @@ scram b -j8
1919
2020
```
2121

22-
The ntuplizer can be run and configured through ```RecoBTag/PerformanceMeasurements/test/runBTagAnalyzer_cfg.py```, to run it for the 2016 SF campaign
22+
The ntuplizer can be run and configured through ```RecoBTag/PerformanceMeasurements/test/runBTagAnalyzer_cfg.py```.
23+
24+
To run it for the 2016 Legacy SF campaign, run:
2325

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

30+
To run it for 2017 data, including the new JEC, run:
31+
32+
```
33+
cmsRun runBTagAnalyzer_cfg.py defaults=2017NewJEC runOnData=(True or False, depending on your needs)
34+
```
35+
2836
To run the tests for integrating changes run:
2937

3038
```

python/defaults/2017NewJEC.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
common = {
2+
'eras' : ['Run2_2017'],
3+
'miniAOD' : True,
4+
'runDeepFlavourTagVariables' : True,
5+
'usePrivateJEC': True,
6+
}
7+
8+
mc = {
9+
'inputFiles' : ['/store/mc/RunIIFall17MiniAOD/TTTo2L2Nu_TuneCP5_PSweights_13TeV-powheg-pythia8/MINIAODSIM/94X_mc2017_realistic_v10-v1/60000/002E7FEA-16E0-E711-922D-0242AC130002.root'],
10+
'JPCalibration' : 'JPcalib_MC94X_2017_v1',
11+
'mcGlobalTag' : '94X_mc2017_realistic_v12',
12+
'jecDBFileMC': 'Fall17_17Nov2017_V32_94X_MC',
13+
}
14+
15+
data = {
16+
'inputFiles' : ['/store/data/Run2017D/JetHT/MINIAOD/17Nov2017-v1/20000/0249B143-8CCC-E711-BA7C-0025905C2CD0.root'],
17+
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
18+
'dataGlobalTag' : '94X_dataRun2_ReReco_EOY17_v2',
19+
'jecDBFileData': 'Fall17_17Nov2017_V32_94X_DATA',
20+
}

python/defaults/Moriond18.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@
22
'eras' : ['Run2_2017'],
33
'miniAOD' : True,
44
'runDeepFlavourTagVariables' : True,
5-
'usePrivateJEC': True,
65
}
76

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

1513
data = {
1614
'inputFiles' : ['/store/data/Run2017C/JetHT/MINIAOD/17Nov2017-v1/20000/00791B22-DCD3-E711-9BF9-001E67396E64.root'],
17-
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
15+
'JPCalibration' : 'JPcalib_Data94X_2017_v1',
1816
'dataGlobalTag' : '94X_dataRun2_ReReco_EOY17_v2',
19-
'jecDBFileData': 'Fall17_17Nov2017_V32_94X_DATA',
2017
}

python/defaults/Summer18.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@
22
'eras' : ['Run2_2017'],
33
'miniAOD' : True,
44
'runDeepFlavourTagVariables' : True,
5-
'usePrivateJEC': True,
65
}
76

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

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

0 commit comments

Comments
 (0)