babymaker  e95a6a9342d4604277fe7cc6149b6b5b24447d89
Namespaces | Functions | Variables
bmaker_full_cfg.py File Reference

Go to the source code of this file.

Namespaces

 bmaker_full_cfg
 

Functions

def bmaker_full_cfg.findFileInPath (theFile)
 

Variables

tuple bmaker_full_cfg.options = VarParsing('analysis')
 
 bmaker_full_cfg.outName = options.outputFile
 
tuple bmaker_full_cfg.rootfile = basename(options.inputFiles[0])
 
 bmaker_full_cfg.doSystematics = True
 
 bmaker_full_cfg.doJEC = False
 JECs must be undone and reapplied when rerunning b-tagging => if doJEC = False, DeepCSV discriminator will not be included. More...
 
string bmaker_full_cfg.jecLabel = 'onthefly_Spring16_23Sep2016V2_MC'
 
 bmaker_full_cfg.jecCorrLabel = jecLabel
 
 bmaker_full_cfg.jecBabyLabel = jecLabel
 
 bmaker_full_cfg.isData = True
 If you only want to re-correct and get the proper uncertainties, no reclustering. More...
 
string bmaker_full_cfg.globalTag = "80X_dataRun2_2016SeptRepro_v6"
 
string bmaker_full_cfg.processRECO = "RECO"
 
list bmaker_full_cfg.jecLevels = ['L1FastJet', 'L2Relative', 'L3Absolute', 'L2L3Residual']
 
tuple bmaker_full_cfg.process = cms.Process("Baby")
 Defining Baby process, input and output files. More...
 
tuple bmaker_full_cfg.fileNames = cms.untracked.vstring(options.inputFiles)
 
tuple bmaker_full_cfg.jsonfile = findFileInPath(options.json)
 
tuple bmaker_full_cfg.condor_subtime = cms.string(options.condorSubTime)
 Setting global tag From https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookJetEnergyCorrections#JecGlobalTag. More...
 
tuple bmaker_full_cfg.outputFile = cms.string(outName)
 
tuple bmaker_full_cfg.inputFiles = cms.vstring(options.inputFiles)
 
tuple bmaker_full_cfg.json = cms.string(options.json)
 
tuple bmaker_full_cfg.jec = cms.string(jecBabyLabel)
 
tuple bmaker_full_cfg.met = cms.InputTag("slimmedMETs")
 
tuple bmaker_full_cfg.met_nohf = cms.InputTag("slimmedMETsNoHF")
 
tuple bmaker_full_cfg.jets = cms.InputTag(jets_label)
 
tuple bmaker_full_cfg.nEventsSample = cms.uint32(options.nEventsSample)
 
tuple bmaker_full_cfg.doMetRebalancing = cms.bool(True)
 
tuple bmaker_full_cfg.addBTagWeights = cms.bool(True)
 
tuple bmaker_full_cfg.isFastSim = cms.bool(fastsim)
 
tuple bmaker_full_cfg.debugMode = cms.bool(False)
 
tuple bmaker_full_cfg.allowUnscheduled = cms.untracked.bool(True)
 Setting up number of events, and reporing frequency. More...
 
tuple bmaker_full_cfg.wantSummary = cms.untracked.bool(False)
 
tuple bmaker_full_cfg.connect = cms.string('sqlite_fip:babymaker/data/jec/'+jecLabel+'.db')
 
tuple bmaker_full_cfg.toGet
 
tuple bmaker_full_cfg.jetSource = cms.InputTag('slimmedJets')
 
string bmaker_full_cfg.labelName = 'UpdatedJEC'
 
tuple bmaker_full_cfg.jetCorrections = ('AK4PFchs', cms.vstring(jecLevels), 'None')
 
list bmaker_full_cfg.btagDiscriminators
 
 bmaker_full_cfg.fixEE2017 = True,
 
dictionary bmaker_full_cfg.fixEE2017Params = {'userawPt': True, 'ptThreshold':50.0, 'miniEtaThreshold':2.65, 'maxEtaThreshold':3.139}
 
string bmaker_full_cfg.postfix = "ModifiedMET"