CMS 3D CMS Logo

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

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

Definition at line 9 of file customiseL1CustomReco.py.

Referenced by customiseL1Ntuple.L1NtupleAOD().

9 
10 def L1NtupleCustomReco(process):
11 

Variable Documentation

customiseL1CustomReco.dataFormat = DataFormat.AOD

Custom Jet reco ####.

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

Definition at line 34 of file customiseL1CustomReco.py.

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

Definition at line 39 of file customiseL1CustomReco.py.