222 |
|
//initilize the bool value |
223 |
|
PassMVA=kFALSE; |
224 |
|
|
225 |
< |
Float_t photon_bdt = MVATools::GetMVAbdtValueOld(p,vtx,trackCol,vtxCol, _tRho, els, applyElectronVeto); |
225 |
> |
Float_t photon_bdt = MVATools::GetMVAbdtValue_2011(p,vtx,trackCol,vtxCol, _tRho, els, applyElectronVeto); |
226 |
|
|
227 |
|
if (isbarrel) { |
228 |
|
if(bdt>bdtCutBarrel){ |
279 |
|
|
280 |
|
//-------------------------------------------------------------------------------------------------- |
281 |
|
|
282 |
< |
Float_t MVATools::GetMVAbdtValue(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho, const PFCandidateCol *fPFCands,const ElectronCol* els,Bool_t applyElectronVeto) { |
282 |
> |
Float_t MVATools::GetMVAbdtValue_2012_globe(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho, const PFCandidateCol *fPFCands,const ElectronCol* els,Bool_t applyElectronVeto) { |
283 |
|
|
284 |
|
//get the variables used to compute MVA variables |
285 |
|
ecalIso3 = p->EcalRecHitIsoDr03(); |
407 |
|
return bdt; |
408 |
|
} |
409 |
|
|
410 |
< |
Float_t MVATools::GetMVAbdtValueOld(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,Bool_t applyElectronVeto) { |
410 |
> |
Float_t MVATools::GetMVAbdtValue_2011(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,Bool_t applyElectronVeto) { |
411 |
|
|
412 |
|
//get the variables used to compute MVA variables |
413 |
|
ecalIso3 = p->EcalRecHitIsoDr03(); |