20 |
|
#include "FWCore/ServiceRegistry/interface/Service.h" |
21 |
|
|
22 |
|
#include "DataFormats/HeavyIonEvent/interface/CentralityProvider.h" |
23 |
+ |
#include "Geometry/CaloGeometry/interface/CaloGeometry.h" |
24 |
|
|
25 |
|
#include "DataFormats/PatCandidates/interface/Jet.h" |
26 |
|
#include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h" |
68 |
|
|
69 |
|
void saveDaughters( const reco::GenParticle & gen); |
70 |
|
void saveDaughters( const reco::Candidate & gen); |
71 |
+ |
double getEt(math::XYZPoint pos, double energy); |
72 |
+ |
math::XYZPoint getPosition(const DetId &id, reco::Vertex::Point vtx = reco::Vertex::Point(0,0,0)); |
73 |
|
|
74 |
< |
edm::InputTag jetTag_, vtxTag_, genjetTag_, eventInfoTag_, L1gtReadout_, pfCandidateLabel_; |
74 |
> |
edm::InputTag jetTag_, vtxTag_, genjetTag_, eventInfoTag_, L1gtReadout_, pfCandidateLabel_, trackTag_, matchTag_; |
75 |
> |
edm::InputTag HcalRecHitHFSrc_; |
76 |
> |
edm::InputTag HcalRecHitHBHESrc_; |
77 |
> |
edm::InputTag EBSrc_; |
78 |
> |
edm::InputTag EESrc_; |
79 |
> |
edm::InputTag genParticleSrc_; |
80 |
|
|
81 |
|
std::vector<float> usedStringPts; |
82 |
|
|
88 |
|
bool useJEC_; |
89 |
|
bool usePat_; |
90 |
|
bool isMC_; |
91 |
+ |
bool fillGenJets_; |
92 |
|
bool doTrigger_; |
93 |
+ |
bool useQuality_; |
94 |
+ |
std::string trackQuality_; |
95 |
|
|
96 |
|
bool doSubEvent_; |
97 |
|
double genPtMin_; |
98 |
|
bool doLifeTimeTagging_; |
99 |
|
bool doLifeTimeTaggingExtras_; |
100 |
|
bool saveBfragments_; |
101 |
+ |
bool skipCorrections_; |
102 |
+ |
|
103 |
+ |
double rParam; |
104 |
+ |
double hardPtMin_; |
105 |
+ |
double jetPtMin_; |
106 |
|
|
107 |
|
TTree *t; |
108 |
|
edm::Service<TFileService> fs1; |
109 |
|
|
110 |
|
CentralityProvider * centrality_; |
111 |
< |
|
96 |
< |
|
111 |
> |
const CaloGeometry *geo; |
112 |
|
|
113 |
|
std::string hltResName_; //HLT trigger results name |
114 |
|
std::vector<std::string> hltProcNames_; //HLT process name(s) |
143 |
|
float jtphi[MAXJETS]; |
144 |
|
float jty[MAXJETS]; |
145 |
|
float jtpu[MAXJETS]; |
146 |
+ |
float jtm[MAXJETS]; |
147 |
+ |
|
148 |
+ |
float trackMax[MAXJETS]; |
149 |
+ |
float trackSum[MAXJETS]; |
150 |
+ |
int trackN[MAXJETS]; |
151 |
+ |
|
152 |
+ |
float chargedMax[MAXJETS]; |
153 |
+ |
float chargedSum[MAXJETS]; |
154 |
+ |
int chargedN[MAXJETS]; |
155 |
+ |
|
156 |
+ |
float photonMax[MAXJETS]; |
157 |
+ |
float photonSum[MAXJETS]; |
158 |
+ |
int photonN[MAXJETS]; |
159 |
+ |
|
160 |
+ |
float trackHardSum[MAXJETS]; |
161 |
+ |
float chargedHardSum[MAXJETS]; |
162 |
+ |
float photonHardSum[MAXJETS]; |
163 |
+ |
|
164 |
+ |
int trackHardN[MAXJETS]; |
165 |
+ |
int chargedHardN[MAXJETS]; |
166 |
+ |
int photonHardN[MAXJETS]; |
167 |
+ |
|
168 |
+ |
float neutralMax[MAXJETS]; |
169 |
+ |
float neutralSum[MAXJETS]; |
170 |
+ |
int neutralN[MAXJETS]; |
171 |
+ |
|
172 |
+ |
float eMax[MAXJETS]; |
173 |
+ |
float eSum[MAXJETS]; |
174 |
+ |
int eN[MAXJETS]; |
175 |
+ |
|
176 |
+ |
float muMax[MAXJETS]; |
177 |
+ |
float muSum[MAXJETS]; |
178 |
+ |
int muN[MAXJETS]; |
179 |
+ |
|
180 |
+ |
float genChargedSum[MAXJETS]; |
181 |
+ |
float genHardSum[MAXJETS]; |
182 |
+ |
float signalChargedSum[MAXJETS]; |
183 |
+ |
float signalHardSum[MAXJETS]; |
184 |
+ |
|
185 |
+ |
float hcalSum[MAXJETS]; |
186 |
+ |
float ecalSum[MAXJETS]; |
187 |
+ |
|
188 |
+ |
|
189 |
+ |
float fHPD[MAXJETS]; |
190 |
+ |
float fRBX[MAXJETS]; |
191 |
+ |
int n90Hits[MAXJETS]; |
192 |
+ |
float fSubDet1[MAXJETS]; |
193 |
+ |
float fSubDet2[MAXJETS]; |
194 |
+ |
float fSubDet3[MAXJETS]; |
195 |
+ |
float fSubDet4[MAXJETS]; |
196 |
+ |
float restrictedEMF[MAXJETS]; |
197 |
+ |
int nHCAL[MAXJETS]; |
198 |
+ |
int nECAL[MAXJETS]; |
199 |
+ |
float apprHPD[MAXJETS]; |
200 |
+ |
float apprRBX[MAXJETS]; |
201 |
+ |
|
202 |
+ |
int n90[MAXJETS]; |
203 |
+ |
int n2RPC[MAXJETS]; |
204 |
+ |
int n3RPC[MAXJETS]; |
205 |
+ |
int nRPC[MAXJETS]; |
206 |
+ |
|
207 |
+ |
float fEB[MAXJETS]; |
208 |
+ |
float fEE[MAXJETS]; |
209 |
+ |
float fHB[MAXJETS]; |
210 |
+ |
float fHE[MAXJETS]; |
211 |
+ |
float fHO[MAXJETS]; |
212 |
+ |
float fLong[MAXJETS]; |
213 |
+ |
float fShort[MAXJETS]; |
214 |
+ |
float fLS[MAXJETS]; |
215 |
+ |
float fHFOOT[MAXJETS]; |
216 |
+ |
|
217 |
+ |
|
218 |
+ |
int subid[MAXJETS]; |
219 |
+ |
|
220 |
+ |
float matchedPt[MAXJETS]; |
221 |
+ |
float matchedRawPt[MAXJETS]; |
222 |
+ |
float matchedR[MAXJETS]; |
223 |
|
|
224 |
|
float discr_csvMva[MAXJETS]; |
225 |
|
float discr_csvSimple[MAXJETS]; |