|
def | __init__ (self, name, title, legend="", Xlabel="", Ylabel="", logY=False, grid=False, binning=None, Rebin=None, doNormalization=False, listTagger=None, doPerformance=False, tagFlavor="B", mistagFlavor=["C", DUSG) |
|
Definition at line 9 of file listHistos.py.
◆ __init__()
def listHistos.plotInfo.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
title, |
|
|
|
legend = "" , |
|
|
|
Xlabel = "" , |
|
|
|
Ylabel = "" , |
|
|
|
logY = False , |
|
|
|
grid = False , |
|
|
|
binning = None , |
|
|
|
Rebin = None , |
|
|
|
doNormalization = False , |
|
|
|
listTagger = None , |
|
|
|
doPerformance = False , |
|
|
|
tagFlavor = "B" , |
|
|
|
mistagFlavor = ["C" , |
|
|
|
DUSG |
|
) |
| |
Definition at line 15 of file listHistos.py.
15 doPerformance=
False, tagFlavor=
"B", mistagFlavor=[
"C",
"DUSG"]):
23 self.binning = binning
25 self.doNormalization = doNormalization
26 self.doPerformance = doPerformance
27 if self.doPerformance :
29 self.title = name.replace(
"TAG",tagFlavor)
30 self.Xlabel = Xlabel.replace(
"TAG",tagFlavor)
31 self.Ylabel = Ylabel.replace(
"TAG",tagFlavor)
32 self.legend = legend.replace(
"TAG",tagFlavor)
33 self.tagFlavor = tagFlavor
34 self.mistagFlavor = mistagFlavor
35 if listTagger
is None :
38 self.listTagger=listTagger
◆ binning
listHistos.plotInfo.binning |
◆ doNormalization
listHistos.plotInfo.doNormalization |
◆ doPerformance
listHistos.plotInfo.doPerformance |
◆ grid
◆ legend
listHistos.plotInfo.legend |
◆ listTagger
listHistos.plotInfo.listTagger |
◆ logY
◆ mistagFlavor
listHistos.plotInfo.mistagFlavor |
◆ name
◆ Rebin
listHistos.plotInfo.Rebin |
◆ tagFlavor
listHistos.plotInfo.tagFlavor |
◆ title
listHistos.plotInfo.title |
◆ Xlabel
listHistos.plotInfo.Xlabel |
◆ Ylabel
listHistos.plotInfo.Ylabel |