19 |
|
#include "MitAna/DataTree/interface/PileupEnergyDensityCol.h" |
20 |
|
#include "MitAna/DataTree/interface/DecayParticleCol.h" |
21 |
|
#include "MitAna/DataTree/interface/ElectronCol.h" |
22 |
+ |
#include "MitAna/DataTree/interface/VertexCol.h" |
23 |
|
|
24 |
|
namespace mithep |
25 |
|
{ |
64 |
|
void SetEtaWidthEE(Double_t x) { fEtaWidthEE = x; } |
65 |
|
void SetAbsEtaMax(Double_t x) { fAbsEtaMax = x; } |
66 |
|
void SetApplyR9Min(Bool_t b) { fApplyR9Min = b; } |
67 |
+ |
void SetApplyFiduciality(Bool_t b) { fFiduciality = b; } |
68 |
|
void SetEffAreas(Double_t ecal, Double_t hcal, Double_t track) { |
69 |
< |
fEffAreaEcal = ecal; fEffAreaHcal = hcal; fEffAreaTrack = track;} |
69 |
> |
fEffAreaEcalEE = ecal; fEffAreaHcalEE = hcal; fEffAreaTrackEE = track; |
70 |
> |
fEffAreaEcalEB = ecal; fEffAreaHcalEB = hcal; fEffAreaTrackEB = track; |
71 |
> |
} |
72 |
> |
void SetEffAreasEEEB(Double_t ecalEE, Double_t hcalEE, Double_t trackEE, |
73 |
> |
Double_t ecalEB, Double_t hcalEB, Double_t trackEB) { |
74 |
> |
fEffAreaEcalEE = ecalEE; fEffAreaHcalEE = hcalEE; fEffAreaTrackEE = trackEE; |
75 |
> |
fEffAreaEcalEB = ecalEB; fEffAreaHcalEB = hcalEB; fEffAreaTrackEB = trackEB; |
76 |
> |
} |
77 |
|
void SetTriggerObjectsName(const char *n) { fTrigObjectsName = n; } |
69 |
– |
|
70 |
– |
|
78 |
|
|
79 |
+ |
void SetPVName(const char *n) { fPVName = n; } |
80 |
+ |
void SetPVFromBranch(bool b) { fPVFromBranch = b; } |
81 |
+ |
|
82 |
|
enum EPhIdType { |
83 |
|
kIdUndef = 0, //not defined |
84 |
|
kTight, //"Tight" |
85 |
|
kLoose, //"Loose" |
86 |
|
kLooseEM, //"LooseEM" |
87 |
+ |
kBaseLineCiC, //"2011" Hgg BaseLine CiC |
88 |
|
kCustomId //"Custom" |
89 |
|
}; |
90 |
+ |
|
91 |
|
enum EPhIsoType { |
92 |
|
kIsoUndef = 0, //not defined |
93 |
|
kNoIso, //"NoIso" |
107 |
|
TString fPileUpDenName; //name of the PU density collection |
108 |
|
TString fConversionName; //name of conversion branch |
109 |
|
TString fElectronName; |
110 |
< |
TString fTrigObjectsName; //name of trigger object collection |
110 |
> |
TString fTrigObjectsName; //name of trigger object collection |
111 |
> |
TString fPVName; |
112 |
|
TString fPhotonIDType; //type of photon identification we impose |
113 |
|
TString fPhotonIsoType; //type of photon isolation we impose |
114 |
|
Double_t fPhotonPtMin; //min pt cut |
127 |
|
Double_t fEtaWidthEE; //max Eta Width in ECAL End Cap |
128 |
|
Double_t fAbsEtaMax; //max Abs Eta |
129 |
|
Bool_t fApplyR9Min; //apply R9 min |
130 |
< |
Double_t fEffAreaEcal; |
131 |
< |
Double_t fEffAreaHcal; |
132 |
< |
Double_t fEffAreaTrack; |
130 |
> |
Double_t fEffAreaEcalEE; |
131 |
> |
Double_t fEffAreaHcalEE; |
132 |
> |
Double_t fEffAreaTrackEE; |
133 |
> |
Double_t fEffAreaEcalEB; |
134 |
> |
Double_t fEffAreaHcalEB; |
135 |
> |
Double_t fEffAreaTrackEB; |
136 |
|
const PhotonCol *fPhotons; //!photon branch |
137 |
|
const TrackCol *fTracks; //!track branch |
138 |
|
const BeamSpotCol *fBeamspots; //!beamspot branch |
139 |
|
const PileupEnergyDensityCol *fPileUpDen; //!rho branch |
140 |
|
const DecayParticleCol *fConversions; //!conversion branch |
141 |
|
const ElectronCol *fElectrons; //!electron branch |
142 |
< |
|
142 |
> |
const VertexCol* fPV; |
143 |
> |
bool fPVFromBranch; |
144 |
|
|
145 |
|
ClassDef(PhotonIDMod, 1) // Photon identification module |
146 |
|
}; |