Example #1
0
def WJetsToLNuInclusive_CR1Muonsbaseline_ControlPlots(options):
    Samp = Sample()
    Samp.isData = False
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/Inclusive/WJetsToLNu_Inclusive_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #2
0
def WJetsToLNuInclusive_FromVariables(estimation, tail, options):
    Samp = Sample()
    Samp.isData = False
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/Inclusive/WJetsToLNu_Inclusive_'
        + estimation + '_' + tail + '.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #3
0
def WJetsToLNuInclusive_CR1Electrons_NoTail(options):
    Samp = Sample()
    Samp.isData = False
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/Inclusive/WJetsToLNu_Inclusive_CR1Electrons_NoTail.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #4
0
def TTJetsPWHG_CR1Muonsbaseline_NoTail(options):

    Samp = Sample()
    Samp.isData = False
    topdir = '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsPWHG/'
    Samp.AddRootFile(topdir + 'v1/TTJetsPWHG_v1_CR1Muons-baseline_NoTail.root')
    Samp.AddRootFile(topdir + 'v2/TTJetsPWHG_v2_CR1Muons-baseline_NoTail.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #5
0
def WJetsToLNu_FromVariables(estimation, tail, options):
    Samp = Sample()
    Samp.isData = False
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/1Jet/WJetsToLNu_1Jet_'
        + estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/2Jets/WJetsToLNu_2Jets_'
        + estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/3Jets/WJetsToLNu_3Jets_'
        + estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/4Jets/WJetsToLNu_4Jets_'
        + estimation + '_' + tail + '.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #6
0
def WJetsToLNu_CR1Muonsbaseline_ControlPlots(options):
    Samp = Sample()
    Samp.isData = False
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/1Jet/WJetsToLNu_1Jet_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/2Jets/WJetsToLNu_2Jets_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/3Jets/WJetsToLNu_3Jets_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/4Jets/WJetsToLNu_4Jets_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #7
0
def WJetsToLNuJets_CR1_NoTail(options):
    Samp = Sample()
    Samp.isData = False
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/1Jet/WJetsToLNu_1Jet_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/2Jets/WJetsToLNu_2Jets_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/3Jets/WJetsToLNu_3Jets_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/WJetsToLNu/4Jets/WJetsToLNu_4Jets_CR1_NoTail.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #8
0
def SingleEl_FromVariables(estimation, tail, options):

    Samp = Sample()
    Samp.isData = True
    Samp.AddRootFile(
        'SingleEl/Run2012A-13JulReReco/SingleEl_Run2012A-13JulReReco_' +
        estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        'SingleEl/Run2012A-06AugReReco/SingleEl_Run2012A-06AugReReco_' +
        estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        'SingleEl/Run2012B-13JulReReco/SingleEl_Run2012B-13JulReReco_' +
        estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        'SingleEl/Run2012C-24Aug2012-v1/SingleEl_Run2012C-24Aug2012-v1_' +
        estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        'SingleEl/Run2012C-PromptReco-v2/SingleEl_Run2012C-PromptReco-v2_' +
        estimation + '_' + tail + '.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #9
0
def SingleMu_CR1Muonsbaseline_ControlPlots(options):

    Samp = Sample()
    Samp.isData = True
    Samp.AddRootFile(
        'SingleMu/Run2012A-13JulReReco/SingleMu_Run2012A-13JulReReco_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012A-06AugReReco/SingleMu_Run2012A-06AugReReco_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012B-13JulReReco/SingleMu_Run2012B-13JulReReco_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012C-24Aug2012-v1/SingleMu_Run2012C-24Aug2012-v1_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012C-PromptReco-v2/SingleMu_Run2012C-PromptReco-v2_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #10
0
def SingleMu_CR1_NoTail(options):

    Samp = Sample()
    Samp.isData = True
    Samp.AddRootFile(
        'SingleMu/Run2012A-13JulReReco/SingleMu_Run2012A-13JulReReco_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012A-06AugReReco/SingleMu_Run2012A-06AugReReco_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012B-13JulReReco/SingleMu_Run2012B-13JulReReco_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012C-24Aug2012-v1/SingleMu_Run2012C-24Aug2012-v1_CR1_NoTail.root'
    )
    Samp.AddRootFile(
        'SingleMu/Run2012C-PromptReco-v2/SingleMu_Run2012C-PromptReco-v2_CR1_NoTail.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #11
0
def TTJetsPWHG_FromVariables(estimation, tail, options):

    Samp = Sample()
    Samp.isData = False
    topdir = '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsPWHG/'
    Samp.AddRootFile(topdir + 'v1/TTJetsPWHG_v1_' + estimation + '_' + tail +
                     '.root')
    Samp.AddRootFile(topdir + 'v2/TTJetsPWHG_v2_' + estimation + '_' + tail +
                     '.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #12
0
def TTJetsMG_FromVariables(estimation, tail, options):

    Samp = Sample()
    Samp.isData = False
    #print 'currently in ',com.getoutput('pwd')
    #raw_input('')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsMG/SemiLept/TTJetsMG_SemiLept_'
        + estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsMG/DiLept/TTJetsMG_DiLept_'
        + estimation + '_' + tail + '.root')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsMG/FullyHad/TTJetsMG_FullyHad_'
        + estimation + '_' + tail + '.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #13
0
def TTJetsMG_CR1Muonsbaseline_ControlPlots(options):

    Samp = Sample()
    Samp.isData = False
    #print 'currently in ',com.getoutput('pwd')
    #raw_input('')
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsMG/SemiLept/TTJetsMG_SemiLept_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsMG/DiLept/TTJetsMG_DiLept_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/TTJetsMG/FullyHad/TTJetsMG_FullyHad_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp
Example #14
0
def SingleTop_FromVariables(estimation, tail, options):

    Samp = Sample()
    Samp.isData = False
    topdir = '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/SingleTop/'
    Samp.AddRootFile(topdir +
                     'TToTlepWhad-tW-ch/SingleTop_TToTlepWhad-tW-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TBarToLeptons-t-ch/SingleTop_TBarToLeptons-t-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TBarToTlepWhad-tW-ch/SingleTop_TBarToTlepWhad-tW-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir + 'TToLeptons-t-ch/SingleTop_TToLeptons-t-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TBarToThadWlep-tW-ch/SingleTop_TBarToThadWlep-tW-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TToThadWlep-tW-ch/SingleTop_TToThadWlep-tW-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TBarToDilepton-tW-ch/SingleTop_TBarToDilepton-tW-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TToDilepton-tW-ch/SingleTop_TToDilepton-tW-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir +
                     'TBarToLeptons-s-ch/SingleTop_TBarToLeptons-s-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.AddRootFile(topdir + 'TToLeptons-s-ch/SingleTop_TToLeptons-s-ch_' +
                     estimation + '_' + tail + '.root')
    Samp.ReweightAndMerge(options)
    return Samp
Example #15
0
def SingleTop_CR1Muonsbaseline_ControlPlots(options):

    Samp = Sample()
    Samp.isData = False
    topdir = '/scratch/hh/dust/naf/cms/user/eron/RA4b/nTuple13_v1/SingleTop/'
    Samp.AddRootFile(
        topdir +
        'TToTlepWhad-tW-ch/SingleTop_TToTlepWhad-tW-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TBarToLeptons-t-ch/SingleTop_TBarToLeptons-t-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TBarToTlepWhad-tW-ch/SingleTop_TBarToTlepWhad-tW-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TToLeptons-t-ch/SingleTop_TToLeptons-t-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TBarToThadWlep-tW-ch/SingleTop_TBarToThadWlep-tW-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TToThadWlep-tW-ch/SingleTop_TToThadWlep-tW-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TBarToDilepton-tW-ch/SingleTop_TBarToDilepton-tW-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TToDilepton-tW-ch/SingleTop_TToDilepton-tW-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TBarToLeptons-s-ch/SingleTop_TBarToLeptons-s-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.AddRootFile(
        topdir +
        'TToLeptons-s-ch/SingleTop_TToLeptons-s-ch_CR1Muons-baseline_ControlPlots.root'
    )
    Samp.ReweightAndMerge(options)
    return Samp