ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/nowaf/StudyXClean/rootScripts/MakeMetHist.py
(Generate patch)

Comparing UserCode/nowaf/StudyXClean/rootScripts/MakeMetHist.py (file contents):
Revision 1.1 by nowak, Thu Feb 25 06:29:24 2010 UTC vs.
Revision 1.2 by nowak, Fri Apr 9 11:22:35 2010 UTC

# Line 150 | Line 150 | if __name__ == "__main__":
150          hist_list2 = []
151          for file in file_list:
152              hist_list2.append( file.Get( "h_recoilMet_all" ) )
153 <            #hist_list2.append( file.Get( "h_Met_all" ) )
153 >            hist_list2.append( file.Get( "h_Met_all" ) )
154              pass
155  
156          case_list2 = []
157          for case in case_list:
158              case_list2.append( case + '_recoil' )
159 <            #case_list2.append( case + '_calo' )
159 >            case_list2.append( case + '_calo' )
160          
161          color_list.append( 35 )
162          color_list.append( 9 )
163 <        #case_list2.append( 'genMet' )
164 <        #hist_list2.append( file_list[rightCase].Get( "h_genMet_all" ) )
163 >        case_list2.append( 'genMet' )
164 >        hist_list2.append( file_list[rightCase].Get( "h_genMet_all" ) )
165  
166          c2 = ROOT.TCanvas( "c2_" + section, "met" + section ,1,71,300,300 )
167          Def.DrawSmall( c2, hist_list2, \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines