82 |
|
kEEhighEtaBad |
83 |
|
}; |
84 |
|
|
85 |
+ |
enum ShowerShapeScales { |
86 |
+ |
kNoShowerShapeScaling = 0, |
87 |
+ |
k2011ShowerShape, |
88 |
+ |
k2012ShowerShape |
89 |
+ |
}; |
90 |
|
|
91 |
|
static eScaleCats EScaleCat(const Photon *p); |
92 |
|
|
97 |
|
static void ScalePhotonR9(Photon *p, Double_t scale); |
98 |
|
static void ScalePhotonError(Photon *p, Double_t scale); |
99 |
|
|
100 |
+ |
static void ScalePhotonShowerShapes(Photon *p, ShowerShapeScales scale); |
101 |
+ |
|
102 |
+ |
|
103 |
|
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); |
104 |
|
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); |
105 |
|
static Bool_t PassConversionId(const Photon *p, const DecayParticle *c); |