CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 71 of file customiseL1CustomReco.py.

71 def getJECFromSQLite(process):
72 
73  process.load("CondCore.CondDB.CondDB_cfi")
74 
75  process.jec = cms.ESSource(
76  "PoolDBESSource",
77  DBParameters = cms.PSet(
78  messageLevel = cms.untracked.int32(0)
79  ),
80  timetype = cms.string('runnumber'),
81  toGet = cms.VPSet(
82  cms.PSet(
83  record = cms.string('JetCorrectionsRecord'),
84  # for data
85  tag = cms.string('JetCorrectorParametersCollection_Summer15_25nsV6_DATA_AK4PFchs'),
86  # for MC
87  #tag = cms.string('JetCorrectorParametersCollection_Fall15_25nsV2_MC_AK4PFchs'),
88  label = cms.untracked.string('AK4PFCHS')
89  ),
90  ),
91  connect = cms.string('sqlite:Summer15_25nsV6_DATA.db')
92  # uncomment above tag lines and this comment to use MC JEC
93  # connect = cms.string('sqlite:Fall15_25nsV2_MC.db')
94  )
95 
96  process.es_prefer_jec = cms.ESPrefer('PoolDBESSource','jec')
97 
98  return process
99 
def getJECFromSQLite(process)
Custom Jet reco ####.
def customiseL1CustomReco.L1NtupleCustomReco (   process)