babymaker
ab32dd2660a888820fa79c78d72ab78b0a2e3c93
|
Functions | |
def | findFileInPath (theFile) |
Variables | |
tuple | options = VarParsing('analysis') |
outName = options.outputFile | |
tuple | rootfile = basename(options.inputFiles[0]) |
doSystematics = True | |
list | cmsswRel = environ["CMSSW_BASE"] |
doJEC = False | |
This refers to the official JEC methods. More... | |
string | jecLabel = 'miniAOD_Summer15_25nsV6_MC' |
isData = True | |
string | globalTag = "74X_dataRun2_v2" |
string | processRECO = "RECO" |
list | jecLevels = ['L1FastJet', 'L2Relative', 'L3Absolute', 'L2L3Residual'] |
tuple | process = cms.Process("Baby") |
Defining Baby process, input and output files. More... | |
tuple | fileNames = cms.untracked.vstring(options.inputFiles) |
tuple | jsonfile = findFileInPath(options.json) |
tuple | condor_subtime = cms.string(options.condorSubTime) |
tuple | outputFile = cms.string(outName) |
tuple | inputFiles = cms.vstring(options.inputFiles) |
tuple | json = cms.string(options.json) |
tuple | jec = cms.string(jecLabel) |
tuple | met = cms.InputTag("slimmedMETs") |
tuple | met_nohf = cms.InputTag("slimmedMETsNoHF") |
tuple | jets = cms.InputTag(jets_label) |
tuple | nEventsSample = cms.uint32(options.nEventsSample) |
tuple | doMetRebalancing = cms.bool(True) |
tuple | addBTagWeights = cms.bool(True) |
tuple | isFastSim = cms.bool(fastsim) |
tuple | debugMode = cms.bool(False) |
tuple | connect = cms.string('sqlite_file:data/jec/'+jecLabel+'.db') |
tuple | toGet |
tuple | src = cms.InputTag("slimmedJets") |
levels = jecLevels, | |
string | payload = 'AK4PFchs' |
tuple | jetSource = cms.InputTag("slimmedJets") |
tuple | jetCorrFactorsSource = cms.VInputTag(cms.InputTag("patJetCorrFactorsReapplyJEC")) |
tuple | allowUnscheduled = cms.untracked.bool(True) |
Apply new JECs to MET From https://github.com/cms-met/cmssw/blob/METCorUnc74X/PhysicsTools/PatAlgos/test/corMETFromMiniAOD.py. More... | |
tuple | wantSummary = cms.untracked.bool(False) |
tuple | pfCandColl = cms.InputTag("packedPFCandidates") |
def bmaker_basic_cfg.findFileInPath | ( | theFile | ) |
Definition at line 8 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.addBTagWeights = cms.bool(True) |
Definition at line 104 of file bmaker_basic_cfg.py.
Referenced by bmaker_full.writeJets().
tuple bmaker_basic_cfg.allowUnscheduled = cms.untracked.bool(True) |
Apply new JECs to MET From https://github.com/cms-met/cmssw/blob/METCorUnc74X/PhysicsTools/PatAlgos/test/corMETFromMiniAOD.py.
Definition at line 170 of file bmaker_basic_cfg.py.
list bmaker_basic_cfg.cmsswRel = environ["CMSSW_BASE"] |
Definition at line 47 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.condor_subtime = cms.string(options.condorSubTime) |
Definition at line 93 of file bmaker_basic_cfg.py.
Definition at line 138 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.debugMode = cms.bool(False) |
Definition at line 106 of file bmaker_basic_cfg.py.
bmaker_basic_cfg.doJEC = False |
This refers to the official JEC methods.
To apply on-the-fly, just set jecLabel to something different from miniAOD
Definition at line 52 of file bmaker_basic_cfg.py.
Referenced by jet_met_tools.getJetCorrections(), and jet_met_tools.getMETWithJEC().
tuple bmaker_basic_cfg.doMetRebalancing = cms.bool(True) |
Definition at line 102 of file bmaker_basic_cfg.py.
Referenced by bmaker_full.analyze().
tuple bmaker_basic_cfg.doSystematics = True |
Definition at line 46 of file bmaker_basic_cfg.py.
Referenced by bmaker_full.analyze(), jet_met_tools.getJetCorrections(), jet_met_tools.getMETWithJEC(), bmaker_full.writeFilters(), and bmaker_full.writeJets().
tuple bmaker_basic_cfg.fileNames = cms.untracked.vstring(options.inputFiles) |
Definition at line 85 of file bmaker_basic_cfg.py.
string bmaker_basic_cfg.globalTag = "74X_dataRun2_v2" |
Definition at line 69 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.inputFiles = cms.vstring(options.inputFiles) |
Definition at line 95 of file bmaker_basic_cfg.py.
bmaker_basic_cfg.isData = True |
Definition at line 67 of file bmaker_basic_cfg.py.
Referenced by bmaker_full.analyze(), jet_met_tools.getJetCorrections(), jet_met_tools.setJetUncertainties(), bmaker_full.writeJets(), bmaker_full.writeMET(), and bmaker_full.writeWeights().
tuple bmaker_basic_cfg.isFastSim = cms.bool(fastsim) |
Definition at line 105 of file bmaker_basic_cfg.py.
Referenced by jet_met_tools.jetBTagWeight(), bmaker_full.writeJets(), and bmaker_full.writeWeights().
tuple bmaker_basic_cfg.jec = cms.string(jecLabel) |
Definition at line 97 of file bmaker_basic_cfg.py.
string bmaker_basic_cfg.jecLabel = 'miniAOD_Summer15_25nsV6_MC' |
Definition at line 58 of file bmaker_basic_cfg.py.
list bmaker_basic_cfg.jecLevels = ['L1FastJet', 'L2Relative', 'L3Absolute', 'L2L3Residual'] |
Definition at line 71 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.jetCorrFactorsSource = cms.VInputTag(cms.InputTag("patJetCorrFactorsReapplyJEC")) |
Definition at line 164 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.jets = cms.InputTag(jets_label) |
Definition at line 100 of file bmaker_basic_cfg.py.
Referenced by bmaker_full.analyze(), jet_met_tools.getBRanking(), bmaker_full.writeFatJets(), and bmaker_full.writeJets().
tuple bmaker_basic_cfg.jetSource = cms.InputTag("slimmedJets") |
Definition at line 163 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.json = cms.string(options.json) |
Definition at line 96 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.jsonfile = findFileInPath(options.json) |
Definition at line 89 of file bmaker_basic_cfg.py.
bmaker_basic_cfg.levels = jecLevels, |
Definition at line 158 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.met = cms.InputTag("slimmedMETs") |
Definition at line 98 of file bmaker_basic_cfg.py.
Referenced by lepton_tools.chooseVal(), jet_met_tools.getMTbmetMax(), jet_met_tools.getMTbmetMax2(), jet_met_tools.getMTbmetMin(), and jet_met_tools.getMTbmetMin2().
tuple bmaker_basic_cfg.met_nohf = cms.InputTag("slimmedMETsNoHF") |
Definition at line 99 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.nEventsSample = cms.uint32(options.nEventsSample) |
Definition at line 101 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.options = VarParsing('analysis') |
Definition at line 19 of file bmaker_basic_cfg.py.
string bmaker_basic_cfg.outName = options.outputFile |
Definition at line 41 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.outputFile = cms.string(outName) |
Definition at line 94 of file bmaker_basic_cfg.py.
string bmaker_basic_cfg.payload = 'AK4PFchs' |
Definition at line 159 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.pfCandColl = cms.InputTag("packedPFCandidates") |
Definition at line 176 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.process = cms.Process("Baby") |
Defining Baby process, input and output files.
Definition at line 83 of file bmaker_basic_cfg.py.
string bmaker_basic_cfg.processRECO = "RECO" |
Definition at line 70 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.rootfile = basename(options.inputFiles[0]) |
Definition at line 43 of file bmaker_basic_cfg.py.
Referenced by main(), and mergeNtuples().
tuple bmaker_basic_cfg.src = cms.InputTag("slimmedJets") |
Definition at line 157 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.toGet |
Definition at line 139 of file bmaker_basic_cfg.py.
tuple bmaker_basic_cfg.wantSummary = cms.untracked.bool(False) |
Definition at line 171 of file bmaker_basic_cfg.py.