43 |
|
global_rescale=2. |
44 |
|
|
45 |
|
#get locations: |
46 |
< |
Wdir=config.get('Directories','Wdir') |
46 |
> |
MVAdir=config.get('Directories','vhbbpath')+'/data/' |
47 |
|
|
48 |
|
#systematics |
49 |
|
systematics=config.get('systematics','systematics') |
92 |
|
MVAtype=config.get(run,'MVAtype') |
93 |
|
MVAname=run |
94 |
|
MVAsettings=config.get(run,'MVAsettings') |
95 |
< |
fnameOutput = Wdir +'/weights/'+factoryname+'_'+MVAname+'.root' |
95 |
> |
fnameOutput = MVAdir+factoryname+'_'+MVAname+'.root' |
96 |
|
#locations |
97 |
|
path=config.get(run,'path') |
98 |
|
|
271 |
|
output.Write() |
272 |
|
|
273 |
|
#WRITE INFOFILE |
274 |
< |
infofile = open(Wdir+'/weights/'+factoryname+'_'+MVAname+'.info','w') |
274 |
> |
infofile = open(MVAdir+factoryname+'_'+MVAname+'.info','w') |
275 |
|
info=mvainfo(MVAname) |
276 |
|
info.factoryname=factoryname |
277 |
|
info.factorysettings=factorysettings |
278 |
|
info.MVAtype=MVAtype |
279 |
|
info.MVAsettings=MVAsettings |
280 |
< |
info.weightfilepath=Wdir+'/weights' |
280 |
> |
info.weightfilepath=MVAdir |
281 |
|
info.path=path |
282 |
|
info.varset=treeVarSet |
283 |
|
info.vars=MVA_Vars['Nominal'] |