Skip to content

How to find the latest JEC payloads with CMS3 tag CMS3_V07 04 08 and beyond

Vince Welke edited this page Sep 21, 2015 · 2 revisions

The way JECs are applied when applying Type 1 corrections to MET when making ntuples currently uses .db files which are all available at the following URL https://github.com/cms-jet/JECDatabase/tree/master/SQLiteFiles. There are separate payloads for data and MC, and the latest ones are called Summer15_50nsV5_DATA.db, Summer15_50nsV5_MC.db, Summer15_25nsV3_MC.db, and Summer15_25nsV3_MC.db. There are 2 use cases that will be covered here.

1. Making CMS3 locally.

In order to make CMS3 ntuples locally, you need to wget the JEC payloads into the directory you are working out of. For example run the following command:

wget https://github.com/cms-jet/JECDatabase/raw/master/SQLiteFiles/Summer15_25nsV3_DATA.db .

before running cmsRun on the pset of your choice.

2. Running crab jobs.

In order to run NtupleMaker using crab, copy the JEC payloads into your crab working directory:

wget https://github.com/cms-jet/JECDatabase/raw/master/SQLiteFiles/Summer15_25nsV3_DATA.db .

and the following line needs to be added to your crab cfg file:

for MC:
config.JobType.inputFiles = [ 'Summer15_25nsV3_MC.db' ]

for data:
config.JobType.inputFiles = [ 'Summer15_25nsV3_DATA.db' ]