logger_rt = logger_rt.get_logger("INFO", logFile = None ) options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir+"DB_Summer16_Fast_miniAODv3.sql" logger.info("Using db file: %s", dbFile) ## T2tt SMS_T2tt_mStop_150to250 = FWLiteSample.fromDAS("SMS_T2tt_mStop_150to250" , "/SMS-T2tt_mStop-150to250_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_250to350 = FWLiteSample.fromDAS("SMS_T2tt_mStop_250to350" , "/SMS-T2tt_mStop-250to350_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_350to400 = FWLiteSample.fromDAS("SMS_T2tt_mStop_350to400" , "/SMS-T2tt_mStop-350to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_400to1200 = FWLiteSample.fromDAS("SMS_T2tt_mStop_400to1200" , "/SMS-T2tt_mStop-400to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_1200to2000 = FWLiteSample.fromDAS("SMS_T2tt_mStop_1200to2000", "/SMS-T2tt_mStop-1200to2000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) T2tt = [ SMS_T2tt_mStop_150to250 , SMS_T2tt_mStop_250to350 , SMS_T2tt_mStop_350to400 , SMS_T2tt_mStop_400to1200 , SMS_T2tt_mStop_1200to2000, ] SMS_T2bW = FWLiteSample.fromDAS("SMS_T2bW", "/SMS-T2bW_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True)
logger_rt = logger_rt.get_logger("INFO", logFile = None ) options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir+"DB_Run2016_17Jul2018.sql" logger.info("Using db file: %s", dbFile) # DoubleMuon DoubleMuon_Run2016B_17Jul2018_ver1 = FWLiteSample.fromDAS("DoubleMuon_Run2016B_17Jul2018_ver1", "/DoubleMuon/Run2016B-17Jul2018_ver1-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016B_17Jul2018_ver2 = FWLiteSample.fromDAS("DoubleMuon_Run2016B_17Jul2018_ver2", "/DoubleMuon/Run2016B-17Jul2018_ver2-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016C_17Jul2018 = FWLiteSample.fromDAS("DoubleMuon_Run2016C_17Jul2018", "/DoubleMuon/Run2016C-17Jul2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016D_17Jul2018 = FWLiteSample.fromDAS("DoubleMuon_Run2016D_17Jul2018", "/DoubleMuon/Run2016D-17Jul2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016E_17Jul2018 = FWLiteSample.fromDAS("DoubleMuon_Run2016E_17Jul2018", "/DoubleMuon/Run2016E-17Jul2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016F_17Jul2018 = FWLiteSample.fromDAS("DoubleMuon_Run2016F_17Jul2018", "/DoubleMuon/Run2016F-17Jul2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016G_17Jul2018 = FWLiteSample.fromDAS("DoubleMuon_Run2016G_17Jul2018", "/DoubleMuon/Run2016G-17Jul2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2016H_17Jul2018 = FWLiteSample.fromDAS("DoubleMuon_Run2016H_17Jul2018", "/DoubleMuon/Run2016H-17Jul2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon = [ DoubleMuon_Run2016B_17Jul2018_ver1, DoubleMuon_Run2016B_17Jul2018_ver2, DoubleMuon_Run2016C_17Jul2018, DoubleMuon_Run2016D_17Jul2018, DoubleMuon_Run2016E_17Jul2018, DoubleMuon_Run2016F_17Jul2018,
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "Summer16_miniAODv2.sql" logger.info("Using db file: %s", dbFile) ## DY DYJetsToLL_M50_LO_FS = FWLiteSample.fromDAS( "DYJetsToLL_M50_LO_FS", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-LHE_PUSummer16Fast_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M50_LO = FWLiteSample.fromDAS( "DYJetsToLL_M50_LO", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6_ext1-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DY = [ DYJetsToLL_M50_LO_FS, DYJetsToLL_M50_LO, ]
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector_BE, redirector dbFile = dbDir + "Summer16_private.sql" logger.info("Using db file: %s", dbFile) ## TTGamma private new samples TTGamma_dilep_LO_S16_private = FWLiteSample.fromDPMDirectory( "TTGamma_dilep_LO_S16_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Moriond17_aug2018_miniAODv3/prompt/ttGamma_Dilept_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov, prefix=redirector_BE, skipCheck=True) TTGamma_semilep_LO_S16_private = FWLiteSample.fromDPMDirectory( "TTGamma_semilep_LO_S16_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Moriond17_aug2018_miniAODv3/prompt/ttGamma_SemiLept_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov, prefix=redirector_BE, skipCheck=True) TTGamma_had_LO_S16_private = FWLiteSample.fromDPMDirectory( "TTGamma_had_LO_S16_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Moriond17_aug2018_miniAODv3/prompt/ttGamma_Had_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov,
ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "Run2018_promptReco.sql" logger.info("Using db file: %s", dbFile) DoubleMuon_Run2018A_promptReco_v1 = FWLiteSample.fromDAS( "DoubleMuon_Run2018A_promptReco_v1", "/DoubleMuon/Run2018A-PromptReco-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2018A_promptReco_v2 = FWLiteSample.fromDAS( "DoubleMuon_Run2018A_promptReco_v2", "/DoubleMuon/Run2018A-PromptReco-v2/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2018A_promptReco_v3 = FWLiteSample.fromDAS( "DoubleMuon_Run2018A_promptReco_v3", "/DoubleMuon/Run2018A-PromptReco-v3/MINIAOD", dbFile=dbFile, overwrite=ov,
logger_rt = logger_rt.get_logger("INFO", logFile = None ) options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir+"Run2018_17Sep2018.sql" logger.info("Using db file: %s", dbFile) DoubleMuon_Run2018A_17Sep2018_v2 = FWLiteSample.fromDAS("DoubleMuon_Run2018A_17Sep2018_v2", "/DoubleMuon/Run2018A-17Sep2018-v2/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2018B_17Sep2018_v1 = FWLiteSample.fromDAS("DoubleMuon_Run2018B_17Sep2018_v1", "/DoubleMuon/Run2018B-17Sep2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2018C_17Sep2018_v1 = FWLiteSample.fromDAS("DoubleMuon_Run2018C_17Sep2018_v1", "/DoubleMuon/Run2018C-17Sep2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon = [ DoubleMuon_Run2018A_17Sep2018_v2, DoubleMuon_Run2018B_17Sep2018_v1, DoubleMuon_Run2018C_17Sep2018_v1, ] MuonEG_Run2018A_17Sep2018_v1 = FWLiteSample.fromDAS("MuonEG_Run2018A_17Sep2018_v1", "/MuonEG/Run2018A-17Sep2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) MuonEG_Run2018B_17Sep2018_v1 = FWLiteSample.fromDAS("MuonEG_Run2018B_17Sep2018_v1", "/MuonEG/Run2018B-17Sep2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) MuonEG_Run2018C_17Sep2018_v1 = FWLiteSample.fromDAS("MuonEG_Run2018C_17Sep2018_v1", "/MuonEG/Run2018C-17Sep2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) MuonEG = [ MuonEG_Run2018A_17Sep2018_v1,
ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Autumn18_miniAODv1.sql" logger.info("Using db file: %s", dbFile) RelValTTbar = FWLiteSample.fromDAS( "RelValTTbar", "/RelValTTbar_13/CMSSW_10_2_4-PU25ns_102X_upgrade2018_realistic_v12-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) RelValTTbar_HEM = FWLiteSample.fromDAS( "RelValTTbar_HEM", "/RelValTTbar_13/CMSSW_10_2_4-PU25ns_102X_upgrade2018_realistic_v12HEfail_v1-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) RelValTTbar_HEMmitigation = FWLiteSample.fromDAS( "RelValTTbar_HEMmitigation", "/RelValTTbar_13/CMSSW_10_2_4-PU25ns_102X_upgrade2018_realistic_v12HEfail_v1_badHcalMitig-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov,
eta_lowPt_76X_HFHadronEnergy.legendText = "HF hadrons" eta_lowPt_76X_HFHadronEnergy.style = fillStyle(ROOT.kMagenta, lineColor=None) eta_lowPt_76X_HFEMEnergy = ROOT.TProfile("eta_lowPt_76X_HFEMEnergy", "eta_lowPt_76X_HFEMEnergy", len(eta_thresholds) - 1, array.array('d', eta_thresholds)) eta_lowPt_76X_HFEMEnergy.legendText = "HF EM" eta_lowPt_76X_HFEMEnergy.style = fillStyle(ROOT.kGray, lineColor=None) import files maxN = 10 # 8X mAOD, assumes eos mount in home directory #dirname = "~/eos/cms/store/relval/CMSSW_8_0_0_pre6/JetHT/MINIAOD/80X_dataRun2_v4_RelVal_jetHT2015HLHT-v1/10000/" JetHT_8X_260627 = FWLiteSample.fromFiles( "JetHT_8X_260627", files=["root://eoscms.cern.ch/" + s for s in files.JetHT_8X_260627], maxN=maxN) #JetHT_16Dec_260627 = FWLiteSample.fromFiles("JetHT_16Dec_260627", files = [os.path.expanduser("~/eos/cms"+s) for s in JetHT_16DecRereco_260627], maxN = maxN) JetHT_16Dec_260627 = FWLiteSample.fromFiles( "JetHT_16Dec_260627", files=[ "root://eoscms.cern.ch/" + s for s in files.JetHT_16DecRereco_260627 ], maxN=maxN) products = {'jets': {'type': 'vector<pat::Jet>', 'label': ("slimmedJets")}} r1 = JetHT_8X_260627.fwliteReader(products=products) r2 = JetHT_16Dec_260627.fwliteReader(products=products) r1.start()
import RootTools.core.logger as logger_rt logger_rt = logger_rt.get_logger("INFO", logFile = None ) options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir+"DB_tWZ_GENSIM.sql" logger.info("Using db file: %s", dbFile) tWZ01j_rwgt_filter = FWLiteSample.fromDAS("tWZ01j_rwgt_filter", "/tWZ01j_rwgt_filter_2/ttschida-tWZ01j_rwgt_filter_2_RAWSIMoutput-d21de898ad3d5a9f1861cf5edf14f0e3/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) #tOrtbar_WZ01j_OLRLL_LO = FWLiteSample.fromDAS("tOrtbar_WZ01j_OLRLL_LO", "/tOrtbar_WZ01j_OLRLL_LO/schoef-tOrtbar_WZ01j_OLRLL_LO-129aa8aa5b17c813bcab74208422fa28/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) # GENSIM #tOrtbar_WZ01j_OLRLL_LO = FWLiteSample.fromDAS("tOrtbar_WZ01j_OLRLL_LO", "/gensim_tOrtbar_WZ01j_OLRLL_LO/schoef-gensim_tOrtbar_WZ01j_OLRLL_LO_RAWSIMoutput-f6a5011659c881b9d217cfc35ad761a3/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) #tOrtbar_WZ01j_OLRLL_LO = FWLiteSample.fromDAS("tOrtbar_WZ01j_OLRLL_LO", "/tOrtbar_WZ01j_OLRLL_LO_ext4/schoef-tOrtbar_WZ01j_OLRLL_LO_ext4-c88179374d61ba4483b39a09a725f437/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) tOrtbar_WZ01j_OLRLL_LO = FWLiteSample.fromDAS("tOrtbar_WZ01j_OLRLL_LO", "/tOrtbar_WZ01j_OLRLL_LO_ext5/schoef-tOrtbar_WZ01j_OLRLL_LO_ext5-c88179374d61ba4483b39a09a725f437/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) tWZ_NLO = FWLiteSample.fromDAS("tWZ_NLO", "/tWZ_NLO_v16_ext3/schoef-tWZ_NLO_v16_ext3-a1e791adef4fc0a2f32451f12fdbd583/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) #tWZ_LO_central = FWLiteSample.fromDAS("tWZ_LO_central", "/ST_tWll_5f_LO_13TeV-MadGraph-pythia8/RunIISummer16DR80Premix-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/AODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) tWZ_LO_central = FWLiteSample.fromDAS("tWZ_LO_central", "/ST_tWll_5f_LO_13TeV-MadGraph-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) allSamples = [tWZ01j_rwgt_filter, tOrtbar_WZ01j_OLRLL_LO, tWZ_NLO, tWZ_LO_central]
logger_rt = logger_rt.get_logger("INFO", logFile = None ) options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir+"Run2017_31Mar2018.sql" logger.info("Using db file: %s", dbFile) ## DoubleMuon DoubleMuon_Run2017B_31Mar2018 = FWLiteSample.fromDAS("DoubleMuon_Run2017B_31Mar2018", "/DoubleMuon/Run2017B-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2017C_31Mar2018 = FWLiteSample.fromDAS("DoubleMuon_Run2017C_31Mar2018", "/DoubleMuon/Run2017C-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2017D_31Mar2018 = FWLiteSample.fromDAS("DoubleMuon_Run2017D_31Mar2018", "/DoubleMuon/Run2017D-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2017E_31Mar2018 = FWLiteSample.fromDAS("DoubleMuon_Run2017E_31Mar2018", "/DoubleMuon/Run2017E-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2017F_31Mar2018 = FWLiteSample.fromDAS("DoubleMuon_Run2017F_31Mar2018", "/DoubleMuon/Run2017F-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon = [ DoubleMuon_Run2017B_31Mar2018, DoubleMuon_Run2017C_31Mar2018, DoubleMuon_Run2017D_31Mar2018, DoubleMuon_Run2017E_31Mar2018, DoubleMuon_Run2017F_31Mar2018, ] DoubleEG_Run2017B_31Mar2018 = FWLiteSample.fromDAS("DoubleEG_Run2017B_31Mar2018", "/DoubleEG/Run2017B-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleEG_Run2017C_31Mar2018 = FWLiteSample.fromDAS("DoubleEG_Run2017C_31Mar2018", "/DoubleEG/Run2017C-31Mar2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True)
import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Fall17_miniAODv2.sql" logger.info("Using db file: %s", dbFile) ## DY # low mass DYJetsToLL_M10to50_LO_F17_94X = FWLiteSample.fromDAS( "DYJetsToLL_M10to50_LO_F17_94X", "/DYJetsToLL_M-10to50_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M10to50_HT100to200_LO_F17_94X = FWLiteSample.fromDAS( "DYJetsToLL_M10to50_HT100to200_LO_F17_94X", "/DYJetsToLL_M-4to50_HT-100to200_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M10to50_HT100to200_LO_F17_94X_ext1 = FWLiteSample.fromDAS( "DYJetsToLL_M10to50_HT100to200_LO_F17_94X_ext1", "/DYJetsToLL_M-4to50_HT-100to200_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14_ext1-v1/MINIAODSIM", dbFile=dbFile,
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Run2017_17Nov2017.sql" logger.info("Using db file: %s", dbFile) ## FSQJet1 FSQJet1_Run2017H_17Nov2017 = FWLiteSample.fromDAS( "FSQJet1_Run2017H_17Nov2017", "/FSQJet1/Run2017H-17Nov2017-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) FSQJet2_Run2017H_17Nov2017 = FWLiteSample.fromDAS( "FSQJet2_Run2017H_17Nov2017", "/FSQJet2/Run2017H-17Nov2017-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) FSQJet = [ FSQJet1_Run2017H_17Nov2017, FSQJet2_Run2017H_17Nov2017, ]
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Summer16_Fast_miniAODv3.sql" logger.info("Using db file: %s", dbFile) ## T2tt SMS_T2tt_mStop_150to250 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_150to250", "/SMS-T2tt_mStop-150to250_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_250to350 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_250to350", "/SMS-T2tt_mStop-250to350_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_350to400 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_350to400", "/SMS-T2tt_mStop-350to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUSummer16v3Fast_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov,
options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "Spring16_miniAODv2.sql" logger.info("Using db file: %s", dbFile) ## DY SMS_T2tt_mStop400to1200_FS_S16_80X = FWLiteSample.fromDAS( "SMS_T2tt_mStop400to1200_FS_S16_80X", "/SMS-T2tt_mStop-400to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv2-PUSpring16Fast_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) signals = [ SMS_T2tt_mStop400to1200_FS_S16_80X, ] allSamples = signals for sample in allSamples: sample.isData = False
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Fall17_Fast_miniAODv2.sql" logger.info("Using db file: %s", dbFile) ## T2tt SMS_T2tt_mStop_150to250 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_150to250", "/SMS-T2tt_mStop-150to250_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_250to350 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_250to350", "/SMS-T2tt_mStop-250to350_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_350to400 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_350to400", "/SMS-T2tt_mStop-350to400_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov,
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector_BE dbFile = dbDir + "Autumn18_private.sql" logger.info("Using db file: %s", dbFile) ## TTGamma private new samples TTGamma_dilep_LO_A18_private = FWLiteSample.fromDPMDirectory( "TTGamma_dilep_LO_A18_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Autumn18/prompt/ttGamma_Dilept_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov, prefix=redirector_BE, skipCheck=True) TTGamma_semilep_LO_A18_private = FWLiteSample.fromDPMDirectory( "TTGamma_semilep_LO_A18_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Autumn18/prompt/ttGamma_SemiLept_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov, prefix=redirector_BE, skipCheck=True) TTGamma_had_LO_A18_private = FWLiteSample.fromDPMDirectory( "TTGamma_had_LO_A18_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Autumn18/prompt/ttGamma_Had_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov,
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "Run2018_26Sep2018.sql" logger.info("Using db file: %s", dbFile) ## DoubleMuon DoubleMuon_Run2018B_26Sep2018 = FWLiteSample.fromDAS( "DoubleMuon_Run2018B_26Sep2018", "/DoubleMuon/Run2018B-26Sep2018-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2018B_26Sep2018_HEM = FWLiteSample.fromDAS( "DoubleMuon_Run2018B_26Sep2018_HEM", "/DoubleMuon/Run2018B-26Sep2018_HEM-v1/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DoubleMuon_Run2018B_26Sep2018_HEMmitigation = FWLiteSample.fromDAS( "DoubleMuon_Run2018B_26Sep2018_HEMmitigation", "/DoubleMuon/Run2018B-26Sep2018_HEMmitigation-v1/MINIAOD", dbFile=dbFile, overwrite=ov,
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Autumn18_miniAODv1.sql" logger.info("Using db file: %s", dbFile) RelValTTbar = FWLiteSample.fromDAS( "RelValTTbar", "/RelValTTbar_13/CMSSW_10_2_4-PU25ns_102X_upgrade2018_realistic_v12-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) RelValTTbar_HEM = FWLiteSample.fromDAS( "RelValTTbar_HEM", "/RelValTTbar_13/CMSSW_10_2_4-PU25ns_102X_upgrade2018_realistic_v12HEfail_v1-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) RelValTTbar_HEMmitigation = FWLiteSample.fromDAS( "RelValTTbar_HEMmitigation", "/RelValTTbar_13/CMSSW_10_2_4-PU25ns_102X_upgrade2018_realistic_v12HEfail_v1_badHcalMitig-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov,
logger_rt = logger_rt.get_logger("INFO", logFile = None ) options = get_parser().parse_args() ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir+"Summer16_miniAODv3.sql" logger.info("Using db file: %s", dbFile) ## DY DYJetsToLL_M10to50_NLO_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M10to50_NLO_S16_94X", "/DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M10to50_NLO_S16_94X_ext1 = FWLiteSample.fromDAS("DYJetsToLL_M10to50_NLO_S16_94X_ext1", "/DYJetsToLL_M-10to50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext1-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT70to100_LO_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT70to100_LO_S16_94X", "/DYJetsToLL_M-5to50_HT-70to100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT100to200_LO_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT100to200_LO_S16_94X", "/DYJetsToLL_M-5to50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT100to200_LO_S16_94X_ext1 = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT100to200_LO_S16_94X_ext1", "/DYJetsToLL_M-5to50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext1-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT200to400_LO_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT200to400_LO_S16_94X", "/DYJetsToLL_M-5to50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT200to400_LO_S16_94X_ext1 = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT200to400_LO_S16_94X_ext1", "/DYJetsToLL_M-5to50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext1-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT400to600_LO_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT400to600_LO_S16_94X", "/DYJetsToLL_M-5to50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT400to600_LO_S16_94X_ext1 = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT400to600_LO_S16_94X_ext1", "/DYJetsToLL_M-5to50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext1-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M5to50_HT600toInf_LO_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M5to50_HT600toInf_LO_S16_94X", "/DYJetsToLL_M-5to50_HT-600toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M50_NLO_S16_94X_ext2 = FWLiteSample.fromDAS("DYJetsToLL_M50_NLO_S16_94X_ext2", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext2-v1/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) #DYJetsToLL_M50_LO_FS_S16_94X = FWLiteSample.fromDAS("DYJetsToLL_M50_LO_FS_S16_94X", "", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M50_LO_S16_94X_ext1 = FWLiteSample.fromDAS("DYJetsToLL_M50_LO_S16_94X_ext1", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext1-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) DYJetsToLL_M50_LO_S16_94X_ext2 = FWLiteSample.fromDAS("DYJetsToLL_M50_LO_S16_94X_ext2", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3_ext2-v2/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True)
ov = options.overwrite else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "Run2018_17Sep2018.sql" logger.info("Using db file: %s", dbFile) SingleMuon_Run2018D_22Jan2019_v2 = FWLiteSample.fromDAS( "SingleMuon_Run2018D_22Jan2019_v2", "/SingleMuon/Run2018D-22Jan2019-v2/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) EGamma_Run2018D_22Jan2019_v2 = FWLiteSample.fromDAS( "EGamma_Run2018D_22Jan2019_v2", "/EGamma/Run2018D-22Jan2019-v2/MINIAOD", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) allSamples = [SingleMuon_Run2018D_22Jan2019_v2, EGamma_Run2018D_22Jan2019_v2] ## sum up for sample in allSamples:
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector_BE, redirector dbFile = dbDir + "Autumn18_private.sql" logger.info("Using db file: %s", dbFile) ## TTGamma private new samples TTGamma_dilep_LO_A18_private = FWLiteSample.fromDPMDirectory( "TTGamma_dilep_LO_A18_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Autumn18/prompt/ttGamma_Dilept_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov, prefix=redirector_BE, skipCheck=True) TTGamma_semilep_LO_A18_private = FWLiteSample.fromDPMDirectory( "TTGamma_semilep_LO_A18_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Autumn18/prompt/ttGamma_SemiLept_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov, prefix=redirector_BE, skipCheck=True) TTGamma_had_LO_A18_private = FWLiteSample.fromDPMDirectory( "TTGamma_had_LO_A18_private", "/store/user/tomc/heavyNeutrinoMiniAOD/Autumn18/prompt/ttGamma_Had_5f_ckm_LO_1line", dbFile=dbFile, overwrite=ov,
else: import logging logger = logging.getLogger(__name__) ov = False from Samples.Tools.config import dbDir, redirector, redirector_global dbFile = dbDir + "DB_Autumn18_Fast_miniAODv1.sql" logger.info("Using db file: %s", dbFile) DisplacedStops_mStop_250_ctau_0p01 = FWLiteSample.fromDAS( "DisplacedStops_mStop_250_ctau_0p01", "/DisplacedStops-mstop-250-ctau-0p01/prhussai-19-09-28-d1325a8a4e5845c2e07754c18f9c751d/USER", instance="phys03", dbFile=dbFile, overwrite=ov, prefix=redirector, skipCheck=True) ## T2tt SMS_T2tt_mStop_150to250 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_150to250", "/SMS-T2tt_mStop-150to250_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIAutumn18MiniAOD-PUFall18Fast_102X_upgrade2018_realistic_v15-v3/MINIAODSIM", dbFile=dbFile, overwrite=ov, prefix=redirector_global, skipCheck=True) SMS_T2tt_mStop_250to350 = FWLiteSample.fromDAS( "SMS_T2tt_mStop_250to350", "/SMS-T2tt_mStop-250to350_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIAutumn18MiniAOD-PUFall18Fast_102X_upgrade2018_realistic_v15-v3/MINIAODSIM",