39 def __init__(self,title,XaxisTitle="",YaxisTitle=""):
40
41 self.nxbins = 66
42 self.xbins =
array(
'd',[-49.5,-44.5,-40.50,-36.5,-32.5,-31.5,-29.5,
43 -27.5,-25.5,-24.5,-23.5,-22.5,-21.5,-20.5,-19.5,
44 -18.5,-17.5,-16.5,-15.5,-14.5,-13.5,-12.5,-11.5,
45 -10.5,-9.5,-8.5,-7.5,-6.5,-5.5,-4.5,-3.5,
46 -2.5,-1.5,-0.5,0.5,1.5,2.5,3.5,4.5,5.5,6.5,
47 7.5,8.5,9.5,10.5,11.5,12.5,13.5,14.5,15.5,16.5,
48 17.5,18.5,19.5,20.5,21.5,22.5,23.5,24.5,26.5,28.5,
49 30.5,31.5,35.5,39.5,43.5,47.5])
50
51
52 L1CaloMap.Counter += 1
53 hname = "GainTTsMap_%d" % L1CaloMap.Counter
54 htitle = title
55 self.h_1 = ROOT.TH2F(hname,htitle,self.nxbins,self.xbins,64,0.,64)
56 setAxisTitles( [self.h_1], XaxisTitle, YaxisTitle )
57 setAxisSizes( [self.h_1], 0.048, 0.040, 0.032)
58