Exemplo n.º 1
0
parser = optparse.OptionParser(version=__version__)
parser.add_option("-q",
                  "--quiet",
                  dest="verbose",
                  action="store_false",
                  default=True,
                  help="Quiet output.")
options, args = parser.parse_args()

import ROOT
ROOT.gROOT.SetBatch(True)
import glob, re, os
from array import array

import PyROOTUtils
PyROOTUtils.style()

from Decouple.plot_utils import getContours, getSmallestBinMarker, getInterpolatedMinimumMarker, drawContours, drawH, draw_muTmuW_frame, draw_kVkF_frame, draw_kGlukGamma_frame

SMMarker = ROOT.TMarker(1.0, 1.0, 34)
SMMarker.SetMarkerColor(ROOT.kBlack)
blackSolid = ROOT.TLine(1.2, 1.2, 1.4, 1.4)
blackSolid.SetLineWidth(2)
blackDashed = ROOT.TLine(1.2, 1.2, 1.4, 1.4)
blackDashed.SetLineWidth(2)
blackDashed.SetLineStyle(ROOT.kDashed)

container = []
openFiles = []

Exemplo n.º 2
0
__version__ = "0.1"


import optparse
parser = optparse.OptionParser(version=__version__)
parser.add_option("-q", "--quiet", dest="verbose", action="store_false", default=True, help="Quiet output.")
options,args = parser.parse_args()


import ROOT
ROOT.gROOT.SetBatch( True )
import glob, re, os
from array import array

import PyROOTUtils
PyROOTUtils.style()

from Decouple.plot_utils import getContours, getSmallestBinMarker, getInterpolatedMinimumMarker, drawContours, drawH, draw_muTmuW_frame, draw_kVkF_frame, draw_kGlukGamma_frame






SMMarker = ROOT.TMarker( 1.0, 1.0, 34 )
SMMarker.SetMarkerColor( ROOT.kBlack )
blackSolid = ROOT.TLine( 1.2,1.2,1.4,1.4 )
blackSolid.SetLineWidth( 2 )
blackDashed = ROOT.TLine( 1.2,1.2,1.4,1.4 )
blackDashed.SetLineWidth( 2 )
blackDashed.SetLineStyle( ROOT.kDashed )