ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/HistoMaker.py
(Generate patch)

Comparing UserCode/VHbb/python/HistoMaker.py (file contents):
Revision 1.5 by peller, Fri Oct 5 11:58:18 2012 UTC vs.
Revision 1.6 by peller, Thu Oct 11 08:39:53 2012 UTC

# Line 111 | Line 111 | class HistoMaker:
111              elif job.type == 'DATA':
112                  if options[11] == 'blind':
113                      output.cd()
114 <                    CuttedTree.Draw('%s>>%s(%s,%s,%s)' %(treeVar,name,nBins,xMin,xMax),treeVar+'<0', "goff,e")
114 >                    if treeVar == 'H.mass':
115 >                        CuttedTree.Draw('%s>>%s(%s,%s,%s)' %(treeVar,name,nBins,xMin,xMax),treeVar+'<80. || '+treeVar + '>150.' , "goff,e")
116 >                    else:
117 >                        CuttedTree.Draw('%s>>%s(%s,%s,%s)' %(treeVar,name,nBins,xMin,xMax),treeVar+'<0', "goff,e")
118 >
119                  else:
120                      output.cd()
121                      CuttedTree.Draw('%s>>%s(%s,%s,%s)' %(treeVar,name,nBins,xMin,xMax),'1', "goff,e")

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines