36 |
|
class MVATools { |
37 |
|
public: |
38 |
|
MVATools(); |
39 |
< |
|
40 |
< |
|
41 |
< |
//-------------------------- |
42 |
< |
//MVA |
43 |
< |
//-------------------------- |
44 |
< |
//void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights); |
45 |
< |
//Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol *els); |
46 |
< |
|
47 |
< |
void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights); |
48 |
< |
Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els,double MVAPtMin); |
49 |
< |
Int_t PassElectronVetoInt(const Photon* p, const ElectronCol* els); |
50 |
< |
Float_t GetMVAbdtValue(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els); |
51 |
< |
|
52 |
< |
TMVA::Reader *fReaderEndcap; |
53 |
< |
TMVA::Reader *fReaderBarrel; |
54 |
< |
|
55 |
< |
//MVA variables 0 |
39 |
> |
|
40 |
> |
|
41 |
> |
//-------------------------- |
42 |
> |
//MVA |
43 |
> |
//-------------------------- |
44 |
> |
//void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights); |
45 |
> |
//Bool_t PassMVASelection(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol *els); |
46 |
> |
|
47 |
> |
void InitializeMVA(int VariableType, TString EndcapWeights,TString BarrelWeights); |
48 |
> |
Bool_t 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); |
49 |
> |
Int_t PassElectronVetoInt(const Photon* p, const ElectronCol* els); |
50 |
> |
Float_t GetMVAbdtValue(const Photon* p,const Vertex* vtx,const TrackCol* trackCol,const VertexCol* vtxCol,Double_t _tRho,const ElectronCol* els); |
51 |
> |
|
52 |
> |
TMVA::Reader *fReaderEndcap; |
53 |
> |
TMVA::Reader *fReaderBarrel; |
54 |
> |
|
55 |
> |
//MVA variables 0 |
56 |
|
Float_t HoE; |
57 |
|
Float_t covIEtaIEta; |
58 |
|
Float_t tIso1; |