1 |
mingyang |
1.1 |
#ifndef MITPHYSICS_UTILS_MVAVBF_H
|
2 |
|
|
#define MITPHYSICS_UTILS_MVAVBF_H
|
3 |
|
|
|
4 |
|
|
#include "MitAna/DataTree/interface/Photon.h"
|
5 |
|
|
#include "MitAna/DataTree/interface/PhotonCol.h"
|
6 |
|
|
#include "MitAna/DataTree/interface/TrackCol.h"
|
7 |
|
|
#include "MitAna/DataTree/interface/Electron.h"
|
8 |
|
|
#include "MitAna/DataTree/interface/ElectronCol.h"
|
9 |
|
|
#include "MitAna/DataTree/interface/BaseVertex.h"
|
10 |
|
|
#include "MitAna/DataTree/interface/DecayParticleCol.h"
|
11 |
|
|
#include "MitAna/DataTree/interface/VertexCol.h"
|
12 |
|
|
#include "MitAna/DataTree/interface/BeamSpotCol.h"
|
13 |
|
|
#include "MitAna/DataTree/interface/TriggerObjectCol.h"
|
14 |
|
|
#include "MitAna/DataTree/interface/MCParticleCol.h"
|
15 |
|
|
#include "MitAna/DataTree/interface/SuperCluster.h"
|
16 |
|
|
#include "MitAna/DataTree/interface/SuperClusterCol.h"
|
17 |
|
|
#include "MitCommon/MathTools/interface/MathUtils.h"
|
18 |
|
|
#include "MitAna/DataTree/interface/PFCandidateCol.h"
|
19 |
|
|
|
20 |
|
|
class TRandom3;
|
21 |
|
|
namespace TMVA {//MVA
|
22 |
|
|
class Reader;
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
namespace mithep {
|
26 |
|
|
class MVAVBF {
|
27 |
|
|
|
28 |
|
|
public:
|
29 |
|
|
|
30 |
|
|
MVAVBF();
|
31 |
|
|
void InitializeMVA();
|
32 |
|
|
float GetMVAbdtValue(float jet1pt, float jet2pt, float deltajeteta, float dijetmass, float zeppenfeld, float dphidijetgg, float diphoptOverdiphomass, float pho1ptOverdiphomass, float pho2ptOverdiphomass);
|
33 |
|
|
|
34 |
|
|
private:
|
35 |
|
|
|
36 |
|
|
TMVA::Reader *fReader;
|
37 |
|
|
|
38 |
|
|
float _jet1pt;
|
39 |
|
|
float _jet2pt;
|
40 |
|
|
float _deltajeteta;
|
41 |
|
|
float _dijetmass;
|
42 |
|
|
float _zeppenfeld;
|
43 |
|
|
float _dphidijetgg;
|
44 |
|
|
float _diphoptOverdiphomass;
|
45 |
|
|
float _pho1ptOverdiphomass;
|
46 |
|
|
float _pho2ptOverdiphomass;
|
47 |
|
|
|
48 |
|
|
TMVA::Reader *reader;
|
49 |
|
|
|
50 |
|
|
ClassDef(MVAVBF, 0)
|
51 |
|
|
};
|
52 |
|
|
}
|
53 |
|
|
|
54 |
|
|
#endif
|