CMS 3D CMS Logo

Functions
customiseL1CustomReco Namespace Reference

Functions

def getJECFromSQLite (process)
 Custom Jet reco ####. More...
 
def L1NtupleCustomReco (process)
 

Function Documentation

def customiseL1CustomReco.getJECFromSQLite (   process)

Custom Jet reco ####.

Custom Met Filter reco Custom E/Gamma reco ####

Definition at line 58 of file customiseL1CustomReco.py.

58 def getJECFromSQLite(process):
59 
60  process.load("CondCore.CondDB.CondDB_cfi")
61 
62  process.jec = cms.ESSource(
63  "PoolDBESSource",
64  DBParameters = cms.PSet(
65  messageLevel = cms.untracked.int32(0)
66  ),
67  timetype = cms.string('runnumber'),
68  toGet = cms.VPSet(
69  cms.PSet(
70  record = cms.string('JetCorrectionsRecord'),
71  # for data
72  tag = cms.string('JetCorrectorParametersCollection_Summer15_25nsV6_DATA_AK4PFchs'),
73  # for MC
74  #tag = cms.string('JetCorrectorParametersCollection_Fall15_25nsV2_MC_AK4PFchs'),
75  label = cms.untracked.string('AK4PFCHS')
76  ),
77  ),
78  connect = cms.string('sqlite:Summer15_25nsV6_DATA.db')
79  # uncomment above tag lines and this comment to use MC JEC
80  # connect = cms.string('sqlite:Fall15_25nsV2_MC.db')
81  )
82 
83  process.es_prefer_jec = cms.ESPrefer('PoolDBESSource','jec')
84 
85  return process
86 
def getJECFromSQLite(process)
Custom Jet reco ####.
def customiseL1CustomReco.L1NtupleCustomReco (   process)