Exemplo n.º 1
0
import ROOT
from ComparisonPlot import Config

configRawStat = Config()
configRawStat.color = ROOT.kBlack
configRawStat.lineStyle = 1
configRawStat.lineWidth = 2
configRawStat.plotCfg = "HIST"
configRawStat.legend = ""


configFactorStat = Config()
configFactorStat.color = ROOT.kRed
configFactorStat.lineStyle = 1
configFactorStat.lineWidth = 2
configFactorStat.plotCfg = "HIST"
configFactorStat.legend = ""
#
configFactorStat2 = Config()
configFactorStat2.color = ROOT.kRed
configFactorStat2.lineStyle = 2
configFactorStat2.lineWidth = 2
configFactorStat2.plotCfg = "HIST"
configFactorStat2.legend = ""
#
configFactorStat3 = Config()
configFactorStat3.color = ROOT.kRed
configFactorStat3.lineStyle = 3
configFactorStat3.lineWidth = 2
configFactorStat3.plotCfg = "HIST"
configFactorStat3.legend = ""
Exemplo n.º 2
0
import ROOT
from ComparisonPlot import Config

configZMuMu = Config()
configZMuMu.color = ROOT.kRed
configZMuMu.lineStyle = 1
configZMuMu.lineWidth = 2
configZMuMu.plotCfg = "HIST"
configZMuMu.legend = "Z#rightarrow#mu#mu + X"

configMuTau = Config()
configMuTau.color = ROOT.kBlack
configMuTau.markerStyle = 20
configMuTau.legend = "#mu#tau selection"

### W+jets study
configMTbins = []
configMTbins.append(Config())
configMTbins[-1].color = ROOT.kBlack
configMTbins[-1].lineStyle = 1
configMTbins[-1].lineWidth = 2
configMTbins[-1].plotCfg = "HIST"
configMTbins[-1].legend = "M_{T} < 40GeV"
#
configMTbins.append(Config())
configMTbins[-1].color = ROOT.kRed
configMTbins[-1].lineStyle = 1
configMTbins[-1].lineWidth = 2
configMTbins[-1].plotCfg = "HIST"
configMTbins[-1].legend = "40 < M_{T} < 80GeV"
#
Exemplo n.º 3
0
import ROOT
from ComparisonPlot import Config

configZMuMu = Config()
configZMuMu.color = ROOT.kRed
configZMuMu.lineStyle = 1
configZMuMu.lineWidth = 2
configZMuMu.plotCfg = "HIST"
configZMuMu.legend = "Z#rightarrow#mu#mu + X"

configMuTau = Config()
configMuTau.color = ROOT.kBlack
configMuTau.markerStyle = 20
configMuTau.legend = "#mu#tau selection"


### W+jets study
configMTbins = []
configMTbins.append(Config())
configMTbins[-1].color = ROOT.kBlack
configMTbins[-1].lineStyle = 1
configMTbins[-1].lineWidth = 2
configMTbins[-1].plotCfg = "HIST"
configMTbins[-1].legend = "M_{T} < 40GeV"
#
configMTbins.append(Config())
configMTbins[-1].color = ROOT.kRed
configMTbins[-1].lineStyle = 1
configMTbins[-1].lineWidth = 2
configMTbins[-1].plotCfg = "HIST"
configMTbins[-1].legend = "40 < M_{T} < 80GeV"
Exemplo n.º 4
0
import ROOT
from ComparisonPlot import Config

configRawStat = Config()
configRawStat.color = ROOT.kBlack
configRawStat.lineStyle = 1
configRawStat.lineWidth = 2
configRawStat.plotCfg = "HIST"
configRawStat.legend = ""


configFactorStat = Config()
configFactorStat.color = ROOT.kRed
configFactorStat.lineStyle = 1
configFactorStat.lineWidth = 2
configFactorStat.plotCfg = "HIST"
configFactorStat.legend = ""
#
configFactorStat2 = Config()
configFactorStat2.color = ROOT.kRed
configFactorStat2.lineStyle = 2
configFactorStat2.lineWidth = 2
configFactorStat2.plotCfg = "HIST"
configFactorStat2.legend = ""
#
configFactorStat3 = Config()
configFactorStat3.color = ROOT.kRed
configFactorStat3.lineStyle = 3
configFactorStat3.lineWidth = 2
configFactorStat3.plotCfg = "HIST"
configFactorStat3.legend = ""
Exemplo n.º 5
0
import ROOT
from ComparisonPlot import Config

## MT comparison
configLowMT = Config()
configLowMT.color = ROOT.kBlack
configLowMT.markerStyle = 20
configLowMT.legend = "M_{T} < 40 GeV"

configHighMT = Config()
configHighMT.color = ROOT.kRed - 4
configHighMT.markerStyle = 24
configHighMT.legend = "M_{T} > 40 GeV"

## Background comparison
configBackgrounds = {}
configBackgrounds['W'] = Config()
configBackgrounds['W'].color = ROOT.kBlack
configBackgrounds['W'].markerStyle = 20
configBackgrounds['W'].legend = "W+jets"
#
configBackgrounds['QCD'] = Config()
configBackgrounds['QCD'].color = ROOT.kBlue - 4
configBackgrounds['QCD'].markerStyle = 25
configBackgrounds['QCD'].legend = "QCD"
#
configBackgrounds['TT'] = Config()
configBackgrounds['TT'].color = ROOT.kRed - 4
configBackgrounds['TT'].markerStyle = 26
configBackgrounds['TT'].legend = "t#bar{t}"
Exemplo n.º 6
0
import ROOT
from ComparisonPlot import Config

configTrue = Config()
configTrue.color = ROOT.kBlack
configTrue.markerStyle = 20
configTrue.legend = "True"

configEst = Config()
configEst.color = ROOT.kBlack
configEst.markerStyle = 24
configEst.legend = "Est."