Classes | Functions | Variables
plot_validation_datamc_2018 Namespace Reference

Classes

class  Prediction
 
class  Ratio
 
class  Spectrum
 

Functions

def Caption (fName, axisTitle, decomp)
 
def New (cons, args)
 
def Clone (obj)
 
def POTStr (pot)
 
def DeriveScalePow (spect, pot)
 
def One ()
 
def Preliminary ()
 
def BeamModeLabel (beamMode='fhc')
 
def SplitCanvas (ysplit)
 
def LegendSplit (spec, decomp=False, ratio=False)
 
def Legend (isDecomp=False, isSplit=False)
 
def IsLeftAlign (fname)
 
def ColorLegend (isDecomp=False, isSplit=False, leftAlign=True)
 
def TopLegend (isDecomp=False, isSplit=False)
 
def RatioLegend (isDecomp=False)
 

Variables

list gLeaked = []
 
 parser = argparse.ArgumentParser()
 
 action
 
 help
 
 opts = parser.parse_args()
 
 beamMode = opts.beamMode
 
 fdata = TFile(opts.dataFile)
 
 fmc = TFile(opts.mcFile)
 
 fdecomp = TFile(opts.decompFile)
 
 isLeft = IsLeftAlign(k.GetName())
 
string decompStr = ''
 
int lineStyle = 1
 
 data = Spectrum(k.ReadObj())
 
 scalePow = DeriveScalePow(data, data.pot)
 
 decomp = Prediction(fdecomp,k.GetName())
 
 pred = Prediction(fmc, k.GetName())
 
 lStyle
 
 fname = re.sub(r'\{group=Cut,cat=._(.*)\}', r'_\1', k.GetName())
 
 leftAlign
 
 r = Ratio(Clone(data), Clone(pred.tot))
 
 rdecomp = Ratio(Clone(data), Clone(decomp.tot))
 
 color
 
 c = New(TCanvas)
 
 p1
 
 p2
 
 isDecomp
 
 isSplit
 
 True
 
string splitName = '{}_plots/{}_{}{}_split.pdf'
 
 local
 
 banner
 

Function Documentation

def plot_validation_datamc_2018.BeamModeLabel (   beamMode = 'fhc')

Definition at line 73 of file plot_validation_datamc_2018.py.

References New().

73 def BeamModeLabel(beamMode = 'fhc'):
74  txt = 'Neutrino Mode'
75  if 'rhc' in beamMode:
76  txt = 'Antineutrino Mode'
77  lb = New(TLatex, .1, .95, txt)
78  lb.SetNDC()
79  lb.SetTextAlign(13)
80  lb.SetTextColor(kGray+3)
81  lb.SetTextSize(2/45.)
82  lb.Draw()
83 
def plot_validation_datamc_2018.Caption (   fName,
  axisTitle,
  decomp 
)

Definition at line 11 of file plot_validation_datamc_2018.py.

References novadaq::HexUtils.format(), and open().

11 def Caption(fName, axisTitle, decomp):
12  beamMode = 'neutrino'
13  if 'rhc' in fName:
14  beamMode = 'antineutrino'
15 
16  lcvn = 'CVNeLow' in fName
17  hcvn = 'CVNeHigh' in fName
18  cut = 'preselection cuts'
19  if lcvn:
20  cut = 'low CVN cut'
21  if hcvn:
22  cut = 'high CVN cut'
23 
24  decompStr = ''
25  if decomp:
26  if 'rhc' in fName:
27  decompType = 'proportional'
28  else:
29  decompType = 'combo'
30  decompStr = 'Solid line indicates simulation has been corrected by {} decomposition.'.format(decompType)
31 
32  caption = '{} in {} beam mode with {}. Top panel shows data (markers) and simulation (colors) spectra. {} Bottom panel shows the ratio of data to simulation.'.format(axisTitle, beamMode, cut, decompStr)
33 
34  txtName = fName.replace('pdf', 'txt')
35  textFile = open(txtName, 'w')
36  textFile.write(caption)
37  textFile.close()
38 
std::string format(const int32_t &value, const int &ndigits=8)
Definition: HexUtils.cpp:14
procfile open("FD_BRL_v0.txt")
def Caption(fName, axisTitle, decomp)
def plot_validation_datamc_2018.Clone (   obj)

Definition at line 44 of file plot_validation_datamc_2018.py.

Referenced by ColorLegend(), Legend(), LegendSplit(), RatioLegend(), and TopLegend().

44 def Clone(obj):
45  ret = obj.Clone()
46  gLeaked.append(ret)
47  return ret
48 
def plot_validation_datamc_2018.ColorLegend (   isDecomp = False,
  isSplit = False,
  leftAlign = True 
)

Definition at line 292 of file plot_validation_datamc_2018.py.

References Clone(), New(), and RatioLegend().

292 def ColorLegend(isDecomp = False, isSplit = False, leftAlign = True):
293  # top legend for line/marker descriptors
294  if not leftAlign: topleg = New(TLegend, .4, .8, .9, .88)
295  else: topleg = New(TLegend, .11, .8, .61, .88)
296  topleg.SetNColumns(3)
297  topleg.SetFillStyle(0)
298 
299  # bottom legend for interaction colors
300  if not leftAlign: leg = New(TLegend, .7, .6, .875, .8)
301  else: leg = New(TLegend, .1, .6, .285, .8)
302  leg.SetNColumns(2)
303  leg.SetMargin(.22)
304  leg.SetFillStyle(0)
305  leg.SetTextAlign(33)
306  if leftAlign:
307  leg.SetTextAlign(13)
308 
309  # dummy histogram
310  h = New(TH1F, '', '', 1, 0, 1)
311 
312  h.SetLineStyle(7)
313  # if not decomp, we don't have uncorrected vs corrected
314  # spectra to distinguish between. Set text color white
315  # so the other entries stay right justified
316  if not leftAlign:
317  if isDecomp:
318  topleg.AddEntry(Clone(h), 'Uncorr. MC', 'l')
319  else:
320  h.SetLineColor(kWhite)
321  blank = topleg.AddEntry(Clone(h), ' ', 'l')
322  blank.SetTextColor(kWhite)
323 
324  h.SetLineStyle(1)
325  h.SetLineColor(kRed)
326  mc = topleg.AddEntry(Clone(h), 'Total MC', 'l')
327 
328  h.SetMarkerStyle(kFullCircle)
329  h.SetLineColor(kBlack)
330  d = topleg.AddEntry(Clone(h), 'ND data', 'lep')
331 
332  else:
333  h.SetMarkerStyle(kFullCircle)
334  h.SetLineColor(kBlack)
335  d = topleg.AddEntry(Clone(h), 'ND data', 'lep')
336 
337  h.SetLineStyle(1)
338  h.SetLineColor(kRed)
339  mc = topleg.AddEntry(Clone(h), 'Total MC', 'l')
340 
341  if isDecomp:
342  h.SetLineStyle(7)
343  h.SetLineColor(kBlack)
344  topleg.AddEntry(Clone(h), 'Uncorr. MC', 'l')
345  else:
346  h.SetLineColor(kWhite)
347  blank = topleg.AddEntry(Clone(h), ' ', 'l')
348  blank.SetTextColor(kWhite)
349 
350 
351  # build the bottom legend
352  h.SetLineColor(kWhite)
353  l2 = leg.AddEntry(Clone(h), '#nu_{#mu} CC', 'l')
354  l2.SetTextColor(kGreen+2)
355 
356  l4 = leg.AddEntry(Clone(h), '#bar{#nu}_{#mu} CC', 'l')
357  l4.SetTextColor(kGreen-3)
358 
359  l3 = leg.AddEntry(Clone(h), '#nu_{e} CC', 'l')
360  l3.SetTextColor(kMagenta-2)
361 
362  l5 = leg.AddEntry(Clone(h), '#bar{#nu}_{e} CC', 'l')
363  l5.SetTextColor(kMagenta)
364 
365  # pad to make NC right justified
366  if not leftAlign:
367  blank = leg.AddEntry(Clone(h), '', 'l')
368  blank.SetTextColor(kWhite)
369  l1 = leg.AddEntry(Clone(h), 'NC', 'l')
370  l1.SetTextColor(kAzure)
371  else:
372  l1 = leg.AddEntry(Clone(h), 'NC', 'l')
373  l1.SetTextColor(kAzure)
374  blank = leg.AddEntry(Clone(h), '', 'l')
375  blank.SetTextColor(kWhite)
376 
377 
378  topleg.SetTextSize(1.3*topleg.GetTextSize())
379  leg.Draw()
380  topleg.Draw()
381 
382  if isSplit:
383  RatioLegend(isDecomp)
384 
385 
def ColorLegend(isDecomp=False, isSplit=False, leftAlign=True)
def plot_validation_datamc_2018.DeriveScalePow (   spect,
  pot 
)
Next smallest power of 1000 than maximum bin

Definition at line 52 of file plot_validation_datamc_2018.py.

References makeTrainCVSamples.int.

52 def DeriveScalePow(spect, pot):
53  """Next smallest power of 1000 than maximum bin"""
54  if spect.hist.GetMaximum() == 0: return 0
55  return 3*(int(math.log10(spect.hist.GetMaximum()*pot/spect.pot))/3)
56 
def plot_validation_datamc_2018.IsLeftAlign (   fname)

Definition at line 279 of file plot_validation_datamc_2018.py.

279 def IsLeftAlign(fname):
280  needsLeft = ['id_lid', 'shw_cos_z',
281  'shw_cos_numi', 'id_cvne',
282  'cosangle', 'cosdang',
283  'nplanestofront', 'shwhitfrac',
284  'shwMaxy', 'cvn2d'
285  'cvn_mode', 'lid2d']
286  for fig in needsLeft:
287  if fig.lower() in fname.lower():
288  return True
289 
290  return False
291 
def plot_validation_datamc_2018.Legend (   isDecomp = False,
  isSplit = False 
)

Definition at line 244 of file plot_validation_datamc_2018.py.

References Clone(), New(), and RatioLegend().

244 def Legend(isDecomp = False, isSplit = False):
245  leg = New(TLegend, .78, .4, .95, .89)
246  h = New(TH1F, '', '', 1, 0, 1)
247 
248  leg.SetMargin(.22)
249  leg.SetBorderSize(1)
250 
251  h.SetMarkerStyle(kFullCircle)
252  leg.AddEntry(Clone(h), 'ND data', 'lep')
253  h.SetLineColor(kRed)
254  leg.AddEntry(Clone(h), 'Total MC', 'l')
255  h.SetLineColor(kAzure)
256  leg.AddEntry(Clone(h), 'NC', 'l')
257  h.SetLineColor(kGreen+2)
258  leg.AddEntry(Clone(h), '#nu_{#mu} CC', 'l')
259  h.SetLineColor(kMagenta-2)
260  leg.AddEntry(Clone(h), '#nu_{e} CC', 'l')
261  h.SetLineColor(kGreen-3)
262  leg.AddEntry(Clone(h), '#bar{#nu}_{#mu} CC', 'l')
263  h.SetLineColor(kMagenta)
264  leg.AddEntry(Clone(h), '#bar{#nu}_{e} CC', 'l')
265  if decomp:
266  h.SetLineStyle(7)
267  h.SetLineColor(kBlack)
268  leg.AddEntry(Clone(h), 'Uncorr. MC', 'l')
269  leg.SetTextSize(1.2*leg.GetTextSize())
270  else:
271  leg.SetTextSize(0.8*h.GetXaxis().GetTitleSize())
272  leg.Draw()
273 
274  if isSplit:
275  RatioLegend(isDecomp)
276 
277 # Add plots where the legend would fit better on the
278 # left side
def Legend(isDecomp=False, isSplit=False)
def plot_validation_datamc_2018.LegendSplit (   spec,
  decomp = False,
  ratio = False 
)

Definition at line 185 of file plot_validation_datamc_2018.py.

References Clone(), and New().

185 def LegendSplit(spec, decomp = False, ratio = False):
186  y1 = .56
187  y2 = .85
188  if ratio:
189  y1 = .46
190 
191  # Make some room for the legend
192  minY = spec.hist.GetMinimum()
193  maxY = spec.hist.GetMaximinum()
194  spec.hist.GetYaxis().SetRangeUser(minY, 1.3*maxY)
195 
196  leg = New(TLegend, .6, y1, .95, y2)
197  leg.SetNColumns(2)
198  leg.SetBorderSize(1)
199  h = New(TH1F, '', '', 1, 0, 1)
200  leg.SetTextSize(.7*h.GetXaxis().GetTitleSize())
201  h.SetMarkerStyle(kFullCircle)
202  leg.AddEntry(Clone(h), 'ND data', 'lep') #1,1
203 
204  h.SetLineColor(kAzure)
205  leg.AddEntry(Clone(h), 'NC', 'l') #2,1
206 
207  h.SetLineColor(kRed)
208  leg.AddEntry(Clone(h), 'Total MC', 'l') #1,2
209 
210  if decomp:
211  h.SetLineStyle(7)
212  h.SetLineColor(kBlack)
213  leg.AddEntry(Clone(h), 'Uncorr. MC', 'l') #2,2
214 
215  h.SetLineStyle(1)
216  h.SetLineColor(kGreen+2)
217  leg.AddEntry(Clone(h), '#nu_{#mu} CC', 'l') #1,3
218 
219  h.SetLineColor(kGreen-3)
220  leg.AddEntry(Clone(h), '#bar{#nu_{#mu}} CC', 'l') #2,3
221 
222  h.SetLineColor(kMagenta-2)
223  leg.AddEntry(Clone(h), '#nu_{e} CC', 'l') #1,4
224 
225  h.SetLineColor(kMagenta)
226  leg.AddEntry(Clone(h), '#bar{#nu_{e}} CC', 'l') #2,4
227 
228  h.SetMarkerColor(1)
229  h.SetLineColor(1)
230  if decomp:
231  h.SetMarkerColor(17)
232  h.SetLineColor(17)
233  if ratio:
234  leg.AddEntry(Clone(h), '#splitline{Ratio to}{Uncorr. MC}') #1,5
235 
236  h.SetMarkerColor(1)
237  h.SetLineColor(1)
238  if decomp and ratio:
239  leg.AddEntry(Clone(h), '#splitline{Ratio to}{Decomp MC}') #2,5
240  leg.Draw()
241 
242 
243 
def LegendSplit(spec, decomp=False, ratio=False)
def plot_validation_datamc_2018.New (   cons,
  args 
)

Definition at line 39 of file plot_validation_datamc_2018.py.

Referenced by BeamModeLabel(), ColorLegend(), Legend(), LegendSplit(), One(), Preliminary(), RatioLegend(), SplitCanvas(), and TopLegend().

39 def New(cons, *args):
40  ret = cons(*args)
41  gLeaked.append(ret)
42  return ret
43 
def plot_validation_datamc_2018.One ( )

Definition at line 57 of file plot_validation_datamc_2018.py.

References New(), and one().

Referenced by datamc().

57 def One():
58  g = New(TGraph)
59  g.SetPoint(0, -1e10, 1)
60  g.SetPoint(1, 1e10, 1)
61  g.SetLineWidth(2)
62  g.SetLineStyle(7)
63  g.Draw('same')
64 
def plot_validation_datamc_2018.POTStr (   pot)

Definition at line 49 of file plot_validation_datamc_2018.py.

Referenced by plot_validation_datamc_2018.Spectrum.Draw().

49 def POTStr(pot):
50  return '%.3g#times10^{20} POT' % (pot/1e20)
51 
def plot_validation_datamc_2018.Preliminary ( )

Definition at line 65 of file plot_validation_datamc_2018.py.

References New().

66  tex = New(TLatex, .9, .95, "NOvA Preliminary")
67  tex.SetTextColor(kBlue)
68  tex.SetNDC()
69  tex.SetTextSize(2/30.)
70  tex.SetTextAlign(32)
71  tex.Draw()
72 
def plot_validation_datamc_2018.RatioLegend (   isDecomp = False)

Definition at line 421 of file plot_validation_datamc_2018.py.

References Clone(), and New().

Referenced by ColorLegend(), Legend(), and TopLegend().

421 def RatioLegend(isDecomp = False):
422  x1 = .12
423  x2 = .32
424  if isDecomp:
425  x2 = .47
426  l = New(TLegend, x1, .13, x2, .18)
427  l.SetBorderSize(1)
428  l.SetNColumns(2)
429  h = New(TH1F, '', '', 1, 0, 1)
430  h.SetMarkerStyle(kFullCircle)
431  h.SetMarkerColor(1)
432  h.SetLineColor(1)
433  if isDecomp:
434  h.SetMarkerColor(17)
435  h.SetLineColor(17)
436  l.AddEntry(Clone(h), 'Uncorr. MC', 'lep')
437 
438  if isDecomp:
439  h.SetMarkerColor(1)
440  h.SetLineColor(1)
441  l.AddEntry(Clone(h), 'Decomp MC', 'lep')
442  l.Draw()
443 
444 
def plot_validation_datamc_2018.SplitCanvas (   ysplit)

Definition at line 168 of file plot_validation_datamc_2018.py.

References New().

168 def SplitCanvas(ysplit):
169  if gPad is None: New(TCanvas)
170  p1 = New(TPad, '', '', 0, 0, 1, 1)
171  p2 = New(TPad, '', '', 0, 0, 1, 1)
172 
173  p1.SetBottomMargin(ysplit)
174  p2.SetTopMargin(1-ysplit)
175 
176  # Draw p1 second since it's often the more important one, that the user
177  # would prefer to be able to interact with.
178  for p in [p2, p1]:
179  p.SetFillStyle(0)
180  p.Draw()
181 
182  return (p1, p2)
183 
184 
def plot_validation_datamc_2018.TopLegend (   isDecomp = False,
  isSplit = False 
)

Definition at line 386 of file plot_validation_datamc_2018.py.

References Clone(), New(), and RatioLegend().

386 def TopLegend(isDecomp = False, isSplit = False):
387  leg = New(TLegend, .15, .75, .85, .85)
388  h = New(TH1F, '', '', 1, 0, 1)
389 
390  leg.SetMargin(.22)
391 # leg.SetBorderSize(1)
392  leg.SetNColumns(8)
393 
394  h.SetMarkerStyle(kFullCircle)
395  leg.AddEntry(Clone(h), 'ND data', 'lep')
396  h.SetLineColor(kRed)
397  leg.AddEntry(Clone(h), 'Total MC', 'l')
398  h.SetLineColor(kAzure)
399  leg.AddEntry(Clone(h), 'NC', 'l')
400  h.SetLineColor(kGreen+2)
401  leg.AddEntry(Clone(h), '#nu_{#mu} CC', 'l')
402  h.SetLineColor(kMagenta-2)
403  leg.AddEntry(Clone(h), '#nu_{e} CC', 'l')
404  h.SetLineColor(kGreen-3)
405  leg.AddEntry(Clone(h), '#bar{#nu}_{#mu} CC', 'l')
406  h.SetLineColor(kMagenta)
407  leg.AddEntry(Clone(h), '#bar{#nu}_{e} CC', 'l')
408  if decomp:
409  h.SetLineStyle(7)
410  h.SetLineColor(kBlack)
411  leg.AddEntry(Clone(h), 'Uncorr. MC', 'l')
412  leg.SetTextSize(1.2*leg.GetTextSize())
413  else:
414  leg.SetTextSize(0.8*h.GetXaxis().GetTitleSize())
415  leg.Draw()
416 
417  if isSplit:
418  RatioLegend(isDecomp)
419 
420 
def TopLegend(isDecomp=False, isSplit=False)

Variable Documentation

plot_validation_datamc_2018.action

Definition at line 446 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.banner

Definition at line 564 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.beamMode = opts.beamMode

Definition at line 462 of file plot_validation_datamc_2018.py.

Referenced by make_mass_and_oct_fc_input_2019().

plot_validation_datamc_2018.c = New(TCanvas)

Definition at line 520 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.color

Definition at line 516 of file plot_validation_datamc_2018.py.

Referenced by Beam(), BestFitMarker(), BicountEllipse_dCP(), BiprobEllipse_dCP(), check_predinterp(), check_predinterp_numu(), ana::DataMCPair.CName(), compare_fits(), datamc(), demo_nueNumuSysts(), draw_vlines(), evd::GeometryDrawer.DrawBadBoxesPretty(), evd::GeometryDrawer.DrawCells2D(), evd::RecoBaseDrawer.DrawCluster2D(), ana::DataMCPair.DrawData(), DataMCPair.DrawData(), drawLongTerm(), evd::RecoBaseDrawer.DrawProng2D(), evd::RecoBaseDrawer.DrawProng3D(), evd::RecoBaseDrawer.DrawTrack3D(), drawVsPOT(), DummyGraph(), ana.FillWithDimColor(), FillWithDimmerColor(), FindSignPoint(), ana::ISurface.GetBestFitY(), ana::DataMCPair.GetBinnings(), HighlightSignPoints(), main(), MakeLegend(), MakePlot(), MakeTemplatePlotsSyst(), mre_blessed(), evd::RecoBaseDrawer.OfflineChans2D(), Plot1DSlices(), plot_contprof(), plot_ehade_quantbound(), plot_oscprob(), plot_quantile_boundaries_2020(), plotContProf(), PlotFrom2D(), prob_biprob_pedagogical(), ResolutionBars(), ana::SpectrumComponents.SaveTo(), set_bg_color_to_main(), ana::DataMCPair.SetComponentColor(), fnex::CorrSpec_SimpleNuMuExtrap.SetPlotStyles(), fnex::CorrSpec_NoExtrapNuE.SetPlotStyles(), fnex::CorrSpec_PropDecomp.SetPlotStyles(), fnex::CorrSpec_MichelDecomp.SetPlotStyles(), fnex::CorrSpec_NoExtrapNuMu.SetPlotStyles(), fnex::CorrSpec_SimpleExtrap.SetPlotStyles(), fnex::CorrSpec_BENDecomp.SetPlotStyles(), test_systmultiverse(), TheoryEllipse_dCP(), TheoryLine_E(), and theta23vsdeltamsq32().

plot_validation_datamc_2018.data = Spectrum(k.ReadObj())

Definition at line 480 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.decomp = Prediction(fdecomp,k.GetName())
string plot_validation_datamc_2018.decompStr = ''

Definition at line 473 of file plot_validation_datamc_2018.py.

Referenced by bin_composition_pie_chart().

plot_validation_datamc_2018.fdata = TFile(opts.dataFile)

Definition at line 463 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.fdecomp = TFile(opts.decompFile)

Definition at line 465 of file plot_validation_datamc_2018.py.

Referenced by plot_michel_final(), and plot_nd_spectra_2018().

plot_validation_datamc_2018.fmc = TFile(opts.mcFile)

Definition at line 464 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.fname = re.sub(r'\{group=Cut,cat=._(.*)\}', r'_\1', k.GetName())

Definition at line 495 of file plot_validation_datamc_2018.py.

list plot_validation_datamc_2018.gLeaked = []

Definition at line 10 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.help

Definition at line 447 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.isDecomp

Definition at line 533 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.isLeft = IsLeftAlign(k.GetName())

Definition at line 469 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.isSplit

Definition at line 533 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.leftAlign

Definition at line 498 of file plot_validation_datamc_2018.py.

int plot_validation_datamc_2018.lineStyle = 1
plot_validation_datamc_2018.local

Definition at line 564 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.lStyle

Definition at line 492 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.opts = parser.parse_args()

Definition at line 452 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.p1

Definition at line 526 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.p2

Definition at line 526 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.parser = argparse.ArgumentParser()

Definition at line 445 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.pred = Prediction(fmc, k.GetName())

Definition at line 491 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.r = Ratio(Clone(data), Clone(pred.tot))

Definition at line 507 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.rdecomp = Ratio(Clone(data), Clone(decomp.tot))

Definition at line 514 of file plot_validation_datamc_2018.py.

Referenced by plot_nd_spectra_2018().

plot_validation_datamc_2018.scalePow = DeriveScalePow(data, data.pot)

Definition at line 484 of file plot_validation_datamc_2018.py.

string plot_validation_datamc_2018.splitName = '{}_plots/{}_{}{}_split.pdf'

Definition at line 550 of file plot_validation_datamc_2018.py.

plot_validation_datamc_2018.True

Definition at line 533 of file plot_validation_datamc_2018.py.