24 |
|
#include "MitAna/DataTree/interface/PileupInfoCol.h" |
25 |
|
#include "MitAna/DataTree/interface/MCParticleCol.h" |
26 |
|
|
27 |
+ |
#include "MitPhysics/Utils/interface/MVATools.h" |
28 |
+ |
|
29 |
|
namespace mithep |
30 |
|
{ |
31 |
|
class PhotonIDMod : public BaseMod |
88 |
|
void SetGoodElectronsFromBranch(Bool_t b) { fGoodElectronsFromBranch = b; } |
89 |
|
void SetGoodElectronName(TString name) { fGoodElectronName = name; } |
90 |
|
|
91 |
+ |
void SetBdtCutBarrel(double a) {fbdtCutBarrel = a; } |
92 |
+ |
void SetBdtCutEndcap(double a) {fbdtCutEndcap = a; } |
93 |
+ |
|
94 |
+ |
|
95 |
|
enum EPhIdType { |
96 |
|
kIdUndef = 0, //not defined |
97 |
|
kTight, //"Tight" |
98 |
|
kLoose, //"Loose" |
99 |
|
kLooseEM, //"LooseEM" |
100 |
|
kBaseLineCiC, //"2011" Hgg BaseLine CiC |
101 |
+ |
kMITMVAId, // MingMing MVA ID |
102 |
|
kCustomId //"Custom" |
103 |
|
}; |
104 |
|
|
161 |
|
const VertexCol* fPV; //! |
162 |
|
const MCParticleCol *fMCParticles;//! |
163 |
|
const PileupInfoCol *fPileUp; //! |
164 |
+ |
|
165 |
+ |
Double_t fbdtCutBarrel; |
166 |
+ |
Double_t fbdtCutEndcap; |
167 |
+ |
int fVariableType; |
168 |
+ |
TString fEndcapWeights; |
169 |
+ |
TString fBarrelWeights; |
170 |
+ |
MVATools fTool; |
171 |
+ |
|
172 |
|
bool fPVFromBranch; |
173 |
|
Bool_t fGoodElectronsFromBranch; |
174 |
|
Bool_t fIsData; |