import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

## ==== RelVals =====
TT_NoPU = kreator.makeMCComponent("TT_NoPU", "/RelValTTbar_13/CMSSW_7_4_0-MCRUN2_74_V7_GENSIM_7_1_15-v1/MINIAODSIM", "CMS", ".*root",809.1)
TT_bx25 = kreator.makeMCComponent("TT_bx25", "/RelValTTbar_13/CMSSW_7_4_0-PU25ns_MCRUN2_74_V7_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root",809.1)
TT_bx50 = kreator.makeMCComponent("TT_bx50", "/RelValTTbar_13/CMSSW_7_4_0-PU50ns_MCRUN2_74_V6_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root",809.1)

TTLep_NoPU = kreator.makeMCComponent("TTLep_NoPU", "/RelValTTbarLepton_13/CMSSW_7_4_0-MCRUN2_74_V7_GENSIM_7_1_15-v1/MINIAODSIM", "CMS", ".*root",809.1)

ZEE_bx50 = kreator.makeMCComponent("ZEE_bx50", "/RelValZEE_13/CMSSW_7_4_0-PU50ns_MCRUN2_74_V6_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root")
ZEE_bx25 = kreator.makeMCComponent("ZEE_bx25", "/RelValZEE_13/CMSSW_7_4_0-PU25ns_MCRUN2_74_V7_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root")
ZMM_bx25 = kreator.makeMCComponent("ZMM_bx25", "/RelValZMM_13/CMSSW_7_4_0-PU25ns_MCRUN2_74_V7_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root")
ZMM_bx50 = kreator.makeMCComponent("ZMM_bx50", "/RelValZMM_13/CMSSW_7_4_0-PU50ns_MCRUN2_74_V6_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root")
ZTT_bx25 = kreator.makeMCComponent("ZTT_bx25", "/RelValZTT_13/CMSSW_7_4_0-PU25ns_MCRUN2_74_V7_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root")
ZTT_bx50 = kreator.makeMCComponent("ZTT_bx50", "/RelValZTT_13/CMSSW_7_4_0-PU50ns_MCRUN2_74_V6_gs7115_puProd-v1/MINIAODSIM", "CMS", ".*root")

RelVals740 = [ TT_NoPU, TT_bx25, TT_bx50, TTLep_NoPU, ZEE_bx50, ZEE_bx25, ZMM_bx25, ZMM_bx50, ZTT_bx25, ZTT_bx50 ]

### ----------------------------- 25 ns ----------------------------------------
# TTbar cross section: NNLO, https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO (172.5)
TTJets = kreator.makeMCComponent("TTJets", "/TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 831.76)
TTJets_LO = kreator.makeMCComponent("TTJets_LO", "/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 831.76)
TT_pow = kreator.makeMCComponent("TT_pow", "/TT_TuneCUETP8M1_13TeV-powheg-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 831.76)
TTLep_pow = kreator.makeMCComponent("TTLep_pow", "/TTTo2L2Nu_13TeV-powheg/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2))
TTJets_LO_FastSIM = kreator.makeMCComponent("TTJets_LO_FastSIM", "/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 831.76, useAAA=True)
Beispiel #2
0
#test = 0 # this is for local tests
#test = 2 # this is for 80X ZGamma MC
test = 3  # this is for data 2016

isData = False  # will be changed accordingly if chosen to run on data
runPreprocessor = False

if test == 0:
    # ------------------------------------------------------------------------------------------- #
    # --- all this lines taken from CMGTools.RootTools.samples.samples_13TeV_PHYS14
    # --- They may not be in synch anymore
    from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
    kreator = ComponentCreator()
    testComponent = kreator.makeMCComponent(
        "testComponent",
        "/GJets_HT-200to400_Tune4C_13TeV-madgraph-tauola/Phys14DR-PU20bx25_PHYS14_25_V1-v1/MINIAODSIM",
        "CMS", ".*root", 489.9)
    samples = [testComponent]

    json = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/DCSOnly/json_DCSONLY.txt'

    dataDir = os.environ['CMSSW_BASE'] + "/src/CMGTools/TTHAnalysis/data"

    from CMGTools.TTHAnalysis.setup.Efficiencies import *

    for comp in samples:
        #        comp.isMC = True
        #        comp.isData = False
        comp.splitFactor = 250
        comp.puFileMC = dataDir + "/puProfile_Summer12_53X.root"
        comp.puFileData = dataDir + "/puProfile_Data12.root"
  )

###################################################
### CONNECT SAMPLES TO THEIR ALIASES AND FILES  ###
###################################################
from CMGTools.RootTools.utils.splitFactor import splitFactor
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
from CMGTools.RootTools.samples.samples_13TeV_74X import TT_pow, DYJetsToLL_M50, WJetsToLNu, WJetsToLNu_HT100to200, WJetsToLNu_HT200to400, WJetsToLNu_HT400to600, WJetsToLNu_HT600toInf, QCD_Mu15, WWTo2L2Nu, ZZp8, WZp8, SingleTop
from CMGTools.RootTools.samples.samples_13TeV_DATA2015 import SingleMuon_Run2015B_17Jul, SingleMuon_Run2015B
from CMGTools.H2TauTau.proto.samples.spring15.triggers_tauTau import mc_triggers as mc_triggers_tt

creator = ComponentCreator()

ggh160   = creator.makeMCComponent  ("GGH160", 
                                     "/SUSYGluGluToHToTauTau_M-160_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", 
                                     "CMS", 
                                     ".*root", 
                                     1.0)
run2015B = creator.makeDataComponent("DataRun2015B", 
                                     "/Tau/Run2015B-PromptReco-v1/MINIAOD", 
                                     "CMS", 
                                     ".*root", 
                                     "/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/DCSOnly/json_DCSONLY_Run2015B.txt"
                                     )

MC_list = [ggh160]

run2015B.intLumi  = '2.0' # in pb
run2015B.triggers = mc_triggers_tt

split_factor = 1e5
Beispiel #4
0
import copy
import re
from CMGTools.RootTools.yellowreport.YRParser import yrparser13TeV
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

HiggsGGH125 = creator.makeMCComponent(
    'HiggsGGH125',
    '/GluGluHToTauTau_M125_13TeV_powheg_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
HiggsGGH125_ext = creator.makeMCComponent(
    'HiggsGGH125_ext',
    '/GluGluHToTauTau_M125_13TeV_powheg_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14_ext1-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
HiggsVBF125 = creator.makeMCComponent(
    'HiggsVBF125',
    '/VBFHToTauTau_M125_13TeV_powheg_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
HiggsTTH125 = creator.makeMCComponent(
    'HiggsTTH125',
    '/ttHToTauTau_M125_TuneCP5_13TeV-powheg-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_new_pmx_94X_mc2017_realistic_v14-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
HiggsWplusH125 = creator.makeMCComponent(
    'HiggsWplusH125',
    '/WplusHToTauTau_M125_13TeV_powheg_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
HiggsWminusH125 = creator.makeMCComponent(
    'HiggsWminusH125',
    '/WminusHToTauTau_M125_13TeV_powheg_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
Beispiel #5
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

# DY HT bins:
#https://twiki.cern.ch/twiki/bin/view/CMS/SummaryTable1G25ns#DY_Z
DYJetsToLL_M50_HT100to200 = kreator.makeMCComponent("DYJetsToLL_M50_HT100to200", "/DYJetsToLL_M-50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",147.4*1.23)
DYJetsToLL_M50_HT200to400 = kreator.makeMCComponent("DYJetsToLL_M50_HT200to400", "/DYJetsToLL_M-50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",40.99*1.23)
DYJetsToLL_M50_HT400to600 = kreator.makeMCComponent("DYJetsToLL_M50_HT400to600", "/DYJetsToLL_M-50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v2/MINIAODSIM", "CMS", ".*root",5.678*1.23) 
DYJetsToLL_M50_HT600toInf = kreator.makeMCComponent("DYJetsToLL_M50_HT600toInf", "/DYJetsToLL_M-50_HT-600toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root",2.198*1.23)

# DY inclusive, NNLO 
DYJetsToLL_M50 = kreator.makeMCComponent("DYJetsToLL_M50", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 2008.4*3)

# W+Jets
WJetsToLNu = kreator.makeMCComponent("WJetsToLNu","/WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 3* 20508.9)

### DiBosons

# cross section from https://twiki.cern.ch/twiki/bin/view/CMS/SummaryTable1G25ns#Diboson
WW = kreator.makeMCComponent("WW", "/WW_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 118.7)
WZ = kreator.makeMCComponent("WZ", "/WZ_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 47.13 )
ZZ = kreator.makeMCComponent("ZZ", "/ZZ_TuneCUETP8M1_13TeV-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 16.523 )


### top
Beispiel #6
0
###################################################
### CONNECT SAMPLES TO THEIR ALIASES AND FILES  ###
###################################################
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
from CMGTools.RootTools.utils.splitFactor import splitFactor
from CMGTools.H2TauTau.proto.samples.spring15.triggers_muEle import mc_triggers as mc_triggers_em

#my_connect = httConnector('htt_6mar15_manzoni_nom', 'htautau_group',
#                          '.*root', 'tt', production=production)
#my_connect.connect()
#MC_list = my_connect.MC_list

creator = ComponentCreator()
ggh160 = creator.makeMCComponent(
    "GGH160",
    "/SUSYGluGluToHToTauTau_M-160_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)

MC_list = [ggh160]

split_factor = 2e4

for sample in MC_list:
    sample.triggers = mc_triggers_em
    sample.splitFactor = splitFactor(sample, split_factor)

###################################################
###              ASSIGN PU to MC                ###
###################################################
for mc in MC_list:
    mc.puFileData = puFileData
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### -----2016
## FullSIM ###
#SMS_T2_4bd_genMET_80_mStop_500_mLSP_420 = kreator.makeMCComponent("SMS_T2_4bd_genMET_80_mStop_500_mLSP_420","/SMS-T2-4bd_genMET-80_mStop-500_mLSP-420_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM", "CMS", ".*root",0.1523*6.56599)
#SMS_T2_4bd_genMET_80_mStop_500_mLSP_490 = kreator.makeMCComponent("SMS_T2_4bd_genMET_80_mStop_500_mLSP_490","/SMS-T2-4bd_genMET-80_mStop-500_mLSP-490_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM", "CMS", ".*root", 0.1444*6.92521)

## FastSIM ##
#SMS_T2tt_dM_10to80_genHT_160_genMET_80_mWMin_0p1 = kreator.makeMCComponent("SMS_T2tt_dM_10to80_genHT_160_genMET_80_mWMin_0p1","/SMS-T2tt_dM-10to80_genHT-160_genMET-80_mWMin-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv4-PUSummer16v3Fast_Nano14Dec2018_102X_mcRun2_asymptotic_v6-v1/NANOAODSIM","CMS", ".*root", useAAA = True)

SMS_T2tt_dM_10to80_genHT_160_genMET_80_mWMin_0p1 = kreator.makeMCComponent("SMS_T2tt_dM_10to80_genHT_160_genMET_80_mWMin_0p1","/SMS-T2tt_dM-10to80_genHT-160_genMET-80_mWMin-0p1_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16NanoAODv4-PUSummer16v3Fast_Nano14Dec2018_102X_mcRun2_asymptotic_v6-v1/NANOAODSIM","CMS", ".*root", useAAA = True)

signalFullSim = [
#SMS_T2_4bd_genMET_80_mStop_500_mLSP_420,
#SMS_T2_4bd_genMET_80_mStop_500_mLSP_490
]

signalFastSim = [
SMS_T2tt_dM_10to80_genHT_160_genMET_80_mWMin_0p1
]

samples = signalFullSim + signalFastSim

from CMGTools.TTHAnalysis.setup.Efficiencies import *
dataDir = "$CMSSW_BASE/src/CMGTools/TTHAnalysis/data"
Beispiel #8
0
import copy

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

HiggsSUSYGG80 = creator.makeMCComponent("HiggsSUSYGG80", "/SUSYGluGluToHToTauTau_M-80_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG90 = creator.makeMCComponent("HiggsSUSYGG90", "/SUSYGluGluToHToTauTau_M-90_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG100 = creator.makeMCComponent("HiggsSUSYGG100", "/SUSYGluGluToHToTauTau_M-100_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG110 = creator.makeMCComponent("HiggsSUSYGG110", "/SUSYGluGluToHToTauTau_M-110_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG120 = creator.makeMCComponent("HiggsSUSYGG120", "/SUSYGluGluToHToTauTau_M-120_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG130 = creator.makeMCComponent("HiggsSUSYGG130", "/SUSYGluGluToHToTauTau_M-130_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG140 = creator.makeMCComponent("HiggsSUSYGG140", "/SUSYGluGluToHToTauTau_M-140_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG160 = creator.makeMCComponent("HiggsSUSYGG160", "/SUSYGluGluToHToTauTau_M-160_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG180 = creator.makeMCComponent("HiggsSUSYGG180", "/SUSYGluGluToHToTauTau_M-180_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG200 = creator.makeMCComponent("HiggsSUSYGG200", "/SUSYGluGluToHToTauTau_M-200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG250 = creator.makeMCComponent("HiggsSUSYGG250", "/SUSYGluGluToHToTauTau_M-250_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG300 = creator.makeMCComponent("HiggsSUSYGG300", "/SUSYGluGluToHToTauTau_M-300_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG350 = creator.makeMCComponent("HiggsSUSYGG350", "/SUSYGluGluToHToTauTau_M-350_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG400 = creator.makeMCComponent("HiggsSUSYGG400", "/SUSYGluGluToHToTauTau_M-400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG450 = creator.makeMCComponent("HiggsSUSYGG450", "/SUSYGluGluToHToTauTau_M-450_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG500 = creator.makeMCComponent("HiggsSUSYGG500", "/SUSYGluGluToHToTauTau_M-500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG600 = creator.makeMCComponent("HiggsSUSYGG600", "/SUSYGluGluToHToTauTau_M-600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG700 = creator.makeMCComponent("HiggsSUSYGG700", "/SUSYGluGluToHToTauTau_M-700_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG800 = creator.makeMCComponent("HiggsSUSYGG800", "/SUSYGluGluToHToTauTau_M-800_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG900 = creator.makeMCComponent("HiggsSUSYGG900", "/SUSYGluGluToHToTauTau_M-900_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG1000 = creator.makeMCComponent("HiggsSUSYGG1000", "/SUSYGluGluToHToTauTau_M-1000_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG1200 = creator.makeMCComponent("HiggsSUSYGG1200", "/SUSYGluGluToHToTauTau_M-1200_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG1400 = creator.makeMCComponent("HiggsSUSYGG1400", "/SUSYGluGluToHToTauTau_M-1400_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG1500 = creator.makeMCComponent("HiggsSUSYGG1500", "/SUSYGluGluToHToTauTau_M-1500_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
HiggsSUSYGG1600 = creator.makeMCComponent("HiggsSUSYGG1600", "/SUSYGluGluToHToTauTau_M-1600_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### OFFICIAL SMS SIGNALS
T1tttt_mGo_1500to1525_mLSP_50to1125 = kreator.makeMCComponent("T1tttt_mGo_1500to1525_mLSP_50to1125", "/SMS-T1tttt_mGluino-1500to1525_mLSP-50to1125_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root")
T1tttt_mGo_1200_mLSP_1to825 = kreator.makeMCComponent("T1tttt_mGo_1200_mLSP_1to825", "/SMS-T1tttt_mGluino-1200_mLSP-1to825_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root")

## NEW
T1tttt_mGo_1000to1050_mLSP_1to800 = kreator.makeMCComponent("T1tttt_mGo_1000to1050_mLSP_1to800","/SMS-T1tttt_mGluino-1000to1050_mLSP-1to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1050_mLSP_50to775 = kreator.makeMCComponent("T1tttt_mGo_1050_mLSP_50to775","/SMS-T1tttt_mGluino-1050_mLSP-50to775_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1100_mLSP_1to775 = kreator.makeMCComponent("T1tttt_mGo_1100_mLSP_1to775","/SMS-T1tttt_mGluino-1100_mLSP-1to775_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1100to1125_mLSP_700to900 = kreator.makeMCComponent("T1tttt_mGo_1100to1125_mLSP_700to900","/SMS-T1tttt_mGluino-1100to1125_mLSP-700to900_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1150_mLSP_1to800 = kreator.makeMCComponent("T1tttt_mGo_1150_mLSP_1to800","/SMS-T1tttt_mGluino-1150_mLSP-1to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1150to1175_mLSP_750to925 = kreator.makeMCComponent("T1tttt_mGo_1150to1175_mLSP_750to925","/SMS-T1tttt_mGluino-1150to1175_mLSP-750to925_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1175_mLSP_950 = kreator.makeMCComponent("T1tttt_mGo_1175_mLSP_950","/SMS-T1tttt_mGluino-1175_mLSP-950_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
#T1tttt_mGo_1200_mLSP_1to825 = kreator.makeMCComponent("T1tttt_mGo_1200_mLSP_1to825","/SMS-T1tttt_mGluino-1200_mLSP-1to825_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1200to1225_mLSP_800to1000 = kreator.makeMCComponent("T1tttt_mGo_1200to1225_mLSP_800to1000","/SMS-T1tttt_mGluino-1200to1225_mLSP-800to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1250to1275_mLSP_700to1050 = kreator.makeMCComponent("T1tttt_mGo_1250to1275_mLSP_700to1050","/SMS-T1tttt_mGluino-1250to1275_mLSP-700to1050_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1275_mLSP_900to975 = kreator.makeMCComponent("T1tttt_mGo_1275_mLSP_900to975","/SMS-T1tttt_mGluino-1275_mLSP-900to975_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1300_mLSP_1to1075 = kreator.makeMCComponent("T1tttt_mGo_1300_mLSP_1to1075","/SMS-T1tttt_mGluino-1300_mLSP-1to1075_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1300to1325_mLSP_700to1100 = kreator.makeMCComponent("T1tttt_mGo_1300to1325_mLSP_700to1100","/SMS-T1tttt_mGluino-1300to1325_mLSP-700to1100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1325to1350_mLSP_1to1125 = kreator.makeMCComponent("T1tttt_mGo_1325to1350_mLSP_1to1125","/SMS-T1tttt_mGluino-1325to1350_mLSP-1to1125_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1350to1375_mLSP_50to1025 = kreator.makeMCComponent("T1tttt_mGo_1350to1375_mLSP_50to1025","/SMS-T1tttt_mGluino-1350to1375_mLSP-50to1025_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1400_mLSP_1to1175 = kreator.makeMCComponent("T1tttt_mGo_1400_mLSP_1to1175","/SMS-T1tttt_mGluino-1400_mLSP-1to1175_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1400to1425_mLSP_50to1100 = kreator.makeMCComponent("T1tttt_mGo_1400to1425_mLSP_50to1100","/SMS-T1tttt_mGluino-1400to1425_mLSP-50to1100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
T1tttt_mGo_1425to1450_mLSP_1to1200 = kreator.makeMCComponent("T1tttt_mGo_1425to1450_mLSP_1to1200","/SMS-T1tttt_mGluino-1425to1450_mLSP-1to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15FSPremix-MCRUN2_74_V9-v1/MINIAODSIM","CMS",".*root",1,True)
    #jesCorr = 1.,
    puJetIDDisc='pileupJetId:fullDiscriminant',
)

# ###################################################
# ### CONNECT SAMPLES TO THEIR ALIASES AND FILES  ###
# ###################################################
# my_connect = httConnector('htt_6mar15_manzoni_nom', 'CMS',
#                           '.*root', 'mt', production=production)
# my_connect.connect()
# MC_list = my_connect.MC_list

from CMGTools.RootTools.samples.samples_13TeV_74X import TT_pow, DYJetsToLL_M50, WJetsToLNu, WJetsToLNu_HT100to200, WJetsToLNu_HT200to400, WJetsToLNu_HT400to600, WJetsToLNu_HT600toInf

creator = ComponentCreator()
ggh160 = creator.makeMCComponent("GGH160", "/SUSYGluGluToHToTauTau_M-160_TuneCUETP8M1_13TeV-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0)


qcd_flat = creator.makeMCComponent("QCDflat", "/QCD_Pt-15to7000_TuneCUETP8M1_Flat_13TeV_pythia8/RunIISpring15DR74-Asympt25nsRaw_MCRUN2_74_V9-v3/MINIAODSIM", "CMS", ".*root", 1.0)


samples = [qcd_flat, TT_pow, DYJetsToLL_M50, WJetsToLNu, WJetsToLNu_HT100to200, WJetsToLNu_HT200to400, WJetsToLNu_HT400to600, WJetsToLNu_HT600toInf]

# from CMGTools.H2TauTau.proto.samples.spring15.connector import httConnector
# my_connect = httConnector('TAUMU_743_TEST1', 'htautau_group',
#                           '.*root', 'mt', production=production, 
#                           splitFactor=1e5)
# my_connect.connect()
# ggh160 = my_connect.MC_list[0]

split_factor = 2e4
triggers_2mu1e = [ "HLT_DiMu9_Ele9_CaloIdL_TrackIdL_v*" ]
triggers_2e1mu = [ "HLT_Mu8_DiEle12_CaloIdL_TrackIdL_v*" ]

triggers_trilep = triggers_3e + triggers_3mu + triggers_2mu1e + triggers_2e1mu
triggers_signal = triggers_mumu + triggers_ee + triggers_mue + triggers_trilep

triggers_1mu_iso = [ 'HLT_IsoMu24_eta2p1_v*', 'HLT_IsoTkMu24_eta2p1_v*'  ]

# note: here the WP75 is th name in MC, WPLoose and WPTight should be in data
triggers_1e      = [ "HLT_Ele32_eta2p1_WP75_Gsf_v*", "HLT_Ele32_eta2p1_WPLoose_Gsf_v*", "HLT_Ele32_eta2p1_WPTight_Gsf_v*" ]

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

# GGH cross section from LHC Higgs XS WG: https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageAt1314TeV?rev=15
GGHZZ4L = kreator.makeMCComponent("GGHZZ4L", "/GluGluHToZZTo4L_M125_13TeV_powheg_JHUgen_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 43.92*2.76E-04, useAAA=True)
QQHZZ4L = kreator.makeMCComponent("QQHZZ4L", "/VBF_HToZZTo4L_M125_13TeV_powheg_JHUgen_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 3.748*2.76E-04)
# split in assing W+/(W+ + W-) = 0.6385 as at 8 TeV, to be updated
WpHZZ4L = kreator.makeMCComponent("WpHZZ4L", "/WplusH_HToZZTo4L_M125_13TeV_powheg-minlo-HWJ_JHUgen_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.38*0.6385*2.76E-04)
WmHZZ4L = kreator.makeMCComponent("WmHZZ4L", "/WminusH_HToZZTo4L_M125_13TeV_powheg-minlo-HWJ_JHUgen_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.38*(1-0.6385)*2.76E-04)
ZHZZ4LF = kreator.makeMCComponent("ZHZZ4LF", "/ZH_HToZZ_4LFilter_M125_13TeV_powheg-minlo-HZJ_JHUgen_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 0.8696*(3.70E-03+2.34E-02+2.76E-04)*0.15038)

H4L = [ GGHZZ4L, QQHZZ4L, WpHZZ4L, WmHZZ4L, ZHZZ4LF ]

# cross section from McM (powheg) 
ZZTo4L = kreator.makeMCComponent("ZZTo4L","/ZZTo4L_13TeV_powheg_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.256, useAAA=True)

# cross section from McM (MCFM)
GGZZTo2e2mu = kreator.makeMCComponent("GGZZTo2e2mu", "/GluGluToZZTo2e2mu_BackgroundOnly_13TeV_MCFM/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 0.00319364, useAAA=True)
GGZZTo2e2tau = kreator.makeMCComponent("GGZZTo2e2tau", "/GluGluToZZTo2e2tau_BackgroundOnly_13TeV_MCFM/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 0.00319364, useAAA=True)
GGZZTo2mu2tau = kreator.makeMCComponent("GGZZTo2mu2tau", "/GluGluToZZTo2mu2tau_BackgroundOnly_13TeV_MCFM/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 0.00319364, useAAA=True)
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### ----------------------------- 25 ns ----------------------------------------
# TTbar cross section: NNLO, https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO (172.5)

TTJets = kreator.makeMCComponent("TTJets", "/TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v3/MINIAODSIM", "CMS", ".*root", 831.76)
TTJets_LO = kreator.makeMCComponent("TTJets_LO", "/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76)

TTJets_SingleLeptonFromTbar = kreator.makeMCComponent("TTJets_SingleLeptonFromTbar", "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108) )
TTJets_SingleLeptonFromTbar_ext = kreator.makeMCComponent("TTJets_SingleLeptonFromTbar_ext", "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108) )
TTJets_SingleLeptonFromT = kreator.makeMCComponent("TTJets_SingleLeptonFromT", "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108))
TTJets_SingleLeptonFromT_ext = kreator.makeMCComponent("TTJets_SingleLeptonFromT_ext", "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108))
TTJets_DiLepton = kreator.makeMCComponent("TTJets_DiLepton", "/TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )
TTJets_DiLepton_ext = kreator.makeMCComponent("TTJets_DiLepton_ext", "/TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )

TTLep_pow = kreator.makeMCComponent("TTLep_pow", "/TTTo2L2Nu_13TeV-powheg/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )

TTJets_LO_HT600to800   = kreator.makeMCComponent("TTJets_LO_HT600to800", "/TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 1.610*831.76/502.2)
TTJets_LO_HT800to1200  = kreator.makeMCComponent("TTJets_LO_HT800to1200", "/TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 0.663*831.76/502.2)
TTJets_LO_HT1200to2500 = kreator.makeMCComponent("TTJets_LO_HT1200to2500", "/TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 0.12*831.76/502.2)
TTJets_LO_HT2500toInf  = kreator.makeMCComponent("TTJets_LO_HT2500toInf", "/TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 0.001430*831.76/502.2)

TTs = [ TTJets, TTJets_LO , TTJets_SingleLeptonFromTbar, TTJets_SingleLeptonFromTbar_ext, TTJets_SingleLeptonFromT, TTJets_SingleLeptonFromT_ext, TTJets_DiLepton, TTJets_DiLepton_ext, TTLep_pow, TTJets_LO_HT600to800, TTJets_LO_HT800to1200, TTJets_LO_HT1200to2500, TTJets_LO_HT2500toInf]

# Higgs
### V+jets inclusive (from https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV)
WJetsToLNu = kreator.makeMCComponentFromDESY("WJetsToLNu","/WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 3* 20508.9)
DYJetsToLL_M50 = kreator.makeMCComponentFromDESY("DYJetsToLL_M50", "/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v3/MINIAODSIM", "CMS", ".*root", 2008.*3)

# Single top cross sections: https://twiki.cern.ch/twiki/bin/viewauth/CMS/SingleTopSigma
TToLeptons_tch = kreator.makeMCComponentFromDESY("TToLeptons_tch", "/ST_t-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", (136.05+80.97)*0.108*3)
TToLeptons_sch = kreator.makeMCComponentFromDESY("TToLeptons_sch", "/ST_s-channel_4f_leptonDecays_13TeV-amcatnlo-pythia8_TuneCUETP8M1/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", (7.20+4.16)*0.108*3)
TBar_tWch = kreator.makeMCComponentFromDESY("TBar_tWch", "/ST_tW_antitop_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",35.6)
T_tWch = kreator.makeMCComponentFromDESY("T_tWch", "/ST_tW_top_5f_inclusiveDecays_13TeV-powheg-pythia8_TuneCUETP8M1/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root",35.6)

SingleTop = [
    TToLeptons_tch, TToLeptons_sch, TBar_tWch, T_tWch
]

## DYjets
DYJetsToLL_M50_HT100to200 = kreator.makeMCComponent("DYJetsToLL_M50_HT100to200", "/DYJetsToLL_M-50_HT-100to200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root",139.4*1.27)
DYJetsToLL_M50_HT200to400 = kreator.makeMCComponent("DYJetsToLL_M50_HT200to400", "/DYJetsToLL_M-50_HT-200to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root",42.75*1.27)
DYJetsToLL_M50_HT400to600 = kreator.makeMCComponent("DYJetsToLL_M50_HT400to600", "/DYJetsToLL_M-50_HT-400to600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root",5.497*1.27)
DYJetsToLL_M50_HT600toInf = kreator.makeMCComponent("DYJetsToLL_M50_HT600toInf", "/DYJetsToLL_M-50_HT-600toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root",2.21*1.27)
DYJetsM50HT = [
DYJetsToLL_M50_HT100to200,
DYJetsToLL_M50_HT200to400,
DYJetsToLL_M50_HT400to600,
DYJetsToLL_M50_HT600toInf,
]

VJets = [ WJetsToLNu, DYJetsToLL_M50 ]

## TT+V (W,Z,H)
TTZToLLNuNu_25ns = kreator.makeMCComponentFromDESY("TTZToLLNuNu_25ns","/TTZToLLNuNu_M-10_TuneCUETP8M1_13TeV-amcatnlo-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 0.2529 )
TTZToQQ_25ns = kreator.makeMCComponentFromDESY("TTZToQQ_25ns","/TTZToQQ_TuneCUETP8M1_13TeV-amcatnlo-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 0.5297 )
Beispiel #14
0
import copy
import re
import PhysicsTools.HeppyCore.framework.config as cfg
from CMGTools.RootTools.yellowreport.YRParser import yrparser13TeV

# from CMGTools.H2TauTau.proto.samples.sampleShift import sampleShift
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

HiggsGGH125 = creator.makeMCComponent(
    "HiggsGGH125",
    "/GluGluHToTauTau_M125_13TeV_powheg_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM",
    "CMS",
    ".*root",
    1.0,
)

HiggsVBF125 = creator.makeMCComponent(
    "HiggsVBF125",
    "/VBFHToTauTau_M125_13TeV_powheg_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM",
    "CMS",
    ".*root",
    1.0,
)

HiggsTTH125 = creator.makeMCComponent(
    "HiggsTTH125",
    "/ttHJetToTT_M125_13TeV_amcatnloFXFX_madspin_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM",
    "CMS",
    ".*root",
Beispiel #15
0
import copy
import re
from CMGTools.RootTools.yellowreport.YRParser import yrparser13TeV
# from CMGTools.H2TauTau.proto.samples.sampleShift import sampleShift
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

HiggsGGH125 = creator.makeMCComponent(
    'HiggsGGH125',
    '/GluGluHToTauTau_M125_13TeV_powheg_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
# HiggsGGH130 = creator.makeMCComponent('HiggsGGH130', '/GluGluHToTauTau_M130_13TeV_powheg_pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM', 'CMS', '.*root', 1.0)

# HiggsVBF120 = creator.makeMCComponent('HiggsVBF125', '/VBFHToTauTau_M120_13TeV_powheg_pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM', 'CMS', '.*root', 1.0)
HiggsVBF125 = creator.makeMCComponent(
    'HiggsVBF125',
    '/VBFHToTauTau_M125_13TeV_powheg_pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)
# HiggsVBF130 = creator.makeMCComponent('HiggsVBF125', '/VBFHToTauTau_M130_13TeV_powheg_pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM', 'CMS', '.*root', 1.0)

HiggsTTH125 = creator.makeMCComponent(
    'HiggsTTH125',
    '/ttHToNonbb_M125_TuneCUETP8M2_ttHtranche3_13TeV-powheg-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM',
    'CMS', '.*root', 1.0)

#############

mc_higgs_vbf = [
    HiggsVBF125,
    # HiggsVBFtoWW125,
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### ----------------------------- 25 ns ----------------------------------------
# TTbar cross section: NNLO, https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO (172.5)

TTJets_LO = kreator.makeMCComponentFromDESY("TTJets_LO", "/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76)

## Extensions of HT inclusive sample

TTJets_SingleLeptonFromTbar = kreator.makeMCComponent("TTJets_SingleLeptonFromTbar", "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108) )
TTJets_SingleLeptonFromTbar_ext = kreator.makeMCComponent("TTJets_SingleLeptonFromTbar_ext", "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108) )
TTJets_SingleLeptonFromT = kreator.makeMCComponent("TTJets_SingleLeptonFromT", "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108))
TTJets_SingleLeptonFromT_ext = kreator.makeMCComponent("TTJets_SingleLeptonFromT_ext", "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108))
TTJets_DiLepton = kreator.makeMCComponentFromDESY("TTJets_DiLepton", "/TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )
TTJets_DiLepton_ext = kreator.makeMCComponentFromDESY("TTJets_DiLepton_ext", "/TTJets_DiLept_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )

## TTJets HT binned
TTJets_LO_HT600to800   = kreator.makeMCComponentFromDESY("TTJets_LO_HT600to800", "/TTJets_HT-600to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 1.610*831.76/502.2)
TTJets_LO_HT800to1200  = kreator.makeMCComponentFromDESY("TTJets_LO_HT800to1200", "/TTJets_HT-800to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 0.663*831.76/502.2)
TTJets_LO_HT1200to2500 = kreator.makeMCComponentFromDESY("TTJets_LO_HT1200to2500", "/TTJets_HT-1200to2500_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 0.12*831.76/502.2)
TTJets_LO_HT2500toInf  = kreator.makeMCComponentFromDESY("TTJets_LO_HT2500toInf", "/TTJets_HT-2500toInf_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM", "CMS", ".*root", 0.001430*831.76/502.2)

TTs = [ TTJets_LO , TTJets_SingleLeptonFromTbar, TTJets_SingleLeptonFromTbar_ext, TTJets_SingleLeptonFromT, TTJets_SingleLeptonFromT_ext, TTJets_DiLepton, TTJets_DiLepton_ext, TTJets_LO_HT600to800, TTJets_LO_HT800to1200, TTJets_LO_HT1200to2500, TTJets_LO_HT2500toInf]
#TTs = [ TTJets_LO ]
Beispiel #17
0
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### NB: Commented lines refer to samples available in Spring15MiniAODv2 but not yet in Fall15MiniAODv2

### ----------------------------- 25 ns ----------------------------------------

# TTbar cross section: NNLO, https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO (172.5)

#TTJets = kreator.makeMCComponent("TTJets", "/TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v3/MINIAODSIM", "CMS", ".*root", 831.76)
TTJets_LO = kreator.makeMCComponent(
    "TTJets_LO",
    "/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 831.76)
TT_pow_ext = kreator.makeMCComponent(
    "TT_pow_ext",
    "/TT_TuneCUETP8M1_13TeV-powheg-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext3-v1/MINIAODSIM",
    "CMS", ".*root", 831.76)

TTJets_SingleLeptonFromTbar = kreator.makeMCComponent(
    "TTJets_SingleLeptonFromTbar",
    "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v2/MINIAODSIM",
    "CMS", ".*root", 831.76 * (3 * 0.108) * (1 - 3 * 0.108))
#TTJets_SingleLeptonFromTbar_ext = kreator.makeMCComponent("TTJets_SingleLeptonFromTbar_ext", "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM", "CMS", ".*root", 831.76*(3*0.108)*(1-3*0.108) )
TTJets_SingleLeptonFromT = kreator.makeMCComponent(
    "TTJets_SingleLeptonFromT",
    "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 831.76 * (3 * 0.108) * (1 - 3 * 0.108))
# COMPONENT CREATOR
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

# QCD_Pt_Flat
QCD_Pt_15to7000_TuneCP5_Flat2017 = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCP5_Flat2017",
    "/QCD_Pt-15to7000_TuneCP5_Flat2017_13TeV_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM",
    "CMS", ".*root", 1)
QCD_Pt_15to7000_TuneCP5_Flat2017_FlatPU0to70 = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCP5_Flat2017_FlatPU0to70",
    "/QCD_Pt-15to7000_TuneCP5_Flat2017_13TeV_pythia8/RunIIFall17MiniAOD-FlatPU0to70_94X_mc2017_realistic_v10-v1/MINIAODSIM",
    "CMS", ".*root", 1)
QCD_Pt_15to7000_TuneCP5_Flat2017_NoPU = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCP5_Flat2017_NoPU",
    "/QCD_Pt-15to7000_TuneCP5_Flat2017_13TeV_pythia8/RunIIFall17MiniAOD-NoPU_94X_mc2017_realistic_v10-v2/MINIAODSIM",
    "CMS", ".*root", 1)
QCD_Pt_15to7000_TuneCP5_Flat = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCP5_Flat",
    "/QCD_Pt-15to7000_TuneCP5_Flat_13TeV_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM",
    "CMS", ".*root", 1)
QCD_Pt_15to7000_TuneCP5_Flat_FlatPU0to70 = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCP5_Flat_FlatPU0to70",
    "/QCD_Pt-15to7000_TuneCP5_Flat_13TeV_pythia8/RunIIFall17MiniAOD-FlatPU0to70_94X_mc2017_realistic_v10-v1/MINIAODSIM",
    "CMS", ".*root", 1)
QCD_Pt_15to7000_TuneCP5_Flat_NoPU = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCP5_Flat_NoPU",
    "/QCD_Pt-15to7000_TuneCP5_Flat_13TeV_pythia8/RunIIFall17MiniAOD-NoPU_94X_mc2017_realistic_v10-v2/MINIAODSIM",
    "CMS", ".*root", 1)
QCD_Pt_15to7000_TuneCUETP8M1_Flat_FlatPU0to70 = kreator.makeMCComponent(
    "QCD_Pt_15to7000_TuneCUETP8M1_Flat_FlatPU0to70",
Beispiel #19
0
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()
zprimeSamples = []
ZprimeToTT_M_1000_100 = kreator.makeMCComponent(
    "ZprimeToTT_M_1000_100",
    "/ZprimeToTT_M-1000_W-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
zprimeSamples.append(ZprimeToTT_M_1000_100)
ZprimeToTT_M_1000_10 = kreator.makeMCComponent(
    "ZprimeToTT_M_1000_10",
    "/ZprimeToTT_M-1000_W-10_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
zprimeSamples.append(ZprimeToTT_M_1000_10)
ZprimeToTT_M_1000_300 = kreator.makeMCComponent(
    "ZprimeToTT_M_1000_300",
    "/ZprimeToTT_M-1000_W-300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
zprimeSamples.append(ZprimeToTT_M_1000_300)
ZprimeToTT_M_1250_125 = kreator.makeMCComponent(
    "ZprimeToTT_M_1250_125",
    "/ZprimeToTT_M-1250_W-125_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
zprimeSamples.append(ZprimeToTT_M_1250_125)
ZprimeToTT_M_1250_12p5 = kreator.makeMCComponent(
    "ZprimeToTT_M_1250_12p5",
    "/ZprimeToTT_M-1250_W-12p5_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
zprimeSamples.append(ZprimeToTT_M_1250_12p5)
ZprimeToTT_M_1500_150 = kreator.makeMCComponent(
    "ZprimeToTT_M_1500_150",
    "/ZprimeToTT_M-1500_W-150_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
Beispiel #20
0
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()
signalSamples = []
BulkGravToWWToWlepWhad_narrow_1000 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1000",
    "/BulkGravToWWToWlepWhad_narrow_M-1000_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1000)
BulkGravToWWToWlepWhad_narrow_1200 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1200",
    "/BulkGravToWWToWlepWhad_narrow_M-1200_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1200)
BulkGravToWWToWlepWhad_narrow_1400 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1400",
    "/BulkGravToWWToWlepWhad_narrow_M-1400_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1400)
BulkGravToWWToWlepWhad_narrow_1600 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1600",
    "/BulkGravToWWToWlepWhad_narrow_M-1600_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1600)
BulkGravToWWToWlepWhad_narrow_1800 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1800",
    "/BulkGravToWWToWlepWhad_narrow_M-1800_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1800)
BulkGravToWWToWlepWhad_narrow_2000 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_2000",
    "/BulkGravToWWToWlepWhad_narrow_M-2000_13TeV-madgraph/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
test = int(getHeppyOption("test", 1))
isData = False  # will be changed accordingly if chosen to run on data
doSpecialSettingsForMECCA = 1  # set to 1 for comparisons with americans
runPreprocessor = False

if test == 0:
    # ------------------------------------------------------------------------------------------- #
    # --- all this lines taken from CMGTools.RootTools.samples.samples_13TeV_PHYS14
    # --- They may not be in synch anymore
    from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

    kreator = ComponentCreator()
    testComponent = kreator.makeMCComponent(
        "testComponent",
        "/GJets_HT-200to400_Tune4C_13TeV-madgraph-tauola/Phys14DR-PU20bx25_PHYS14_25_V1-v1/MINIAODSIM",
        "CMS",
        ".*root",
        489.9,
    )
    samples = [testComponent]

    json = "/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions15/13TeV/DCSOnly/json_DCSONLY.txt"

    from CMGTools.TTHAnalysis.setup.Efficiencies import *

    for comp in samples:
        #        comp.isMC = True
        #        comp.isData = False
        comp.splitFactor = 250
        comp.puFileMC = dataDir + "/puProfile_Summer12_53X.root"
        comp.puFileData = dataDir + "/puProfile_Data12.root"
Beispiel #22
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### Higgs invisible
# VBF production
VBF_HToInvisible_M110 = kreator.makeMCComponent(
    "VBF_HToInvisible_M110",
    "/VBF_HToInvisible_M110_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 4.434)
VBF_HToInvisible_M125 = kreator.makeMCComponent(
    "VBF_HToInvisible_M125",
    "/VBF_HToInvisible_M125_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 3.782)
VBF_HToInvisible_M150 = kreator.makeMCComponent(
    "VBF_HToInvisible_M150",
    "/VBF_HToInvisible_M150_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 3.239)
VBF_HToInvisible_M200 = kreator.makeMCComponent(
    "VBF_HToInvisible_M200",
    "/VBF_HToInvisible_M200_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 2.282)
VBF_HToInvisible_M300 = kreator.makeMCComponent(
    "VBF_HToInvisible_M300",
    "/VBF_HToInvisible_M300_13TeV_powheg_pythia8/RunIISpring16MiniAODv2-PUSpring16RAWAODSIM_reHLT_80X_mcRun2_asymptotic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.256)
VBF_HToInvisible_M400 = kreator.makeMCComponent(
    "VBF_HToInvisible_M400",
Beispiel #23
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

SMS_T1bbbb_mGluino1500_mLSP100 = kreator.makeMCComponent(
    "SMS_T1bbbb_mGluino1500_mLSP100",
    "/SMS-T1bbbb_mGluino-1500_mLSP-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv1-PUSpring16_80X_mcRun2_asymptotic_2016_v3-v1/MINIAODSIM",
    "CMS", ".*root", 0.0141903)
SMS_T1tttt_mGluino1500_mLSP100 = kreator.makeMCComponent(
    "SMS_T1tttt_mGluino1500_mLSP100",
    "/SMS-T1tttt_mGluino-1500_mLSP-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv1-PUSpring16_80X_mcRun2_asymptotic_2016_v3-v1/MINIAODSIM",
    "CMS", ".*root", 0.0141903)
SMS_T2tt_mStop_150to250 = kreator.makeMCComponent(
    "SMS_T2tt_mStop_150to250",
    "/SMS-T2tt_mStop-150to250_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv2-PUSpring16Fast_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM",
    "CMS", ".*root", -1)
SMS_T2tt_mStop_250to350 = kreator.makeMCComponent(
    "SMS_T2tt_mStop_250to350",
    "/SMS-T2tt_mStop-250to350_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv2-PUSpring16Fast_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM",
    "CMS", ".*root", -1)
SMS_T2tt_mStop_350to400 = kreator.makeMCComponent(
    "SMS_T2tt_mStop_350to400",
    "/SMS-T2tt_mStop-350to400_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv2-PUSpring16Fast_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM",
    "CMS", ".*root", -1)
SMS_T2tt_mStop_400to1200 = kreator.makeMCComponent(
    "SMS_T2tt_mStop_400to1200",
    "/SMS-T2tt_mStop-400to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv2-PUSpring16Fast_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM",
    if collection != "Muon" and collection != "Electron":
        raise RuntimeError("Invalid TnP collection to run on: Should be either 'Muon' or 'Electron'!")
    modules = susySOS_sequence_TnP(year,collection)
    cut = susySOS_TnP_cut 

branchsel_in = os.environ['CMSSW_BASE']+"/src/CMGTools/TTHAnalysis/python/tools/nanoAOD/branchsel_in.txt"
branchsel_out = None
compression = "ZLIB:3" #"LZ4:4" #"LZMA:9"

POSTPROCESSOR = PostProcessor(None, [], modules = modules,
        cut = cut, prefetch = True, longTermCache = True,
        branchsel = branchsel_in, outputbranchsel = branchsel_out, compression = compression)

test = getHeppyOption("test")
if test == "94X-MC":
    TTLep_pow = kreator.makeMCComponent("TTLep_pow", "/TTTo2L2Nu_mtop166p5_TuneCP5_PSweights_13TeV-powheg-pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )
    TTLep_pow.files = ["/afs/cern.ch/user/g/gpetrucc/cmg/NanoAOD_94X_TTLep.root"]
    lepSkim.requireSameSignPair = False
    lepSkim.minJets = 0
    lepSkim.minMET = 0
    lepSkim.prescaleFactor = 0
    selectedComponents = [TTLep_pow]
elif test == "94X-MC-miniAOD":
    TTLep_pow = kreator.makeMCComponent("TTLep_pow", "/TTTo2L2Nu_mtop166p5_TuneCP5_PSweights_13TeV-powheg-pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 831.76*((3*0.108)**2) )
    TTLep_pow.files = [ 'root://cms-xrd-global.cern.ch//store/mc/RunIIFall17MiniAOD/TTTo2L2Nu_mtop166p5_TuneCP5_PSweights_13TeV-powheg-pythia8/MINIAODSIM/94X_mc2017_realistic_v10-v1/70000/3CC234EB-44E0-E711-904F-FA163E0DF774.root' ]
    localfile = os.path.expandvars("/tmp/$USER/%s" % os.path.basename(TTLep_pow.files[0]))
    if os.path.exists(localfile): TTLep_pow.files = [ localfile ] 
    from CMGTools.Production.nanoAODPreprocessor import nanoAODPreprocessor
    TTLep_pow.preprocessor = nanoAODPreprocessor("/afs/cern.ch/work/g/gpetrucc/ttH/CMSSW_10_4_0/src/nanov4_NANO_cfg.py")
    selectedComponents = [TTLep_pow]
elif test == "102X-MC":
Beispiel #25
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

TTJets = creator.makeMCComponent(
    name    = 'TTJets', 
    dataset = '/TTJets_TuneCUETP8M2T4_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v2/MINIAODSIM',
    user    = '******', 
    pattern = '.*root', 
    xSec    = 831.76, 
    useAAA  = True
)
TTJets .nGenEvents = TTJets.dataset_entries 

WJetsToLNu = creator.makeMCComponent(
    name    = 'WJetsToLNu', 
    dataset = '/WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISummer16MiniAODv3-PUMoriond17_94X_mcRun2_asymptotic_v3-v1/MINIAODSIM',
    user    = '******', 
    pattern = '.*root', 
    xSec    = 61334.9, # AN_v3
    useAAA  = True
)
WJetsToLNu .nGenEvents = WJetsToLNu.dataset_entries 

WJetsToLNu_ext = creator.makeMCComponent(
    name    = 'WJetsToLNu_ext', 
Beispiel #26
0
import copy

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

SMS = creator.makeMCComponent(
    "SMS",
    "/SMS-TChipmSlepSnu_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv2-PUSpring16Fast_80X_mcRun2_asymptotic_2016_miniAODv2_v0-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
Beispiel #27
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()


### QCD RelVal for Jet Calibrations

RelValQCD_FlatPt_15_3000HS_13_noPU_30fb  = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000HS_13_noPU_30fb" , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_0-100X_upgrade2018_realistic_v7_HS1M-v1/MINIAODSIM"             , "CMS", ".*root", 1. )
RelValQCD_FlatPt_15_3000HS_13_noPU_0fb   = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000HS_13_noPU_0fb"  , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_0-100X_upgrade2018_realistic_Version0fb_v1_HS1M-v1/MINIAODSIM"  , "CMS", ".*root", 1. )
RelValQCD_FlatPt_15_3000HS_13_noPU_60fb  = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000HS_13_noPU_60fb" , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_0-100X_upgrade2018_realistic_Version60fb_v1_HS1M-v1/MINIAODSIM" , "CMS", ".*root", 1. )

RelValQCD_FlatPt_15_3000HS_13_30fb       = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000HS_13_30fb"      , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_0-PU25ns_100X_upgrade2018_realistic_v7_HS1Mrsb-v1/MINIAODSIM"             , "CMS", ".*root", 1. )
RelValQCD_FlatPt_15_3000HS_13_0fb        = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000HS_13_0fb"       , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_0-PU25ns_100X_upgrade2018_realistic_Version0fb_v1_HS1Mrsb-v1/MINIAODSIM"  , "CMS", ".*root", 1. )
RelValQCD_FlatPt_15_3000HS_13_60fb       = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000HS_13_60fb"      , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_0-PU25ns_100X_upgrade2018_realistic_Version60fb_v1_HS1Mrsb-v1/MINIAODSIM" , "CMS", ".*root", 1. )

RelValQCD_FlatPt_15_3000_PFthA_noPU      = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000_PFthA_noPU"     , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_3-100X_upgrade2018_realistic_v11_thA_HS1M-v1/MINIAODSIM" , "CMS", ".*root", 1. )
RelValQCD_FlatPt_15_3000_PFthB_noPU      = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000_PFthB_noPU"     , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_3-100X_upgrade2018_realistic_v11_thB_HS1M-v2/MINIAODSIM" , "CMS", ".*root", 1. )
RelValQCD_FlatPt_15_3000_PFthC_noPU      = kreator.makeMCComponent("RelValQCD_FlatPt_15_3000_PFthC_noPU"     , "/RelValQCD_FlatPt_15_3000HS_13/CMSSW_10_0_3-100X_upgrade2018_realistic_v11_thC_HS1M-v2/MINIAODSIM" , "CMS", ".*root", 1. )

QCDRelVal = [
   #RelValQCD_FlatPt_15_3000HS_13_noPU_30fb,
   #RelValQCD_FlatPt_15_3000HS_13_noPU_0fb,
   #RelValQCD_FlatPt_15_3000HS_13_noPU_60fb,
   #RelValQCD_FlatPt_15_3000HS_13_30fb,
   #RelValQCD_FlatPt_15_3000HS_13_0fb,
   #RelValQCD_FlatPt_15_3000HS_13_60fb,
   RelValQCD_FlatPt_15_3000_PFthA_noPU,
Beispiel #28
0
import copy

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

HiggsSUSYGG80 = creator.makeMCComponent(
    "HiggsSUSYGG80",
    "/SUSYGluGluToHToTauTau_M-80_TuneCUETP8M1_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG90 = creator.makeMCComponent(
    "HiggsSUSYGG90",
    "/SUSYGluGluToHToTauTau_M-90_TuneCUETP8M1_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG100 = creator.makeMCComponent(
    "HiggsSUSYGG100",
    "/SUSYGluGluToHToTauTau_M-100_TuneCUETP8M1_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG110 = creator.makeMCComponent(
    "HiggsSUSYGG110",
    "/SUSYGluGluToHToTauTau_M-110_TuneCUETP8M1_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG120 = creator.makeMCComponent(
    "HiggsSUSYGG120",
    "/SUSYGluGluToHToTauTau_M-120_TuneCUETP8M1_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG130 = creator.makeMCComponent(
    "HiggsSUSYGG130",
    "/SUSYGluGluToHToTauTau_M-130_TuneCUETP8M1_13TeV-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG140 = creator.makeMCComponent(
# DiPhotonJetsBox_MGG_80toInf = kreator.makeMCComponent("DiPhotonJetsBox_MGG_80toInf", "/DiPhotonJetsBox_MGG-80toInf_13TeV-Sherpa/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v3/MINIAODSIM", "CMS", ".*root", 1)
# GJet_Pt_20to40_MGG_80toInf = kreator.makeMCComponent("GJet_Pt_20to40_MGG_80toInf", "/GJet_Pt-20to40_DoubleEMEnriched_MGG-80toInf_TuneCP5_13TeV_Pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)
# GJet_Pt_20toInf_MGG_40to80 = kreator.makeMCComponent("GJet_Pt_20toInf_MGG_40to80", "/GJet_Pt-20toInf_DoubleEMEnriched_MGG-40to80_TuneCP5_13TeV_Pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)
# GJet_Pt_40toInf_MGG_80toInf = kreator.makeMCComponent("GJet_Pt_40toInf_MGG_80toInf", "/GJet_Pt-40toInf_DoubleEMEnriched_MGG-80toInf_TuneCP5_13TeV_Pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)
# QCD_Pt_30to40_MGG_80toInf  = kreator.makeMCComponent("QCD_Pt_30to40_MGG_80toInf", "/QCD_Pt-30to40_DoubleEMEnriched_MGG-80toInf_TuneCP5_13TeV_Pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)
# QCD_Pt_30toInf_MGG_40to80 = kreator.makeMCComponent("QCD_Pt_30toInf_MGG_40to80", "/QCD_Pt-30toInf_DoubleEMEnriched_MGG-40to80_TuneCP5_13TeV_Pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)

# WminusH_HToGG_WToAll_M125 = kreator.makeMCComponent("WminusH_HToGG_WToAll_M125", "/WminusH_HToGG_WToAll_M125_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v11-v1/MINIAODSIM", "CMS", ".*root", 1)
# WplusH_HToGG_WToAll_M125 = kreator.makeMCComponent("WplusH_HToGG_WToAll_M125", "/WplusH_HToGG_WToAll_M125_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v11-v1/MINIAODSIM", "CMS", ".*root", 1)
# ZH_HToGG_ZToAll_M125 = kreator.makeMCComponent("ZH_HToGG_ZToAll_M125", "/ZH_HToGG_ZToAll_M125_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v11-v1/MINIAODSIM", "CMS", ".*root", 1)
# ggZH_HToGG_ZToLL_M125 = kreator.makeMCComponent("ggZH_HToGG_ZToLL_M125", "/ggZH_HToGG_ZToLL_M125_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)
# ggZH_HToGG_ZToNuNu_M125 = kreator.makeMCComponent("ggZH_HToGG_ZToNuNu_M125", "/ggZH_HToGG_ZToNuNu_M125_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)
# ggZH_HToGG_ZToQQ_M125 = kreator.makeMCComponent("ggZH_HToGG_ZToQQ_M125", "/ggZH_HToGG_ZToQQ_M125_13TeV_powheg_pythia8/RunIIFall17MiniAOD-94X_mc2017_realistic_v10-v1/MINIAODSIM", "CMS", ".*root", 1)

THQ_ctcvcp_HToGG_M125 = kreator.makeMCComponent(
    "THQ_ctcvcp_HToGG_M125",
    "/THQ_ctcvcp_HToGG_M125_13TeV-madgraph-pythia8_TuneCP5/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1)
THW_ctcvcp_HToGG_M125 = kreator.makeMCComponent(
    "THW_ctcvcp_HToGG_M125",
    "/THW_ctcvcp_HToGG_M125_13TeV-madgraph-pythia8_TuneCP5/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1)
VBFHToGG_M125 = kreator.makeMCComponent(
    "VBFHToGG_M_125",
    "/VBFHToGG_M125_13TeV_amcatnlo_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1)
VHToGG_M125 = kreator.makeMCComponent(
    "VHToGG_M125",
    "/VHToGG_M125_13TeV_amcatnloFXFX_madspin_pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1)
ttHToGG_M125 = kreator.makeMCComponent(
    "ttHToGG_M125",
Beispiel #30
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### Signals, 25 ns

ZprimeToTT_M2000_W200 = kreator.makeMCComponent("ZprimeToTT_M2000_W200", "/ZprimeToTT_M-2000_W-200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToTT_M2000_W20 = kreator.makeMCComponent("ZprimeToTT_M2000_W20", "/ZprimeToTT_M-2000_W-20_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToTT_M2000_W600 = kreator.makeMCComponent("ZprimeToTT_M2000_W600", "/ZprimeToTT_M-2000_W-600_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)

ZprimeToTT_M3000_W300 = kreator.makeMCComponent("ZprimeToTT_M3000_W300", "/ZprimeToTT_M-3000_W-300_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToTT_M3000_W30 = kreator.makeMCComponent("ZprimeToTT_M3000_W30", "/ZprimeToTT_M-3000_W-30_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToTT_M3000_W900 = kreator.makeMCComponent("ZprimeToTT_M3000_W900", "/ZprimeToTT_M-3000_W-900_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)

ZprimeToTauTau_M2000 = kreator.makeMCComponent("ZprimeToTauTau_M2000", "/ZprimeToTauTau_M_2000_TuneCUETP8M1_tauola_13TeV_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToTauTau_M3000= kreator.makeMCComponent("ZprimeToTauTau_M3000", "/ZprimeToTauTau_M_3000_TuneCUETP8M1_tauola_13TeV_pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v2/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)

ZprimeToTprimeT_TprimeToHT_MZp2000Nar_MTp1200Nar_LH = kreator.makeMCComponent("ZprimeToTprimeT_TprimeToHT_MZp2000Nar_MTp1200Nar_LH", "/ZprimeToTprimeT_TprimeToHT_MZp-2000Nar_MTp-1200Nar_LH_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)

ZprimeToWW_narrow_M2000 = kreator.makeMCComponent("ZprimeToWW_narrow_M2000", "/ZprimeToWW_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToWW_narrow_M3000 = kreator.makeMCComponent("ZprimeToWW_narrow_M3000", "/ZprimeToWW_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToWW_narrow_M4500 = kreator.makeMCComponent("ZprimeToWW_narrow_M4500", "/ZprimeToWW_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)

ZprimeToZhToZinvhbb_narrow_M2000 = kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_M2000", "/ZprimeToZhToZinvhbb_narrow_M-2000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToZhToZinvhbb_narrow_M3000 = kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_M3000", "/ZprimeToZhToZinvhbb_narrow_M-3000_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
ZprimeToZhToZinvhbb_narrow_M4500 = kreator.makeMCComponent("ZprimeToZhToZinvhbb_narrow_M4500", "/ZprimeToZhToZinvhbb_narrow_M-4500_13TeV-madgraph/RunIISpring15DR74-Asympt25ns_MCRUN2_74_V9-v1/MINIAODSIM", "CMS", ".*root", 1.0, useAAA=True)
Beispiel #31
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

## ==== RelVals =====
TT_NoPU = kreator.makeMCComponent(
    "TT_NoPU",
    "/RelValTTbar_13/CMSSW_7_4_0-MCRUN2_74_V7_GENSIM_7_1_15-v1/MINIAODSIM",
    "CMS", ".*root", 809.1)
TT_bx25 = kreator.makeMCComponent(
    "TT_bx25",
    "/RelValTTbar_13/CMSSW_7_4_0-PU25ns_MCRUN2_74_V7_gs7115_puProd-v1/MINIAODSIM",
    "CMS", ".*root", 809.1)
TT_bx50 = kreator.makeMCComponent(
    "TT_bx50",
    "/RelValTTbar_13/CMSSW_7_4_0-PU50ns_MCRUN2_74_V6_gs7115_puProd-v1/MINIAODSIM",
    "CMS", ".*root", 809.1)

TTLep_NoPU = kreator.makeMCComponent(
    "TTLep_NoPU",
    "/RelValTTbarLepton_13/CMSSW_7_4_0-MCRUN2_74_V7_GENSIM_7_1_15-v1/MINIAODSIM",
    "CMS", ".*root", 809.1)

ZEE_bx50 = kreator.makeMCComponent(
    "ZEE_bx50",
    "/RelValZEE_13/CMSSW_7_4_0-PU50ns_MCRUN2_74_V6_gs7115_puProd-v1/MINIAODSIM",
    "CMS", ".*root")
Beispiel #32
0




### from Vinay Hegde (EGamma)
inFileDYMG_EG  = 'root://cms-xrd-global.cern.ch//store/user/vhegde/EGamma_ntuples/Run2016_17Jul2018_MiniAODv3_TreeV1/mc/TnPTree_mc_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8_allExt.root'
inFileDYAMC_EG = 'root://cms-xrd-global.cern.ch//store/user/vhegde/EGamma_ntuples/Run2016_17Jul2018_MiniAODv3_TreeV1/mc/TnPTree_mc_DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8_all.root'

creator = ComponentCreator()

### from Lesya 
DY_17 = creator.makeMCComponent(
    name    = 'DY_FS_17', 
    dataset = '/DYJetsToLL_M-50_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_pilot_94X_mc2017_realistic_v15_ext1-v1/MINIAODSIM',
    user    = '******', 
    pattern = '.*root', 
    useAAA  = True
)

TT_17 = creator.makeMCComponent(
    name    = 'TT_FS_17', 
    dataset = '/TTJets_DiLept_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_lhe_94X_mc2017_realistic_v15-v1/MINIAODSIM',
    user    = '******', 
    pattern = '.*root', 
    useAAA  = True
)

## 16 = ReMiniAOD
DY_16 = creator.makeMCComponent(
    name    = 'DY_FS_16', 
Beispiel #33
0
test = 4
isData = False  # will be changed accordingly if chosen to run on data
doSpecialSettingsForMECCA = 1  # set to 1 for comparisons with americans
runPreprocessor = True  #because of the EEModifiedMET
#runPreprocessor = False

#from CMGTools.RootTools.samples.samples_13TeV_RunIIFall17MiniAODv2 import *

if test == 0:
    # ------------------------------------------------------------------------------------------- #
    # --- all this lines taken from CMGTools.RootTools.samples.samples_13TeV_PHYS14
    # --- They may not be in synch anymore
    from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
    kreator = ComponentCreator()
    testComponent = kreator.makeMCComponent(
        "testComponent",
        "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/PUSpring16_80X_mcRun2_asymptotic_2016_v3_ext1-v1/MINIAODSIM",
        "CMS", ".*root", 489.9)

    samples = [testComponent]

    json = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_DQM/certification/Collisions16/13TeV/ReReco/Final/Cert_271036-284044_13TeV_23Sep2016ReReco_Collisions16_JSON.txt'

    dataDir = os.environ['CMSSW_BASE'] + "/src/CMGTools/TTHAnalysis/data"

    from CMGTools.TTHAnalysis.setup.Efficiencies import *

    for comp in samples:
        comp.isMC = False
        comp.isData = True
        comp.splitFactor = 250
        comp.puFileMC = dataDir + "/puProfile_Summer12_53X.root"
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### ----------------------------- mix of Spring16 and Summer16 ----------------------------------------

SMS_TChiWH_HToGG_mChargino300_mLSP1 = kreator.makeMCComponent(
    "SMS_TChiWH_HToGG_mChargino300_mLSP1",
    "/SMS_TChiWH_HToGG_mChargino300_mLSP1_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 0.0141903)

#SMS_T1bbbb_mGluino1500_mLSP100 = kreator.makeMCComponent("SMS_T1bbbb_mGluino1500_mLSP100", "/SMS-T1bbbb_mGluino-1500_mLSP-100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring16MiniAODv1-PUSpring16_80X_mcRun2_asymptotic_2016_v3-v1/MINIAODSIM", "CMS", ".*root", 0.0141903)

SMS_TChiWH_HToGG = kreator.makeMCComponent(
    "SMS_TChiWH_HToGG",
    "/SMS-TChiWH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 1)

SMS_TChiHZ_HToGG = kreator.makeMCComponent(
    "SMS_TChiHZ_HToGG",
    "/SMS-TChiHZ_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 1)

SMS_TChiHH_HToGG = kreator.makeMCComponent(
    "SMS_TChiHH_HToGG",
    "/SMS-TChiHH_HToGG_TuneCP2_13TeV-madgraphMLM-pythia8/RunIIFall17MiniAODv2-PUFall17Fast_94X_mc2017_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 1)
Beispiel #35
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

# https://twiki.cern.ch/twiki/bin/viewauth/CMS/PdmVAnalysisSummaryTable
# https://twiki.cern.ch/twiki/bin/view/CMS/EgHLTRunIISummary#2018_AN1

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

TTJets = creator.makeMCComponent(
    name='TTJets',
    dataset=
    '/TTJets_TuneCP5_13TeV-madgraphMLM-pythia8/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM',
    user='******',
    pattern='.*root',
    xSec=831.76,
    useAAA=True)
TTJets.nGenEvents = TTJets.dataset_entries

TTJets_ext = creator.makeMCComponent(
    name='TTJets_ext',
    dataset=
    '/TTJets_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15_ext1-v2/MINIAODSIM',
    user='******',
    pattern='.*root',
    xSec=831.76,
    useAAA=True)
TTJets_ext.nGenEvents = TTJets_ext.dataset_entries
Beispiel #36
0
import PhysicsTools.HeppyCore.framework.config as cfg

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

DYJetsToLL_M50_ext1 = creator.makeMCComponent(
    'DYJetsToLL_M50_ext1',
    '/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12_ext1-v1/MINIAODSIM',
    'CMS', '.*root', 6025.2)
DYJetsToLL_M50 = creator.makeMCComponent(
    'DYJetsToLL_M50',
    '/DYJetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
    'CMS', '.*root', 6025.2)
DY1JetsToLL_M50 = creator.makeMCComponent(
    'DY1JetsToLL_M50',
    '/DY1JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
    'CMS', '.*root', 1016)
DY2JetsToLL_M50 = creator.makeMCComponent(
    'DY2JetsToLL_M50',
    '/DY2JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
    'CMS', '.*root', 331.4)
DY3JetsToLL_M50 = creator.makeMCComponent(
    'DY3JetsToLL_M50',
    '/DY3JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
    'CMS', '.*root', 96.36)
DY4JetsToLL_M50 = creator.makeMCComponent(
    'DY4JetsToLL_M50',
    '/DY4JetsToLL_M-50_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIIFall15MiniAODv2-PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/MINIAODSIM',
    'CMS', '.*root', 51.4)
Beispiel #37
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### ----------------------------- 25 ns ----------------------------------------
# TTbar cross section: NNLO, https://twiki.cern.ch/twiki/bin/view/LHCPhysics/TtbarNNLO (172.5)

TTJets = kreator.makeMCComponent(
    "TTJets",
    "/TTJets_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v3/MINIAODSIM",
    "CMS", ".*root", 831.76)
TTJets_LO = kreator.makeMCComponent(
    "TTJets_LO",
    "/TTJets_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM",
    "CMS", ".*root", 831.76)

TTJets_SingleLeptonFromTbar = kreator.makeMCComponent(
    "TTJets_SingleLeptonFromTbar",
    "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM",
    "CMS", ".*root", 831.76 * (3 * 0.108) * (1 - 3 * 0.108))
TTJets_SingleLeptonFromTbar_ext = kreator.makeMCComponent(
    "TTJets_SingleLeptonFromTbar_ext",
    "/TTJets_SingleLeptFromTbar_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2_ext1-v1/MINIAODSIM",
    "CMS", ".*root", 831.76 * (3 * 0.108) * (1 - 3 * 0.108))
TTJets_SingleLeptonFromT = kreator.makeMCComponent(
    "TTJets_SingleLeptonFromT",
    "/TTJets_SingleLeptFromT_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-74X_mcRun2_asymptotic_v2-v1/MINIAODSIM",
Beispiel #38
0
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### SUSY2016B

Scalar_MonoTop_LO_Mphi_1500_Mchi_100_13TeV_madgraph = kreator.makeMCComponent(
    "Scalar_MonoTop_LO_Mphi_1500_Mchi_100_13TeV_madgraph",
    "/Scalar_MonoTop_LO_Mphi-1500_Mchi-100_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root")

Scalar_MonoTop_LO_Mphi_1700_Mchi_100_13TeV_madgraph = kreator.makeMCComponent(
    "Scalar_MonoTop_LO_Mphi_1700_Mchi_100_13TeV_madgraph",
    "/Scalar_MonoTop_LO_Mphi-1700_Mchi-100_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root")

Scalar_MonoTop_LO_Mphi_1900_Mchi_100_13TeV_madgraph = kreator.makeMCComponent(
    "Scalar_MonoTop_LO_Mphi_1900_Mchi_100_13TeV_madgraph",
    "/Scalar_MonoTop_LO_Mphi-1900_Mchi-100_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root")

Scalar_MonoTop_LO_Mphi_2100_Mchi_100_13TeV_madgraph = kreator.makeMCComponent(
    "Scalar_MonoTop_LO_Mphi_2100_Mchi_100_13TeV_madgraph",
    "/Scalar_MonoTop_LO_Mphi-2100_Mchi-100_13TeV-madgraph/RunIISummer16MiniAODv2-PUMoriond17_80X_mcRun2_asymptotic_2016_TrancheIV_v6-v1/MINIAODSIM",
    "CMS", ".*root")

Scalar_MonoTop_LO_Mphi_2500_Mchi_100_13TeV_madgraph = kreator.makeMCComponent(
Beispiel #39
0
import copy

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator

creator = ComponentCreator()

HiggsSUSYGG80 = creator.makeMCComponent(
    "HiggsSUSYGG80",
    "/SUSYGluGluToHToTauTau_M-80_TuneCP5_13TeV-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG90 = creator.makeMCComponent(
    "HiggsSUSYGG90",
    "/SUSYGluGluToHToTauTau_M-90_TuneCP5_13TeV-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG100 = creator.makeMCComponent(
    "HiggsSUSYGG100",
    "/SUSYGluGluToHToTauTau_M-100_TuneCP5_13TeV-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG110 = creator.makeMCComponent(
    "HiggsSUSYGG110",
    "/SUSYGluGluToHToTauTau_M-110_TuneCP5_13TeV-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG120 = creator.makeMCComponent(
    "HiggsSUSYGG120",
    "/SUSYGluGluToHToTauTau_M-120_TuneCP5_13TeV-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG130 = creator.makeMCComponent(
    "HiggsSUSYGG130",
    "/SUSYGluGluToHToTauTau_M-130_TuneCP5_13TeV-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
HiggsSUSYGG140 = creator.makeMCComponent(
Beispiel #40
0
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()
signalSamples = []

# BulkGravToWWToWlepWhad_narrow
BulkGravToWWToWlepWhad_narrow_600 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_600",
    "/BulkGravToWWToWlepWhad_narrow_M-600_TuneCP5_13TeV-madgraph-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_600)
BulkGravToWWToWlepWhad_narrow_800 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_800",
    "/BulkGravToWWToWlepWhad_narrow_M-800_TuneCP5_13TeV-madgraph-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_800)
BulkGravToWWToWlepWhad_narrow_1000 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1000",
    "/BulkGravToWWToWlepWhad_narrow_M-1000_TuneCP5_13TeV-madgraph-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1000)
BulkGravToWWToWlepWhad_narrow_1200 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1200",
    "/BulkGravToWWToWlepWhad_narrow_M-1200_TuneCP5_13TeV-madgraph-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1200)
BulkGravToWWToWlepWhad_narrow_1400 = kreator.makeMCComponent(
    "BulkGravToWWToWlepWhad_narrow_1400",
    "/BulkGravToWWToWlepWhad_narrow_M-1400_TuneCP5_13TeV-madgraph-pythia8/RunIIFall17MiniAODv2-PU2017_12Apr2018_94X_mc2017_realistic_v14-v1/MINIAODSIM",
    "CMS", ".*root", 1.0)
signalSamples.append(BulkGravToWWToWlepWhad_narrow_1400)
BulkGravToWWToWlepWhad_narrow_1600 = kreator.makeMCComponent(
# COMPONENT CREATOR
from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

# Zinv
# ZJetToNunu, cross sections are determined from GenXSecAnalyzer
ZJetsToNuNu_HT100to200 = kreator.makeMCComponent(
    "ZJetsToNuNu_HT100to200",
    "/ZJetsToNuNu_HT-100To200_13TeV-madgraph/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 303.2 * 1.14)
ZJetsToNuNu_HT200to400 = kreator.makeMCComponent(
    "ZJetsToNuNu_HT200to400",
    "/ZJetsToNuNu_HT-200To400_13TeV-madgraph/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 91.94 * 1.05)
ZJetsToNuNu_HT400to600 = kreator.makeMCComponent(
    "ZJetsToNuNu_HT400to600",
    "/ZJetsToNuNu_HT-400To600_13TeV-madgraph/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v2/MINIAODSIM",
    "CMS", ".*root", 13.15 * 1.03)
ZJetsToNuNu_HT600to800 = kreator.makeMCComponent(
    "ZJetsToNuNu_HT600to800",
    "/ZJetsToNuNu_HT-600To800_13TeV-madgraph/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 3.27 * 1.21)
ZJetsToNuNu_HT800to1200 = kreator.makeMCComponent(
    "ZJetsToNuNu_HT800to1200",
    "/ZJetsToNuNu_HT-800To1200_13TeV-madgraph/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 1.497 * 1.21)
ZJetsToNuNu_HT1200to2500 = kreator.makeMCComponent(
    "ZJetsToNuNu_HT1200to2500",
    "/ZJetsToNuNu_HT-1200To2500_13TeV-madgraph/RunIIAutumn18MiniAOD-102X_upgrade2018_realistic_v15-v1/MINIAODSIM",
    "CMS", ".*root", 0.3419 * 1.29)
ZJetsToNuNu_HT2500toInf = kreator.makeMCComponent(
import PhysicsTools.HeppyCore.framework.config as cfg
import os

#####COMPONENT CREATOR

from CMGTools.RootTools.samples.ComponentCreator import ComponentCreator
kreator = ComponentCreator()

### OFFICIAL SMS SIGNALS
T1tttt_mGo_1000_mLSP_1to700 = kreator.makeMCComponent("T1tttt_mGo_1000_mLSP_1to700","/SMS-T1tttt_mGluino-1000_mLSP-1to700_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1000to1050_mLSP_1to800 = kreator.makeMCComponent("T1tttt_mGo_1000to1050_mLSP_1to800","/SMS-T1tttt_mGluino-1000to1050_mLSP-1to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root", useAAA = True)
T1tttt_mGo_1050_mLSP_50to775 = kreator.makeMCComponent("T1tttt_mGo_1050_mLSP_50to775","/SMS-T1tttt_mGluino-1050_mLSP-50to775_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1050to1075_mLSP_650to850 = kreator.makeMCComponent("T1tttt_mGo_1050to1075_mLSP_650to850","/SMS-T1tttt_mGluino-1050to1075_mLSP-650to850_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1100_mLSP_1to775 = kreator.makeMCComponent("T1tttt_mGo_1100_mLSP_1to775","/SMS-T1tttt_mGluino-1100_mLSP-1to775_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1100to1125_mLSP_700to900 = kreator.makeMCComponent("T1tttt_mGo_1100to1125_mLSP_700to900","/SMS-T1tttt_mGluino-1100to1125_mLSP-700to900_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1150_mLSP_1to800 = kreator.makeMCComponent("T1tttt_mGo_1150_mLSP_1to800","/SMS-T1tttt_mGluino-1150_mLSP-1to800_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1150to1175_mLSP_750to925 = kreator.makeMCComponent("T1tttt_mGo_1150to1175_mLSP_750to925","/SMS-T1tttt_mGluino-1150to1175_mLSP-750to925_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1175_mLSP_950 = kreator.makeMCComponent("T1tttt_mGo_1175_mLSP_950","/SMS-T1tttt_mGluino-1175_mLSP-950_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1200_mLSP_1to825 = kreator.makeMCComponent("T1tttt_mGo_1200_mLSP_1to825","/SMS-T1tttt_mGluino-1200_mLSP-1to825_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1200to1225_mLSP_800to1000 = kreator.makeMCComponent("T1tttt_mGo_1200to1225_mLSP_800to1000","/SMS-T1tttt_mGluino-1200to1225_mLSP-800to1000_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1225to1250_mLSP_1to1025 = kreator.makeMCComponent("T1tttt_mGo_1225to1250_mLSP_1to1025","/SMS-T1tttt_mGluino-1225to1250_mLSP-1to1025_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root", useAAA = True)
T1tttt_mGo_1250to1275_mLSP_700to1050 = kreator.makeMCComponent("T1tttt_mGo_1250to1275_mLSP_700to1050","/SMS-T1tttt_mGluino-1250to1275_mLSP-700to1050_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1275_mLSP_900to975 = kreator.makeMCComponent("T1tttt_mGo_1275_mLSP_900to975","/SMS-T1tttt_mGluino-1275_mLSP-900to975_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1300_mLSP_1to1075 = kreator.makeMCComponent("T1tttt_mGo_1300_mLSP_1to1075","/SMS-T1tttt_mGluino-1300_mLSP-1to1075_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1300to1325_mLSP_700to1100 = kreator.makeMCComponent("T1tttt_mGo_1300to1325_mLSP_700to1100","/SMS-T1tttt_mGluino-1300to1325_mLSP-700to1100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1325to1350_mLSP_1to1125 = kreator.makeMCComponent("T1tttt_mGo_1325to1350_mLSP_1to1125","/SMS-T1tttt_mGluino-1325to1350_mLSP-1to1125_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root", useAAA = True)
T1tttt_mGo_1350to1375_mLSP_50to1025 = kreator.makeMCComponent("T1tttt_mGo_1350to1375_mLSP_50to1025","/SMS-T1tttt_mGluino-1350to1375_mLSP-50to1025_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1375_mLSP_950to1150 = kreator.makeMCComponent("T1tttt_mGo_1375_mLSP_950to1150","/SMS-T1tttt_mGluino-1375_mLSP-950to1150_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1400_mLSP_1to1175 = kreator.makeMCComponent("T1tttt_mGo_1400_mLSP_1to1175","/SMS-T1tttt_mGluino-1400_mLSP-1to1175_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1400to1425_mLSP_50to1100 = kreator.makeMCComponent("T1tttt_mGo_1400to1425_mLSP_50to1100","/SMS-T1tttt_mGluino-1400to1425_mLSP-50to1100_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")
T1tttt_mGo_1425to1450_mLSP_1to1200 = kreator.makeMCComponent("T1tttt_mGo_1425to1450_mLSP_1to1200","/SMS-T1tttt_mGluino-1425to1450_mLSP-1to1200_TuneCUETP8M1_13TeV-madgraphMLM-pythia8/RunIISpring15MiniAODv2-FastAsympt25ns_74X_mcRun2_asymptotic_v2-v1/MINIAODSIM","CMS",".*root")