ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitPhysics/Utils/interface/ElectronTools.h
(Generate patch)

Comparing UserCode/MitPhysics/Utils/interface/ElectronTools.h (file contents):
Revision 1.4 by ceballos, Thu May 27 07:59:13 2010 UTC vs.
Revision 1.9 by bendavid, Mon Feb 21 04:06:33 2011 UTC

# Line 15 | Line 15
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 {
# Line 56 | Line 57 | namespace mithep {
57  
58        static Bool_t       PassChargeFilter(const Electron *el);
59        static Bool_t       PassConversionFilter(const Electron *el, const DecayParticleCol *conversions,
60 <                                               Bool_t WrongHitsRequirement );
60 >                                               const BaseVertex *vtx, UInt_t nWrongHitsMax=1, Double_t probMin=1e-6,
61 >                                               Double_t lxyMin = 2.0, Bool_t matchCkf = kFALSE, Bool_t requireArbitratedMerged = kTRUE);
62        static Bool_t       PassCustomID(const Electron *el, EElIdType idType);
63        static Bool_t       PassCustomIso(const Electron *el, EElIsoType isoType,
64                                          Bool_t useCombineIso = kTRUE);
65 <      static Bool_t       PassD0Cut(const Electron *el, const VertexCol *vertices,
66 <                                    Double_t fD0Cut, Bool_t fReverseD0Cut);
65 <      static Bool_t       PassD0Cut(const Electron *el, const BeamSpotCol *beamspots,
66 <                                    Double_t fD0Cut, Bool_t fReverseD0Cut);
65 >      static Bool_t       PassD0Cut(const Electron *el, const VertexCol *vertices, Double_t fD0Cut);
66 >      static Bool_t       PassD0Cut(const Electron *el, const BeamSpotCol *beamspots, Double_t fD0Cut);
67        static Bool_t       PassSpikeRemovalFilter(const Electron *ele);
68 +      static Bool_t       PassTriggerMatching(const Electron *ele, const TriggerObjectCol *trigobjs);
69        static Int_t        Classify(const Electron *ele);
70        static Int_t        PassTightId(const Electron *ele, const VertexCol *vertices,
71                                        const DecayParticleCol *conversions, const Int_t typeCuts);
72 +      static bool         compute_cut(double x, double et, double cut_min, double cut_max, bool gtn=false);
73  
74      ClassDef(ElectronTools, 0) // Muon tools
75    };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines