116 |
|
|
117 |
|
//-------------------------------------------------------------------------------------------------- |
118 |
|
|
119 |
< |
Bool_t MVATools::PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,double MVAPtMin) { |
119 |
> |
Bool_t MVATools::PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,double MVAPtMin, Float_t bdtCutBarrel, Float_t bdtCutEndcap) { |
120 |
|
|
121 |
|
// these values are taken from the H2GGlobe code... (actually from Marco/s mail) |
122 |
|
float cic4_allcuts_temp_sublead[] = { |
217 |
|
bdt = reader->EvaluateMVA( "BDT method" ); |
218 |
|
|
219 |
|
if (isbarrel) { |
220 |
< |
if(bdt>0.0031324){ |
220 |
> |
if(bdt>bdtCutBarrel){ |
221 |
|
PassMVA=kTRUE; |
222 |
|
} |
223 |
|
} |
224 |
|
else { |
225 |
< |
if(bdt>0.0086){ |
225 |
> |
if(bdt>bdtCutEndcap){ |
226 |
|
PassMVA=kTRUE; |
227 |
|
} |
228 |
|
} |