26 |
|
#include "MitAna/DataTree/interface/SuperClusterCol.h" |
27 |
|
#include "MitCommon/MathTools/interface/MathUtils.h" |
28 |
|
|
29 |
+ |
#include "MitAna/DataTree/interface/PFCandidateCol.h" |
30 |
+ |
|
31 |
|
class TRandom3; |
32 |
|
|
33 |
|
namespace mithep { |
71 |
|
}; |
72 |
|
|
73 |
|
enum eScaleCats { |
74 |
< |
kEBlowEtaGold = 0, |
74 |
> |
kEBlowEtaGoldCenter = 0, |
75 |
> |
kEBlowEtaGoldGap, |
76 |
|
kEBlowEtaBad, |
77 |
|
kEBhighEtaGold, |
78 |
|
kEBhighEtaBad, |
92 |
|
static void ScalePhotonR9(Photon *p, Double_t scale); |
93 |
|
static void ScalePhotonError(Photon *p, Double_t scale); |
94 |
|
|
95 |
< |
|
95 |
> |
static Bool_t PassSinglePhotonPresel(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol, const Vertex *vtx, double rho, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE); |
96 |
> |
static Bool_t PassSinglePhotonPreselPFISO(const Photon *p,const ElectronCol *els, const DecayParticleCol *conversions, const BaseVertex *bs, const TrackCol* trackCol,const Vertex *vtx, double rho, const PFCandidateCol *fPFCands, Bool_t applyElectronVeto = kTRUE, Bool_t invertElectronVeto = kFALSE); |
97 |
|
static Bool_t PassConversionId(const Photon *p, const DecayParticle *c); |
98 |
|
static Bool_t PassElectronVeto(const Photon *p, const ElectronCol *els); |
99 |
|
static Double_t ElectronVetoCiC(const Photon *p, const ElectronCol *els); |
121 |
|
static const Electron *MatchedElectron(const Photon *p, const ElectronCol *els); |
122 |
|
static const Photon *MatchedPhoton(const Electron *e, const PhotonCol *phs); |
123 |
|
static const SuperCluster *MatchedSC(const SuperCluster *psc, const SuperClusterCol *scs, Double_t drMin=0.3); |
124 |
< |
|
124 |
> |
|
125 |
> |
static const SuperCluster *MatchedPFSC(const SuperCluster *psc, const PhotonCol *pfphos, const ElectronCol *eles, Double_t drMin=0.1); |
126 |
> |
|
127 |
|
static bool PassCiCSelection(const Photon* ph, |
128 |
|
const Vertex* vtx, |
129 |
|
const TrackCol* trackCol, |
135 |
|
|
136 |
|
|
137 |
|
static const MCParticle *MatchMC(const Particle *ph, const MCParticleCol *c, Bool_t matchElectrons = kFALSE); |
132 |
– |
|
138 |
|
ClassDef(PhotonTools, 0) // Muon tools |
139 |
|
}; |
140 |
|
} |