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

Comparing UserCode/VHbb/python/showinfo.py (file contents):
Revision 1.1 by peller, Thu Apr 19 13:12:04 2012 UTC vs.
Revision 1.9 by peller, Fri Aug 3 15:43:03 2012 UTC

# Line 1 | Line 1
1   #!/usr/bin/env python
2 < from samplesinfo import sample
2 > from samplesclass import sample
3   import pickle
4   import sys
5  
# Line 12 | Line 12 | print '\tLOADED INFO OF %s SAMPLES:'%len
12   print '\n\n\t\033[1;34mLOADED INFO OF %s SAMPLES\033[1;m\n'%len(info)
13  
14   for job in info:
15 <    print '\t\033[1;31m-->%s: %s\033[1;m'%(job.getname(),job.plotname())
15 >    print '\t\033[1;31m-->%s: %s\033[1;m'%(job.name,job.group)
16      print '\t\tstored in file %s'%job.getpath()
17      print '\t\twith luminosity = %s and xsec = %s'%(job.lumi,job.xsec)    
18      print '\t\tdefined as type %s'%job.type
19      print '\t\tcuts applied: %s'%job.treecut
20 <    print '\t\tsplitiing factor: %s'%job.split
20 >    print '\t\tScalefactor: %s'%job.sf
21 >    print '\t\tSplitting: %s'%job.split
22 >    
23 >    if job.subsamples:
24 >        print '\t\tSubsamples:'
25 >        print '\t\tGroups: %s'%job.group
26 >        print '\t\tnames: %s'%job.subnames
27 >        print '\t\tcuts: %s'%job.subcuts
28 >    #print job.subcuts
29 >    print '\t\tActive: %s'%job.active
30      print '\t\tSystematics available:'
31      for sys in job.SYS: print '\t\t\t\033[1;32m- %s\033[1;m'%sys
32      comments=str.split(job.comment,'\n')

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines