27 |
|
|
28 |
|
#include "MitPhysics/Utils/interface/MVATools.h" |
29 |
|
#include "MitPhysics/Utils/interface/PhotonTools.h" |
30 |
+ |
#include "MitPhysics/Utils/interface/RhoUtilities.h" |
31 |
|
|
32 |
|
class TRandom3; |
33 |
|
|
162 |
|
void SetDoMCErrScaling(Bool_t b) { fDoMCErrScaling = b; } |
163 |
|
void SetMCErrScale(Double_t ebscale, Double_t eescale) { fMCErrScaleEB = ebscale; fMCErrScaleEE = eescale; } |
164 |
|
|
165 |
+ |
void SetIdMVAType(const char *type) { fIdMVATypeName = type; } |
166 |
+ |
|
167 |
+ |
void SetRhoType(RhoUtilities::RhoType type) { fRhoType = type ; } |
168 |
+ |
|
169 |
|
enum EPhIdType { |
170 |
|
kIdUndef = 0, //not defined |
171 |
|
kTight, //"Tight" |
176 |
|
kMITMVAId, // MingMing MVA ID |
177 |
|
kMITPhSelection, //MIT loose preselection (for mva) |
178 |
|
kMITPFPhSelection, //MIT loose preselection (for mva) |
179 |
+ |
kMITPFPhSelection_NoTrigger, //MIT loose preselection (for mva, no Trigger) |
180 |
|
kVgamma2011Selection, // Vgamma 2011 Photon ID |
181 |
+ |
kTrivialSelection, // only pt & eta cuts |
182 |
|
kCustomId //"Custom" |
183 |
|
}; |
184 |
|
|
251 |
|
|
252 |
|
Double_t fbdtCutBarrel; |
253 |
|
Double_t fbdtCutEndcap; |
254 |
+ |
|
255 |
+ |
// ---------------------------------------------------------------- |
256 |
+ |
// these guys should go away.... (let MVATools handle this) (fab) |
257 |
|
int fVariableType; |
258 |
|
TString fEndcapWeights; |
259 |
|
TString fBarrelWeights; |
260 |
+ |
// ---------------------------------------------------------------- |
261 |
|
MVATools fTool; |
262 |
+ |
TString fIdMVATypeName; |
263 |
+ |
MVATools::IdMVAType fIdMVAType; |
264 |
+ |
// ---------------------------------------------------------------- |
265 |
|
|
266 |
|
Bool_t fDoMCR9Scaling; |
267 |
|
Double_t fMCR9ScaleEB; |
315 |
|
|
316 |
|
TRandom3* fRng; |
317 |
|
|
318 |
+ |
RhoUtilities::RhoType fRhoType; |
319 |
|
|
320 |
|
ClassDef(PhotonIDMod, 1) // Photon identification module |
321 |
|
}; |