41 |
|
#include "JetMETCorrections/Objects/interface/JetCorrectionsRecord.h" |
42 |
|
#include "CondFormats/JetMETObjects/interface/JetCorrectionUncertainty.h" |
43 |
|
#include "CondFormats/JetMETObjects/interface/JetCorrectorParameters.h" |
44 |
+ |
#include "RecoEgamma/EgammaTools/interface/ConversionTools.h" |
45 |
+ |
#include "DataFormats/Luminosity/interface/LumiSummary.h" |
46 |
|
|
47 |
< |
#include "UHHAnalysis/NtupleWriter/interface/Objects.h" |
47 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/Particle.h" |
48 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/Jet.h" |
49 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/Electron.h" |
50 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/Muon.h" |
51 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/Tau.h" |
52 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/Photon.h" |
53 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/MET.h" |
54 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/PrimaryVertex.h" |
55 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/TopJet.h" |
56 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/GenInfo.h" |
57 |
> |
#include "UHHAnalysis/NtupleWriter/Objects/GenParticle.h" |
58 |
|
|
59 |
|
// |
60 |
|
// class declaration |
72 |
|
|
73 |
|
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions); |
74 |
|
|
63 |
– |
|
75 |
|
private: |
76 |
|
virtual void beginJob() ; |
77 |
|
virtual void analyze(const edm::Event&, const edm::EventSetup&); |
91 |
|
bool doMuons; |
92 |
|
bool doTaus; |
93 |
|
bool doJets; |
94 |
+ |
bool doJECUncertainty; |
95 |
|
bool doTopJets; |
96 |
+ |
bool doGenTopJets; |
97 |
|
bool doMET; |
98 |
|
bool doPhotons; |
99 |
|
bool doGenInfo; |
100 |
+ |
bool doAllGenParticles; |
101 |
+ |
bool doLumiInfo; |
102 |
|
bool doPV; |
103 |
+ |
bool doTrigger; |
104 |
|
|
105 |
|
int run; |
106 |
|
int luminosityBlock; |
107 |
|
int event; |
108 |
|
bool isRealData; |
109 |
< |
bool HBHENoiseFilterResult; |
109 |
> |
//bool HBHENoiseFilterResult; |
110 |
> |
float rho; |
111 |
> |
|
112 |
> |
float intgDelLumi; |
113 |
> |
float intgRecLumi; |
114 |
> |
float totalDelLumi; |
115 |
> |
float totalRecLumi; |
116 |
> |
|
117 |
> |
edm::InputTag rho_source; |
118 |
|
|
119 |
|
std::vector<std::string> electron_sources; |
120 |
|
std::vector<Electron> eles[Nmax]; |
137 |
|
double topjet_ptmin; |
138 |
|
double topjet_etamax; |
139 |
|
|
140 |
+ |
std::vector<std::string> gentopjet_sources; |
141 |
+ |
std::vector<TopJet> gentopjets[Nmax]; |
142 |
+ |
double gentopjet_ptmin; |
143 |
+ |
double gentopjet_etamax; |
144 |
+ |
|
145 |
|
std::vector<std::string> photon_sources; |
146 |
|
std::vector<Photon> phs[Nmax]; |
147 |
|
|
162 |
|
//std::map<std::string, bool> triggerResults; |
163 |
|
std::vector<std::string> triggerNames; |
164 |
|
std::vector<bool> triggerResults; |
165 |
< |
std::vector<int> L1_prescale; |
166 |
< |
std::vector<int> HLT_prescale; |
165 |
> |
/* std::vector<int> L1_prescale; */ |
166 |
> |
/* std::vector<int> HLT_prescale; */ |
167 |
|
|
168 |
< |
HLTConfigProvider hlt_cfg; |
168 |
> |
//HLTConfigProvider hlt_cfg; |
169 |
|
bool newrun; |
170 |
+ |
bool previouslumiblockwasfilled; |
171 |
|
|
172 |
|
JetCorrectionUncertainty *jecUnc; |
173 |
|
}; |