ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbb/python/showmvainfo.py
Revision: 1.3
Committed: Wed Jan 16 16:22:47 2013 UTC (12 years, 3 months ago) by peller
Content type: text/x-python
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
State: FILE REMOVED
Error occurred while calculating annotation data.
Log Message:
reorganized the whole repository. Macros im myutils, config files in subdirectories. Config file split in parts. Path config file restructured. Moved all path options to the path config. Changed the code accordingly.

File Contents

# Content
1 #!/usr/bin/env python
2 from samplesclass import sample
3 import pickle
4 import sys
5 import init
6
7 filename=sys.argv[1]
8
9 infofile = open(init.Wdir+'/weights/'+filename,'r')
10 job = pickle.load(infofile)
11
12 print '\n\n\t\033[1;34mLOADED INFO OF %s MVA\033[1;m\n'%job.MVAname
13
14 print '\t\tfactory name: %s'%job.factoryname
15 print '\t\tfactorysettings: \033[1;31m%s\033[1;m'%job.factorysettings
16 print '\t\tMVAname: %s'%job.MVAname
17 print '\t\tMVAtype: %s'%job.MVAtype
18 print '\t\tMVAsettings: \033[1;31m%s\033[1;m'%job.MVAsettings
19 print '\t\ttrained on: %s'%job.Tpath
20 print '\t\tevaluated on: %s'%job.Epath
21 print '\t\tVariables: \033[1;32m%s\033[1;m'%job.vars
22 print '\t\tSpectators: \033[1;32m%s\033[1;m'%job.spectators
23 comments=str.split(job.comment,'\n')
24 print '\t\tsample info:'
25 for comment in comments:
26 print '\t\t\t'+ comment
27 print ''
28 infofile.close()