sig, tree, extra = setupMuonPreselection(MET, "Muons", mode) # Systematics syst_filters = muonSystematics(sig, systematics) ### For the BSM set Weight = "mSuGra" if mode == "MCGrid": conf.Ntuple.Weight = "mSuGra" # List of samples available. Please add here. samplesList = { "MC311": samplesMC311X, "MC38": samplesMC, "data39": samplesData, "data311": samplesData311, "data4X": samplesData311, "Z": samplesData42X_SingleMu_PromptReco_NewMuRecipe, "Z_ReReco": samplesData42X_SingleMu_ReReco_NewMuRecipe, "MC42ttw_Z41": samplesMC42Wtt, "MC42QCD": samplesMC42QCD, "RA4sync": dataRA4_sync } if systematics: syst_str = "_" + systematics else: syst_str = "" output_dir = autoname("./resultsZ%(syst_mode)s", syst_mode=syst_str) #output_dir = "./resultsMC_metdown" # Run the analysis! sig.Run(output_dir, conf, samplesList[mode])
samplesList = { "MCGrid" : samplesBSMgrids42, "data311" : samplesData311, "data4X" : samplesData311, # "data42X_PromptReco" : samplesData42X_MuHad_PromptReco, # "data42X_ReReco" : samplesData42X_MuHad_ReReco, "data42X_PromptReco" : samplesDataMuHadresidualPrompt, "data42X_ReReco" : samplesDataMuHadresidualMay, # "MC42ttw_Z41" : samplesMC42Wtt, "MC42ttw_Z41" : samplesSynMC, "MC42QCD" : samplesMC42QCD, "MCskims" : MC42_madgraph_skims, "data42_muHadSkims" : data42_skims, "MC42QCDMu" : samplesMCQCDmu, "FASTW" : [WJets_HT300toInf_Madgraph_Summer11_GEN_V2_leo_TuneZ2_Fastsim_4_2_4_p1_NoPU_V2_651176baf0801b18003b251b106ec60b], "SMS" : samplesSMS, "sample_Fall11_data" : sample_Fall11 } if systematics: syst_str = "_"+systematics else: syst_str = "" if mode.startswith("data"): output_dir = autoname("./results") else: output_dir = autoname("./resultsSync%(syst_mode)s", syst_mode=syst_str) #output_dir = "./notrigger" # Run the analysis! sig.Run(output_dir, conf, samplesList[mode])
# List of samples available. Please add here. samplesList = { "MCGrid" : samplesBSMgrids42, "MC311" : samplesMC311X, "MC38" : samplesMC, "data39" : samplesData, "data311" : samplesData311, "data4X" : samplesData311, # "data42X_PromptReco" : samplesData42X_MuHad_PromptReco, # "data42X_ReReco" : samplesData42X_MuHad_ReReco, "data42X_PromptReco" : samplesDataMuHadresidualPrompt, "data42X_ReReco" : samplesDataMuHadresidualMay, # "MC42ttw_Z41" : samplesMC42Wtt, "MC42ttw_Z41" :samplesSynMC, "MC42QCD" : samplesMC42QCD, "MCskims" : MC42_madgraph_skims, "data42_muHadSkims" : data42_skims, "MC42QCDMu" : samplesMCQCDmu } if systematics: syst_str = "_"+systematics else: syst_str = "" if mode.startswith("data"): output_dir = autoname("./resultsUNCORQCDEST") else: output_dir = autoname("./resultsUNCORQCDEST%(syst_mode)s", syst_mode=syst_str) #output_dir = "./notrigger" # Run the analysis! sig.Run(output_dir, conf, samplesList[mode])
tree.TAttach(OneEl,RECO_CommonHTCut350) tree.TAttach(RECO_CommonHTCut350,ElectronPlots) tree.TAttach(ElectronPlots,triggerCUT) tree.TAttach(triggerCUT,ElectronPlotsHLT) ### For the BSM set Weight = "mSuGra" if mode == "MCGrid": conf.Ntuple.Weight = "mSuGra" # List of samples available. Please add here. samplesList = { "MCGrid" : samplesBSMgrids, "MC311" : samplesMC42Wtt, #samplesMC42QCD, #samplesMC42Wtt, #samplesMC311X, "MC38" : samplesMC, "data39" : samplesData, "data311" : samplesData311, "data4X" : samplesData311, "data42X_PromptReco" : samplesData42X_SingleEl_PromptReco, "data42X_ReReco" : samplesData42X_SingleEl_ReReco, } #if systematics: syst_str = "_"+systematics #else: syst_str = "" output_dir = autoname("./resultsTrigger_e%(syst_mode)s", syst_mode=syst_str) #output_dir = "./resultsMC_metdown" # Run the analysis! sig.Run(output_dir, conf, samplesList[mode])