CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
customiseL1CustomReco Namespace Reference

Functions

def getJECFromSQLite
 
def L1NtupleCustomReco
 

Variables

 dataFormat = DataFormat.AOD
 Custom Jet reco ####. More...
 
string idmod = 'RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_Spring15_25ns_V1_cff'
 

Function Documentation

def customiseL1CustomReco.getJECFromSQLite (   process)

Definition at line 71 of file customiseL1CustomReco.py.

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

Variable Documentation

customiseL1CustomReco.dataFormat = DataFormat.AOD

Custom Jet reco ####.

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

Definition at line 44 of file customiseL1CustomReco.py.

string customiseL1CustomReco.idmod = 'RecoEgamma.ElectronIdentification.Identification.cutBasedElectronID_Spring15_25ns_V1_cff'

Definition at line 49 of file customiseL1CustomReco.py.