skipCheck=True) SMS_T8bbstausnu_mStop_200to1800_XCha0p5_XStau0p5 = FWLiteSample.fromDAS( "SMS_T8bbstausnu_mStop_200to1800_XCha0p5_XStau0p5", "/SMS-T8bbstausnu_mStop-200to1800_XCha0p5_XStau0p5_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T8bbstausnu_mStop_200to1800_XCha0p5_XStau0p75 = FWLiteSample.fromDAS( "SMS_T8bbstausnu_mStop_200to1800_XCha0p5_XStau0p75", "/SMS-T8bbstausnu_mStop-200to1800_XCha0p5_XStau0p75_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) T8bbstausnu = [ SMS_T8bbstausnu_XCha0p5_mStop_200to1800_XStau0p25, SMS_T8bbstausnu_mStop_200to1800_XCha0p5_XStau0p5, SMS_T8bbstausnu_mStop_200to1800_XCha0p5_XStau0p75 ] ## sum up allSamples = T2tt + T2bW + T8bbllnunu + T8bbstausnu for sample in allSamples: sample.isData = False from Samples.Tools.AutoClass import AutoClass samples = AutoClass(allSamples)
JetHT_Run2017F_25Oct2019, ] # MET MET_Run2017B_25Oct2019 = Sample.nanoAODfromDAS("MET_Run2017B_25Oct2019", "/MET/schoef-TopNanoAODv6-1-2-6_MET_Run2017B-9721c24ccc7f925c513e24ff74941177/USER", dbFile=dbFile, redirector=redirector, instance="phys03", overwrite=ov) MET_Run2017C_25Oct2019 = Sample.nanoAODfromDAS("MET_Run2017C_25Oct2019", "/MET/schoef-TopNanoAODv6-1-2-6_MET_Run2017C-9721c24ccc7f925c513e24ff74941177/USER", dbFile=dbFile, redirector=redirector, instance="phys03", overwrite=ov) MET_Run2017D_25Oct2019 = Sample.nanoAODfromDAS("MET_Run2017D_25Oct2019", "/MET/schoef-TopNanoAODv6-1-2-6_MET_Run2017D-9721c24ccc7f925c513e24ff74941177/USER", dbFile=dbFile, redirector=redirector, instance="phys03", overwrite=ov) MET_Run2017E_25Oct2019 = Sample.nanoAODfromDAS("MET_Run2017E_25Oct2019", "/MET/schoef-TopNanoAODv6-1-2-6_MET_Run2017E-9721c24ccc7f925c513e24ff74941177/USER", dbFile=dbFile, redirector=redirector, instance="phys03", overwrite=ov) MET_Run2017F_25Oct2019 = Sample.nanoAODfromDAS("MET_Run2017F_25Oct2019", "/MET/schoef-TopNanoAODv6-1-2-6_MET_Run2017F-9721c24ccc7f925c513e24ff74941177/USER", dbFile=dbFile, redirector=redirector, instance="phys03", overwrite=ov) MET = [ MET_Run2017B_25Oct2019, MET_Run2017C_25Oct2019, MET_Run2017D_25Oct2019, MET_Run2017E_25Oct2019, MET_Run2017F_25Oct2019, ] allSamples = DoubleMuon + MuonEG + DoubleEG + SingleMuon + SingleElectron + JetHT + MET for s in allSamples: s.json = os.path.expandvars("$CMSSW_BASE/src/Samples/Tools/data/json/Cert_294927-306462_13TeV_EOY2017ReReco_Collisions17_JSON_v1.txt") s.isData = True from Samples.Tools.AutoClass import AutoClass samples = AutoClass( allSamples ) if __name__=="__main__": if options.check_completeness: samples.check_completeness( cores=20 )