15 |
|
#include "MitAna/DataTree/interface/DecayParticleCol.h" |
16 |
|
#include "MitAna/DataTree/interface/VertexCol.h" |
17 |
|
#include "MitAna/DataTree/interface/BeamSpotCol.h" |
18 |
+ |
#include "MitAna/DataTree/interface/TriggerObjectCol.h" |
19 |
|
#include "MitCommon/MathTools/interface/MathUtils.h" |
20 |
|
|
21 |
|
namespace mithep { |
61 |
|
static Bool_t PassCustomID(const Electron *el, EElIdType idType); |
62 |
|
static Bool_t PassCustomIso(const Electron *el, EElIsoType isoType, |
63 |
|
Bool_t useCombineIso = kTRUE); |
64 |
< |
static Bool_t PassD0Cut(const Electron *el, const VertexCol *vertices, |
65 |
< |
Double_t fD0Cut, Bool_t fReverseD0Cut); |
65 |
< |
static Bool_t PassD0Cut(const Electron *el, const BeamSpotCol *beamspots, |
66 |
< |
Double_t fD0Cut, Bool_t fReverseD0Cut); |
64 |
> |
static Bool_t PassD0Cut(const Electron *el, const VertexCol *vertices, Double_t fD0Cut); |
65 |
> |
static Bool_t PassD0Cut(const Electron *el, const BeamSpotCol *beamspots, Double_t fD0Cut); |
66 |
|
static Bool_t PassSpikeRemovalFilter(const Electron *ele); |
67 |
+ |
static Bool_t PassTriggerMatching(const Electron *ele, const TriggerObjectCol *trigobjs); |
68 |
|
static Int_t Classify(const Electron *ele); |
69 |
|
static Int_t PassTightId(const Electron *ele, const VertexCol *vertices, |
70 |
|
const DecayParticleCol *conversions, const Int_t typeCuts); |
71 |
+ |
static bool compute_cut(double x, double et, double cut_min, double cut_max, bool gtn=false); |
72 |
|
|
73 |
|
ClassDef(ElectronTools, 0) // Muon tools |
74 |
|
}; |