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; } |
55 |
|
|
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(); |
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 |
|
} |