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

Comparing UserCode/VHbb/python/evaluateMVA.py (file contents):
Revision 1.12 by nmohr, Thu Sep 20 13:08:07 2012 UTC vs.
Revision 1.13 by nmohr, Thu Sep 20 15:57:22 2012 UTC

# Line 42 | Line 42 | anaTag = config.get("Analysis","tag")
42  
43   #get locations:
44   Wdir=config.get('Directories','Wdir')
45 < MVAdir=config.get('Directories','MVAdir')
45 > MVASubdir=config.get('Directories','MVAdir')
46  
47   #systematics
48   systematics=config.get('systematics','systematics')
# Line 136 | Line 136 | for job in Ainfo:
136          if job.name in namelist:
137              #get trees:
138              input = TFile.Open(Apath+'/'+job.getpath(),'read')
139 <            outfile = TFile.Open(job.path+'/'+MVAdir+job.prefix+job.identifier+'.root','recreate')
139 >            outfile = TFile.Open(Apath+'/'+MVASubdir+job.prefix+job.identifier+'.root','recreate')
140              input.cd()
141              obj = ROOT.TObject
142              for key in ROOT.gDirectory.GetListOfKeys():

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines