32 |
|
kZeeId, //"ZeeId" |
33 |
|
kCustomIdLoose, //"CustomLoose" |
34 |
|
kCustomIdTight, //"CustomTight" |
35 |
+ |
kVBTFWorkingPointFakeableId, |
36 |
|
kVBTFWorkingPoint95Id, |
37 |
|
kVBTFWorkingPoint90Id, |
38 |
|
kVBTFWorkingPoint85Id, |
39 |
|
kVBTFWorkingPoint80Id, |
40 |
+ |
kVBTFWorkingPointLowPtId, |
41 |
|
kVBTFWorkingPoint70Id |
42 |
|
}; |
43 |
|
|
44 |
|
enum EElIsoType { |
45 |
< |
kIsoUndef = 0, //not defined |
46 |
< |
kTrackCalo, //"TrackCalo" |
47 |
< |
kTrackJura, //"TrackJura" |
48 |
< |
kTrackJuraCombined, //"TrackJuraCombined" |
49 |
< |
kTrackJuraSliding, //"TrackJuraSliding" |
50 |
< |
kNoIso, //"NoIso" |
51 |
< |
kZeeIso, //"ZeeIso" |
52 |
< |
kCustomIso, //"Custom" |
45 |
> |
kIsoUndef = 0, //"not defined" |
46 |
> |
kTrackCalo, //"TrackCalo" |
47 |
> |
kTrackJura, //"TrackJura" |
48 |
> |
kTrackJuraCombined, //"TrackJuraCombined" |
49 |
> |
kTrackJuraSliding, //"TrackJuraSliding" |
50 |
> |
kTrackJuraSlidingNoCorrection, //"TrackJuraSlidingNoCorrection" |
51 |
> |
kNoIso, //"NoIso" |
52 |
> |
kPFIso, //"PFIso" |
53 |
> |
kPFIsoNoL, //"PFIsoNoL" |
54 |
> |
kZeeIso, //"ZeeIso" |
55 |
> |
kCustomIso, //"Custom" |
56 |
|
kVBTFWorkingPoint95Iso, |
57 |
|
kVBTFWorkingPoint90Iso, |
58 |
|
kVBTFWorkingPoint85Iso, |
62 |
|
|
63 |
|
static Bool_t PassChargeFilter(const Electron *el); |
64 |
|
static Bool_t PassConversionFilter(const Electron *el, const DecayParticleCol *conversions, |
65 |
< |
Bool_t WrongHitsRequirement ); |
65 |
> |
const BaseVertex *vtx, UInt_t nWrongHitsMax=0, Double_t probMin=1e-6, |
66 |
> |
Double_t lxyMin = 2.0, Bool_t matchCkf = kTRUE, Bool_t requireArbitratedMerged = kFALSE, Double_t trkptMin = -99.); |
67 |
|
static Bool_t PassCustomID(const Electron *el, EElIdType idType); |
68 |
|
static Bool_t PassCustomIso(const Electron *el, EElIsoType isoType, |
69 |
|
Bool_t useCombineIso = kTRUE); |
70 |
< |
static Bool_t PassD0Cut(const Electron *el, const VertexCol *vertices, Double_t fD0Cut); |
70 |
> |
static Bool_t PassD0Cut(const Electron *el, const VertexCol *vertices, Double_t fD0Cut, Int_t nVertex = 0); |
71 |
|
static Bool_t PassD0Cut(const Electron *el, const BeamSpotCol *beamspots, Double_t fD0Cut); |
72 |
+ |
static Bool_t PassDZCut(const Electron *el, const VertexCol *vertices, Double_t fDZCut, Int_t nVertex = 0); |
73 |
|
static Bool_t PassSpikeRemovalFilter(const Electron *ele); |
74 |
|
static Bool_t PassTriggerMatching(const Electron *ele, const TriggerObjectCol *trigobjs); |
75 |
|
static Int_t Classify(const Electron *ele); |
76 |
|
static Int_t PassTightId(const Electron *ele, const VertexCol *vertices, |
77 |
< |
const DecayParticleCol *conversions, const Int_t typeCuts); |
77 |
> |
const DecayParticleCol *conversions, const Int_t typeCuts, |
78 |
> |
Double_t beta = 1.0); |
79 |
|
static bool compute_cut(double x, double et, double cut_min, double cut_max, bool gtn=false); |
80 |
|
|
81 |
|
ClassDef(ElectronTools, 0) // Muon tools |