20 |
|
#include "MitAna/DataTree/interface/PileupEnergyDensityCol.h" |
21 |
|
#include "MitAna/DataTree/interface/DecayParticleCol.h" |
22 |
|
#include "MitAna/DataTree/interface/ElectronCol.h" |
23 |
+ |
#include "MitAna/DataTree/interface/DecayParticleCol.h" |
24 |
+ |
#include "MitAna/DataTree/interface/PileupInfoCol.h" |
25 |
+ |
#include "MitAna/DataTree/interface/MCParticleCol.h" |
26 |
+ |
|
27 |
+ |
class TNtuple; |
28 |
+ |
class TRandom3; |
29 |
|
|
30 |
|
namespace mithep |
31 |
|
{ |
35 |
|
PhotonCiCMod(const char *name="PhotonCiCMod", |
36 |
|
const char *title="Photon identification module"); |
37 |
|
|
38 |
+ |
~PhotonCiCMod(); |
39 |
+ |
|
40 |
|
Bool_t GetApplySpikeRemoval() const { return fApplySpikeRemoval; } |
41 |
|
const char *GetGoodName() const { return GetGoodPhotonsName(); } |
42 |
|
const char *GetGoodPhotonsName() const { return fGoodPhotonsName; } |
53 |
|
void SetPtMin(Double_t pt) { fPhotonPtMin = pt; } |
54 |
|
void SetAbsEtaMax(Double_t x) { fAbsEtaMax = x; } |
55 |
|
|
56 |
< |
void SetPVName (TString s) {fPVName = s; fPVFromBranch = false;}; |
56 |
> |
void SetPVName (TString s) {fPVName = s; fPVFromBranch = false;}; |
57 |
> |
|
58 |
> |
void SetIsData (Bool_t b) { fIsData = b;}; |
59 |
> |
|
60 |
> |
double findHiggsPt(); |
61 |
|
|
62 |
|
protected: |
63 |
|
void Process(); |
64 |
|
void SlaveBegin(); |
65 |
+ |
unsigned int findBestVertex(Photon* ph1, Photon* ph2, const BaseVertex* bsp, bool print=false); |
66 |
|
|
67 |
|
TString fPhotonBranchName; //name of photon collection (input) |
68 |
|
TString fGoodPhotonsName; //name of exported "good photon" collection |
81 |
|
const VertexCol *fPV; |
82 |
|
Bool_t fPVFromBranch; |
83 |
|
|
84 |
+ |
const DecayParticleCol *fConversions; |
85 |
+ |
TString fConversionName; |
86 |
+ |
|
87 |
+ |
const BeamSpotCol *fBeamspot; |
88 |
+ |
|
89 |
+ |
Double_t fDataEnCorr_EB_hR9; |
90 |
+ |
Double_t fDataEnCorr_EB_lR9; |
91 |
+ |
Double_t fDataEnCorr_EE_hR9; |
92 |
+ |
Double_t fDataEnCorr_EE_lR9; |
93 |
+ |
|
94 |
+ |
Double_t fMCSmear_EB_hR9; |
95 |
+ |
Double_t fMCSmear_EB_lR9; |
96 |
+ |
Double_t fMCSmear_EE_hR9; |
97 |
+ |
Double_t fMCSmear_EE_lR9; |
98 |
+ |
|
99 |
+ |
Bool_t fIsData; |
100 |
+ |
|
101 |
+ |
TNtuple* hCiCTuple; |
102 |
+ |
|
103 |
+ |
TRandom3* rng; |
104 |
+ |
|
105 |
+ |
TString fMCParticleName; |
106 |
+ |
const MCParticleCol* fMCParticles; |
107 |
+ |
|
108 |
+ |
TString fPileUpName; |
109 |
+ |
const PileupInfoCol *fPileUp; |
110 |
+ |
|
111 |
|
ClassDef(PhotonCiCMod, 1) // Photon identification module |
112 |
|
}; |
113 |
|
} |