16          helper   -- AthMonitorCfgHelper(Old) instance 
   17          alg      -- algorithm Configurable object returned from addAlgorithm 
   18          kwargs   -- jo agruments 
   21     dumpTree = kwargs.get(
'dumpTree', 
False)
 
   25         mvaGroup = helper.addGroup(alg, 
'MVA')
 
   26         mvaGroup.defineTree(
'pixmvamontool_lb,status_vec,\ 
   27 holes_vec,outliers_vec,meas_vec,\ 
   28 clsontrkf_vec,clsontrk_vec,clsofftrk_vec,clsall_vec,\ 
   29 clsontrksize_vec,clsontrkrowsize_vec,clsontrkcolsize_vec,\ 
   30 clsofftrksize_vec,clsofftrkrowsize_vec,clsofftrkcolsize_vec,\ 
   31 trkalpha_vec,trkchi2byndf_vec,trknpixdead_vec,trknblayerhits_vec,\ 
   32 clsontrktot_vec,clsofftrktot_vec,mva_vec;\ 
   33 vartree', path=path, treedef=
'pixmvamontool_lb/i:status_vec/vector<float>\ 
   34 :h_vec/vector<float>:o_vec/vector<float>:m_vec/vector<float>\ 
   35 :clsontrkf_vec/vector<float>:clsontrk_vec/vector<float>:clsofftrk_vec/vector<float>:clsall_vec/vector<float>\ 
   36 :clsontrksize_vec/vector<float>:clsontrkrowsize_vec/vector<float>:clsontrkcolsize_vec/vector<float>\ 
   37 :clsofftrksize_vec/vector<float>:clsofftrkrowsize_vec/vector<float>:clsofftrkcolsize_vec/vector<float>\ 
   38 :trkalpha_vec/vector<float>:trkchi2byndf_vec/vector<float>\ 
   39 :trknpixdead_vec/vector<float>:trknblayerhits_vec/vector<float>\ 
   40 :clsontrktot_vec/vector<float>:clsofftrktot_vec/vector<float>:mva_vec/vector<float>')
 
   42     histoGroupName = 
'BDTWeights' 
   44     define2DProfHist(helper, alg, histoGroupName, title, path, type=
'TProfile2D')
 
   46     histoGroupName = 
'BDTWeightsReset' 
   47     title = 
'BDT score reset every 10 LB' 
   48     define2DProfHist(helper, alg, 
'BDTWeights', title, path, type=
'TProfile2D', opt=
'kLBNHistoryDepth=10', histname=histoGroupName)
 
   51     fullvarstring  = 
'pixmvamontool_lb, BDTWeights_val'  
   53     for i, layer 
in enumerate(baselayers):
 
   55         for ix, x 
in enumerate(LabelX[i]):
 
   57                 hname  = ModulesHead[i] 
 
   67                     newx = 
'S'+ x[3] + x[2] + 
'M' + x[1] + x[0]
 
   70                     hname += 
'_' + newy + 
'_' + newx
 
   72                     hname += 
'_' + y[0:6] + 
'_' + x
 
   74         modArray.append(helper.addArray([len(hnames)], alg, layer, path+
'Modules/'))
 
   75         for postfix, tool 
in modArray[i].Tools.items():
 
   76             hname_idx = 
int( postfix.split(
'_').pop() )
 
   77             hname = hnames[hname_idx]
 
   78             tool.defineHistogram(fullvarstring + 
';' + hname, type=
'TProfile', path=layer, 
 
   79                                         title=
'BDT score per LB ' + hname + 
';lumi block;<BDT score>',
 
   80                                         xbins=xbins, xmin=-0.5, xmax=-0.5+xbins)
 
   82 This function configures 1D (Profile) vs lumi histograms for Pixel(IBL) modules(FEs).