CMS 3D CMS Logo

IsolatedGenParticles.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: IsolatedGenParticles
4 // Class: IsolatedGenParticles
5 //
13 //
14 // Original Author: Seema Sharma
15 // Created: Tue Oct 27 09:46:41 CDT 2009
16 //
17 //
18 
22 
25 
33 //L1 objects
46 
49 
57 //TFile Service
60 
67 
70 
72 
76 // track associator
78 
79 // root objects
80 #include "TROOT.h"
81 #include "TSystem.h"
82 #include "TFile.h"
83 #include "TH1I.h"
84 #include "TH2D.h"
85 #include "TProfile.h"
86 #include "TDirectory.h"
87 #include "TTree.h"
88 
89 #include <cmath>
90 #include <iostream>
91 #include <iomanip>
92 #include <list>
93 #include <vector>
94 
95 namespace {
96  class ParticlePtGreater {
97  public:
98  int operator()(const HepMC::GenParticle *p1, const HepMC::GenParticle *p2) const {
99  return p1->momentum().perp() > p2->momentum().perp();
100  }
101  };
102 
103  class ParticlePGreater {
104  public:
105  int operator()(const HepMC::GenParticle *p1, const HepMC::GenParticle *p2) const {
106  return p1->momentum().rho() > p2->momentum().rho();
107  }
108  };
109 } // namespace
110 
111 class IsolatedGenParticles : public edm::one::EDAnalyzer<edm::one::SharedResources> {
112 public:
113  explicit IsolatedGenParticles(const edm::ParameterSet &);
114  ~IsolatedGenParticles() override {}
115 
116  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
117 
118 private:
119  void beginJob() override;
120  void analyze(const edm::Event &, const edm::EventSetup &) override;
121  void endJob() override {}
122 
123  void fillTrack(
124  GlobalPoint &posVec, math::XYZTLorentzVector &momVec, GlobalPoint &posECAL, int pdgId, bool okECAL, bool accpet);
125  void fillIsolatedTrack(math::XYZTLorentzVector &momVec, GlobalPoint &posECAL, int pdgId);
126  void bookHistograms();
127  void clearTreeVectors();
128  int particleCode(int);
129 
130  static constexpr int NPBins_ = 3;
131  static constexpr int NEtaBins_ = 4;
132  static constexpr int PBins_ = 32, EtaBins_ = 60, Particles = 12;
138 
141 
143  static const size_t nL1BitsMax_ = 128;
148 
157 
161 
162  TTree *tree_;
163 
164  std::vector<double> *t_isoTrkPAll;
165  std::vector<double> *t_isoTrkPtAll;
166  std::vector<double> *t_isoTrkPhiAll;
167  std::vector<double> *t_isoTrkEtaAll;
168  std::vector<double> *t_isoTrkPdgIdAll;
169  std::vector<double> *t_isoTrkDEtaAll;
170  std::vector<double> *t_isoTrkDPhiAll;
171 
172  std::vector<double> *t_isoTrkP;
173  std::vector<double> *t_isoTrkPt;
174  std::vector<double> *t_isoTrkEne;
175  std::vector<double> *t_isoTrkEta;
176  std::vector<double> *t_isoTrkPhi;
177  std::vector<double> *t_isoTrkEtaEC;
178  std::vector<double> *t_isoTrkPhiEC;
179  std::vector<double> *t_isoTrkPdgId;
180 
181  std::vector<double> *t_maxNearP31x31;
183  std::vector<double> *t_nHadronEne31x31;
184  std::vector<double> *t_photonEne31x31;
185  std::vector<double> *t_eleEne31x31;
186  std::vector<double> *t_muEne31x31;
187 
188  std::vector<double> *t_maxNearP25x25;
190  std::vector<double> *t_nHadronEne25x25;
191  std::vector<double> *t_photonEne25x25;
192  std::vector<double> *t_eleEne25x25;
193  std::vector<double> *t_muEne25x25;
194 
195  std::vector<double> *t_maxNearP21x21;
197  std::vector<double> *t_nHadronEne21x21;
198  std::vector<double> *t_photonEne21x21;
199  std::vector<double> *t_eleEne21x21;
200  std::vector<double> *t_muEne21x21;
201 
202  std::vector<double> *t_maxNearP15x15;
204  std::vector<double> *t_nHadronEne15x15;
205  std::vector<double> *t_photonEne15x15;
206  std::vector<double> *t_eleEne15x15;
207  std::vector<double> *t_muEne15x15;
208 
209  std::vector<double> *t_maxNearP11x11;
211  std::vector<double> *t_nHadronEne11x11;
212  std::vector<double> *t_photonEne11x11;
213  std::vector<double> *t_eleEne11x11;
214  std::vector<double> *t_muEne11x11;
215 
216  std::vector<double> *t_maxNearP9x9;
218  std::vector<double> *t_nHadronEne9x9;
219  std::vector<double> *t_photonEne9x9;
220  std::vector<double> *t_eleEne9x9;
221  std::vector<double> *t_muEne9x9;
222 
223  std::vector<double> *t_maxNearP7x7;
225  std::vector<double> *t_nHadronEne7x7;
226  std::vector<double> *t_photonEne7x7;
227  std::vector<double> *t_eleEne7x7;
228  std::vector<double> *t_muEne7x7;
229 
230  std::vector<double> *t_maxNearP3x3;
232  std::vector<double> *t_nHadronEne3x3;
233  std::vector<double> *t_photonEne3x3;
234  std::vector<double> *t_eleEne3x3;
235  std::vector<double> *t_muEne3x3;
236 
237  std::vector<double> *t_maxNearP1x1;
239  std::vector<double> *t_nHadronEne1x1;
240  std::vector<double> *t_photonEne1x1;
241  std::vector<double> *t_eleEne1x1;
242  std::vector<double> *t_muEne1x1;
243 
244  std::vector<double> *t_maxNearPHC1x1;
246  std::vector<double> *t_nHadronEneHC1x1;
247  std::vector<double> *t_photonEneHC1x1;
248  std::vector<double> *t_eleEneHC1x1;
249  std::vector<double> *t_muEneHC1x1;
250 
251  std::vector<double> *t_maxNearPHC3x3;
253  std::vector<double> *t_nHadronEneHC3x3;
254  std::vector<double> *t_photonEneHC3x3;
255  std::vector<double> *t_eleEneHC3x3;
256  std::vector<double> *t_muEneHC3x3;
257 
258  std::vector<double> *t_maxNearPHC5x5;
260  std::vector<double> *t_nHadronEneHC5x5;
261  std::vector<double> *t_photonEneHC5x5;
262  std::vector<double> *t_eleEneHC5x5;
263  std::vector<double> *t_muEneHC5x5;
264 
265  std::vector<double> *t_maxNearPHC7x7;
267  std::vector<double> *t_nHadronEneHC7x7;
268  std::vector<double> *t_photonEneHC7x7;
269  std::vector<double> *t_eleEneHC7x7;
270  std::vector<double> *t_muEneHC7x7;
271 
272  std::vector<double> *t_maxNearPR;
274  std::vector<double> *t_nHadronEneR;
275  std::vector<double> *t_photonEneR;
276  std::vector<double> *t_eleEneR;
277  std::vector<double> *t_muEneR;
278 
279  std::vector<double> *t_maxNearPIsoR;
281  std::vector<double> *t_nHadronEneIsoR;
282  std::vector<double> *t_photonEneIsoR;
283  std::vector<double> *t_eleEneIsoR;
284  std::vector<double> *t_muEneIsoR;
285 
286  std::vector<double> *t_maxNearPHCR;
288  std::vector<double> *t_nHadronEneHCR;
289  std::vector<double> *t_photonEneHCR;
290  std::vector<double> *t_eleEneHCR;
291  std::vector<double> *t_muEneHCR;
292 
293  std::vector<double> *t_maxNearPIsoHCR;
295  std::vector<double> *t_nHadronEneIsoHCR;
296  std::vector<double> *t_photonEneIsoHCR;
297  std::vector<double> *t_eleEneIsoHCR;
298  std::vector<double> *t_muEneIsoHCR;
299 
300  std::vector<int> *t_L1Decision;
301  std::vector<double> *t_L1CenJetPt, *t_L1CenJetEta, *t_L1CenJetPhi;
302  std::vector<double> *t_L1FwdJetPt, *t_L1FwdJetEta, *t_L1FwdJetPhi;
303  std::vector<double> *t_L1TauJetPt, *t_L1TauJetEta, *t_L1TauJetPhi;
304  std::vector<double> *t_L1MuonPt, *t_L1MuonEta, *t_L1MuonPhi;
305  std::vector<double> *t_L1IsoEMPt, *t_L1IsoEMEta, *t_L1IsoEMPhi;
307  std::vector<double> *t_L1METPt, *t_L1METEta, *t_L1METPhi;
308 
313 };
314 
316  : ptMin_(iConfig.getUntrackedParameter<double>("PTMin", 1.0)),
317  etaMax_(iConfig.getUntrackedParameter<double>("MaxChargedHadronEta", 2.5)),
318  pCutIsolate_(iConfig.getUntrackedParameter<double>("PMaxIsolation", 20.0)),
319  a_Isolation_(iConfig.getUntrackedParameter<bool>("UseConeIsolation", false)),
320  genSrc_(iConfig.getUntrackedParameter("GenSrc", std::string("generatorSmeared"))),
321  useHepMC_(iConfig.getUntrackedParameter<bool>("UseHepMC", false)),
322  a_coneR_(iConfig.getUntrackedParameter<double>("ConeRadius", 34.98)),
323  a_mipR_(iConfig.getUntrackedParameter<double>("ConeRadiusMIP", 14.0)),
324  debugL1Info_(iConfig.getUntrackedParameter<bool>("DebugL1Info", false)),
325  verbosity_(iConfig.getUntrackedParameter<int>("Verbosity", 0)) {
326  usesResource(TFileService::kSharedResource);
327 
328  a_charIsoR_ = a_coneR_ + 28.9;
329  a_neutIsoR_ = a_charIsoR_ * 0.726;
330 
331  tok_hepmc_ = consumes<edm::HepMCProduct>(edm::InputTag(genSrc_));
332  tok_genParticles_ = consumes<reco::GenParticleCollection>(edm::InputTag(genSrc_));
333 
334  edm::InputTag L1extraTauJetSource_ = iConfig.getParameter<edm::InputTag>("L1extraTauJetSource");
335  edm::InputTag L1extraCenJetSource_ = iConfig.getParameter<edm::InputTag>("L1extraCenJetSource");
336  edm::InputTag L1extraFwdJetSource_ = iConfig.getParameter<edm::InputTag>("L1extraFwdJetSource");
337  edm::InputTag L1extraMuonSource_ = iConfig.getParameter<edm::InputTag>("L1extraMuonSource");
338  edm::InputTag L1extraIsoEmSource_ = iConfig.getParameter<edm::InputTag>("L1extraIsoEmSource");
339  edm::InputTag L1extraNonIsoEmSource_ = iConfig.getParameter<edm::InputTag>("L1extraNonIsoEmSource");
340  edm::InputTag L1GTReadoutRcdSource_ = iConfig.getParameter<edm::InputTag>("L1GTReadoutRcdSource");
341  edm::InputTag L1GTObjectMapRcdSource_ = iConfig.getParameter<edm::InputTag>("L1GTObjectMapRcdSource");
342  tok_L1GTrorsrc_ = consumes<L1GlobalTriggerReadoutRecord>(L1GTReadoutRcdSource_);
343  tok_L1GTobjmap_ = consumes<L1GlobalTriggerObjectMapRecord>(L1GTObjectMapRcdSource_);
344  tok_L1extMusrc_ = consumes<l1extra::L1MuonParticleCollection>(L1extraMuonSource_);
345  tok_L1Em_ = consumes<l1extra::L1EmParticleCollection>(L1extraIsoEmSource_);
346  tok_L1extNonIsoEm_ = consumes<l1extra::L1EmParticleCollection>(L1extraNonIsoEmSource_);
347  tok_L1extTauJet_ = consumes<l1extra::L1JetParticleCollection>(L1extraTauJetSource_);
348  tok_L1extCenJet_ = consumes<l1extra::L1JetParticleCollection>(L1extraCenJetSource_);
349  tok_L1extFwdJet_ = consumes<l1extra::L1JetParticleCollection>(L1extraFwdJetSource_);
350 
351  if (!strcmp("Dummy", genSrc_.c_str())) {
352  if (useHepMC_)
353  genSrc_ = "generatorSmeared";
354  else
355  genSrc_ = "genParticles";
356  }
357  edm::LogVerbatim("IsoTrack") << "Generator Source " << genSrc_ << " Use HepMC " << useHepMC_ << " ptMin " << ptMin_
358  << " etaMax " << etaMax_ << "\n a_coneR " << a_coneR_ << " a_charIsoR " << a_charIsoR_
359  << " a_neutIsoR " << a_neutIsoR_ << " a_mipR " << a_mipR_ << " debug " << verbosity_
360  << " debugL1Info " << debugL1Info_ << "\n"
361  << " Isolation Flag " << a_Isolation_ << " with cut " << pCutIsolate_ << " GeV";
362 }
363 
366  desc.addUntracked<std::string>("GenSrc", "genParticles");
367  desc.addUntracked<bool>("UseHepMC", false);
368  desc.addUntracked<double>("ChargedHadronSeedP", 1.0);
369  desc.addUntracked<double>("PTMin", 1.0);
370  desc.addUntracked<double>("MaxChargedHadronEta", 2.5);
371  desc.addUntracked<double>("ConeRadius", 34.98);
372  desc.addUntracked<double>("ConeRadiusMIP", 14.0);
373  desc.addUntracked<bool>("UseConeIsolation", true);
374  desc.addUntracked<double>("PMaxIsolation", 5.0);
375  desc.addUntracked<int>("Verbosity", 0);
376  desc.addUntracked<bool>("DebugL1Info", false);
377  desc.addUntracked<edm::InputTag>("L1extraTauJetSource", edm::InputTag("l1extraParticles", "Tau"));
378  desc.addUntracked<edm::InputTag>("L1extraCenJetSource", edm::InputTag("l1extraParticles", "Central"));
379  desc.addUntracked<edm::InputTag>("L1extraFwdJetSource", edm::InputTag("l1extraParticles", "Forward"));
380  desc.addUntracked<edm::InputTag>("L1extraMuonSource", edm::InputTag("l1extraParticles"));
381  desc.addUntracked<edm::InputTag>("L1extraIsoEmSource", edm::InputTag("l1extraParticles", "Isolated"));
382  desc.addUntracked<edm::InputTag>("L1extraNonIsoEmSource", edm::InputTag("l1extraParticles", "NonIsolated"));
383  desc.addUntracked<edm::InputTag>("L1GTReadoutRcdSource", edm::InputTag("gtDigis"));
384  desc.addUntracked<edm::InputTag>("L1GTObjectMapRcdSource", edm::InputTag("hltL1GtObjectMap"));
385  descriptions.add("isolatedGenParticles", desc);
386 }
387 
390 
391  nEventProc++;
392 
394  iSetup.get<IdealMagneticFieldRecord>().get(bFieldH);
395  const MagneticField *bField = bFieldH.product();
396 
397  // get particle data table
399  iSetup.getData(pdt);
400 
401  // get handle to HEPMCProduct
404  if (useHepMC_)
405  iEvent.getByToken(tok_hepmc_, hepmc);
406  else
408 
410  iSetup.get<CaloGeometryRecord>().get(pG);
411  const CaloGeometry *geo = pG.product();
412 
413  edm::ESHandle<CaloTopology> theCaloTopology;
414  iSetup.get<CaloTopologyRecord>().get(theCaloTopology);
415  const CaloTopology *caloTopology = theCaloTopology.product();
416 
418  iSetup.get<HcalRecNumberingRecord>().get(htopo);
419  const HcalTopology *theHBHETopology = htopo.product();
420 
421  //===================== save L1 Trigger information =======================
422  // get L1TriggerReadout records
424  iEvent.getByToken(tok_L1GTrorsrc_, gtRecord);
425 
427  iEvent.getByToken(tok_L1GTobjmap_, gtOMRec);
428 
429  // sanity check on L1 Trigger Records
430  if (!gtRecord.isValid()) {
431  edm::LogVerbatim("IsoTrack") << "\nL1GlobalTriggerReadoutRecord with \n\n"
432  << "not found\n --> returning false by "
433  << "default!\n";
434  }
435  if (!gtOMRec.isValid()) {
436  edm::LogVerbatim("IsoTrack") << "\nL1GlobalTriggerObjectMapRecord with \n\n"
437  << "not found\n --> returning false by "
438  << "default!\n";
439  }
440 
441  // L1 decision word
442  const DecisionWord dWord = gtRecord->decisionWord();
443  unsigned int numberTriggerBits = dWord.size();
444 
445  // just print the L1Bit number and AlgoName in first event
446  if (!initL1) {
447  initL1 = true;
448  edm::LogVerbatim("IsoTrack") << "\nNumber of Trigger bits " << numberTriggerBits << "\n";
449  edm::LogVerbatim("IsoTrack") << "\tBit \t L1 Algorithm ";
450 
451  // get ObjectMaps from ObjectMapRecord
452  const std::vector<L1GlobalTriggerObjectMap> &objMapVec = gtOMRec->gtObjectMap();
453  for (std::vector<L1GlobalTriggerObjectMap>::const_iterator itMap = objMapVec.begin(); itMap != objMapVec.end();
454  ++itMap) {
455  // Get trigger bits
456  int itrig = (*itMap).algoBitNumber();
457 
458  // Get trigger names
459  algoBitToName_[itrig] = (*itMap).algoName();
460 
461  edm::LogVerbatim("IsoTrack") << "\t" << itrig << "\t" << algoBitToName_[itrig];
462 
463  // store the algoNames as bin labels of a histogram
464  h_L1AlgoNames->GetXaxis()->SetBinLabel(itrig + 1, algoBitToName_[itrig].c_str());
465 
466  } // end of for loop
467  } // end of initL1
468 
469  // save L1 decision for each event
470  for (unsigned int iBit = 0; iBit < numberTriggerBits; ++iBit) {
471  bool accept = dWord[iBit];
472  t_L1Decision->push_back(accept);
473  // fill the trigger map
474  if (debugL1Info_)
475  edm::LogVerbatim("IsoTrack") << "Bit " << iBit << " " << algoBitToName_[iBit] << " " << accept;
476 
477  if (accept)
478  h_L1AlgoNames->Fill(iBit);
479  }
480 
481  //===================
482  // L1Taus
484  iEvent.getByToken(tok_L1extTauJet_, l1TauHandle);
485  l1extra::L1JetParticleCollection::const_iterator itr;
486  for (itr = l1TauHandle->begin(); itr != l1TauHandle->end(); ++itr) {
487  t_L1TauJetPt->push_back(itr->pt());
488  t_L1TauJetEta->push_back(itr->eta());
489  t_L1TauJetPhi->push_back(itr->phi());
490  if (debugL1Info_) {
491  edm::LogVerbatim("IsoTrack") << "tauJ p/pt " << itr->momentum() << " " << itr->pt() << " eta/phi " << itr->eta()
492  << " " << itr->phi();
493  }
494  }
495 
496  // L1 Central Jets
498  iEvent.getByToken(tok_L1extCenJet_, l1CenJetHandle);
499  for (itr = l1CenJetHandle->begin(); itr != l1CenJetHandle->end(); ++itr) {
500  t_L1CenJetPt->push_back(itr->pt());
501  t_L1CenJetEta->push_back(itr->eta());
502  t_L1CenJetPhi->push_back(itr->phi());
503  if (debugL1Info_) {
504  edm::LogVerbatim("IsoTrack") << "cenJ p/pt " << itr->momentum() << " " << itr->pt() << " eta/phi "
505  << itr->eta() << " " << itr->phi();
506  }
507  }
508  // L1 Forward Jets
510  iEvent.getByToken(tok_L1extFwdJet_, l1FwdJetHandle);
511  for (itr = l1FwdJetHandle->begin(); itr != l1FwdJetHandle->end(); ++itr) {
512  t_L1FwdJetPt->push_back(itr->pt());
513  t_L1FwdJetEta->push_back(itr->eta());
514  t_L1FwdJetPhi->push_back(itr->phi());
515  if (debugL1Info_) {
516  edm::LogVerbatim("IsoTrack") << "fwdJ p/pt " << itr->momentum() << " " << itr->pt() << " eta/phi "
517  << itr->eta() << " " << itr->phi();
518  }
519  }
520  // L1 Isolated EM onjects
521  l1extra::L1EmParticleCollection::const_iterator itrEm;
523  iEvent.getByToken(tok_L1Em_, l1IsoEmHandle);
524  for (itrEm = l1IsoEmHandle->begin(); itrEm != l1IsoEmHandle->end(); ++itrEm) {
525  t_L1IsoEMPt->push_back(itrEm->pt());
526  t_L1IsoEMEta->push_back(itrEm->eta());
527  t_L1IsoEMPhi->push_back(itrEm->phi());
528  if (debugL1Info_) {
529  edm::LogVerbatim("IsoTrack") << "isoEm p/pt " << itrEm->momentum() << " " << itrEm->pt() << " eta/phi "
530  << itrEm->eta() << " " << itrEm->phi();
531  }
532  }
533  // L1 Non-Isolated EM onjects
535  iEvent.getByToken(tok_L1extNonIsoEm_, l1NonIsoEmHandle);
536  for (itrEm = l1NonIsoEmHandle->begin(); itrEm != l1NonIsoEmHandle->end(); ++itrEm) {
537  t_L1NonIsoEMPt->push_back(itrEm->pt());
538  t_L1NonIsoEMEta->push_back(itrEm->eta());
539  t_L1NonIsoEMPhi->push_back(itrEm->phi());
540  if (debugL1Info_) {
541  edm::LogVerbatim("IsoTrack") << "nonIsoEm p/pt " << itrEm->momentum() << " " << itrEm->pt() << " eta/phi "
542  << itrEm->eta() << " " << itrEm->phi();
543  }
544  }
545 
546  // L1 Muons
547  l1extra::L1MuonParticleCollection::const_iterator itrMu;
549  iEvent.getByToken(tok_L1extMusrc_, l1MuHandle);
550  for (itrMu = l1MuHandle->begin(); itrMu != l1MuHandle->end(); ++itrMu) {
551  t_L1MuonPt->push_back(itrMu->pt());
552  t_L1MuonEta->push_back(itrMu->eta());
553  t_L1MuonPhi->push_back(itrMu->phi());
554  if (debugL1Info_) {
555  edm::LogVerbatim("IsoTrack") << "l1muon p/pt " << itrMu->momentum() << " " << itrMu->pt() << " eta/phi "
556  << itrMu->eta() << " " << itrMu->phi();
557  }
558  }
559  //=====================================================================
560 
561  GlobalPoint posVec, posECAL;
563  if (verbosity_ > 0)
564  edm::LogVerbatim("IsoTrack") << "event number " << iEvent.id().event();
565  if (useHepMC_) {
566  const HepMC::GenEvent *myGenEvent = hepmc->GetEvent();
567  std::vector<spr::propagatedGenTrackID> trackIDs = spr::propagateCALO(myGenEvent, pdt, geo, bField, etaMax_, false);
568 
569  for (unsigned int indx = 0; indx < trackIDs.size(); ++indx) {
570  int charge = trackIDs[indx].charge;
571  HepMC::GenEvent::particle_const_iterator p = trackIDs[indx].trkItr;
572  momVec = math::XYZTLorentzVector(
573  (*p)->momentum().px(), (*p)->momentum().py(), (*p)->momentum().pz(), (*p)->momentum().e());
574  if (verbosity_ > 1)
575  edm::LogVerbatim("IsoTrack") << "trkIndx " << indx << " pdgid " << trackIDs[indx].pdgId << " charge " << charge
576  << " momVec " << momVec;
577  // only stable particles avoiding electrons and muons
578  if (trackIDs[indx].ok && (std::abs(trackIDs[indx].pdgId) < 11 || std::abs(trackIDs[indx].pdgId) >= 21)) {
579  // consider particles within a phased space
580  if (momVec.Pt() > ptMin_ && std::abs(momVec.eta()) < etaMax_) {
581  posVec = GlobalPoint(0.1 * (*p)->production_vertex()->position().x(),
582  0.1 * (*p)->production_vertex()->position().y(),
583  0.1 * (*p)->production_vertex()->position().z());
584  posECAL = trackIDs[indx].pointECAL;
585  fillTrack(posVec, momVec, posECAL, trackIDs[indx].pdgId, trackIDs[indx].okECAL, true);
586  if (verbosity_ > 1)
587  edm::LogVerbatim("IsoTrack") << "posECAL " << posECAL << " okECAL " << trackIDs[indx].okECAL << "okHCAL "
588  << trackIDs[indx].okHCAL;
589  if (trackIDs[indx].okECAL) {
590  if (std::abs(charge) > 0) {
591  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 0, 0, isoinfo1x1, false);
592  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 1, 1, isoinfo3x3, false);
593  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 3, 3, isoinfo7x7, false);
594  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 4, 4, isoinfo9x9, false);
595  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 5, 5, isoinfo11x11, false);
596  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 7, 7, isoinfo15x15, false);
597  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 10, 10, isoinfo21x21, false);
598  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 12, 12, isoinfo25x25, false);
599  spr::eGenSimInfo(trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 15, 15, isoinfo31x31, false);
600  spr::eGenSimInfo(trackIDs[indx].detIdECAL,
601  p,
602  trackIDs,
603  geo,
604  caloTopology,
605  a_mipR_,
606  trackIDs[indx].directionECAL,
607  isoinfoR,
608  false);
609  spr::eGenSimInfo(trackIDs[indx].detIdECAL,
610  p,
611  trackIDs,
612  geo,
613  caloTopology,
614  a_neutIsoR_,
615  trackIDs[indx].directionECAL,
616  isoinfoIsoR,
617  false);
618  if (trackIDs[indx].okHCAL) {
619  spr::hGenSimInfo(trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 0, 0, isoinfoHC1x1, false);
620  spr::hGenSimInfo(trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 1, 1, isoinfoHC3x3, false);
621  spr::hGenSimInfo(trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 2, 2, isoinfoHC5x5, false);
622  spr::hGenSimInfo(trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 3, 3, isoinfoHC7x7, false);
623  spr::hGenSimInfo(trackIDs[indx].detIdHCAL,
624  p,
625  trackIDs,
626  geo,
627  theHBHETopology,
628  a_coneR_,
629  trackIDs[indx].directionHCAL,
630  isoinfoHCR,
631  false);
632  spr::hGenSimInfo(trackIDs[indx].detIdHCAL,
633  p,
634  trackIDs,
635  geo,
636  theHBHETopology,
637  a_charIsoR_,
638  trackIDs[indx].directionHCAL,
640  false);
641  }
642 
643  bool saveTrack = true;
644  if (a_Isolation_)
645  saveTrack = (isoinfoR.maxNearP < pCutIsolate_);
646  else
647  saveTrack = (isoinfo7x7.maxNearP < pCutIsolate_);
648  if (saveTrack)
649  fillIsolatedTrack(momVec, posECAL, trackIDs[indx].pdgId);
650  }
651  }
652  } else { // stabale particles within |eta|=2.5
653  fillTrack(posVec, momVec, posECAL, 0, false, false);
654  }
655  }
656  }
657 
658  unsigned int indx;
659  HepMC::GenEvent::particle_const_iterator p;
660  for (p = myGenEvent->particles_begin(), indx = 0; p != myGenEvent->particles_end(); ++p, ++indx) {
661  int pdgId = ((*p)->pdg_id());
662  int ix = particleCode(pdgId);
663  if (ix >= 0) {
664  double pp = (*p)->momentum().rho();
665  double eta = (*p)->momentum().eta();
666  h_pEta[ix]->Fill(pp, eta);
667  }
668  }
669  } else { // loop over gen particles
670  std::vector<spr::propagatedGenParticleID> trackIDs =
672 
673  for (unsigned int indx = 0; indx < trackIDs.size(); ++indx) {
674  int charge = trackIDs[indx].charge;
675  reco::GenParticleCollection::const_iterator p = trackIDs[indx].trkItr;
676 
677  momVec = math::XYZTLorentzVector(p->momentum().x(), p->momentum().y(), p->momentum().z(), p->energy());
678  if (verbosity_ > 1)
679  edm::LogVerbatim("IsoTrack") << "trkIndx " << indx << " pdgid " << trackIDs[indx].pdgId << " charge " << charge
680  << " momVec " << momVec;
681  // only stable particles avoiding electrons and muons
682  if (trackIDs[indx].ok && std::abs(trackIDs[indx].pdgId) > 21) {
683  // consider particles within a phased space
684  if (verbosity_ > 1)
685  edm::LogVerbatim("IsoTrack") << " pt " << momVec.Pt() << " eta " << momVec.eta();
686  if (momVec.Pt() > ptMin_ && std::abs(momVec.eta()) < etaMax_) {
687  posVec = GlobalPoint(p->vertex().x(), p->vertex().y(), p->vertex().z());
688  posECAL = trackIDs[indx].pointECAL;
689  if (verbosity_ > 0)
690  edm::LogVerbatim("IsoTrack") << "posECAL " << posECAL << " okECAL " << trackIDs[indx].okECAL << "okHCAL "
691  << trackIDs[indx].okHCAL;
692  fillTrack(posVec, momVec, posECAL, trackIDs[indx].pdgId, trackIDs[indx].okECAL, true);
693  if (trackIDs[indx].okECAL) {
694  if (std::abs(charge) > 0) {
696  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 0, 0, isoinfo1x1, verbosity_ > 1);
698  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 1, 1, isoinfo3x3, verbosity_ > 0);
700  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 3, 3, isoinfo7x7, verbosity_ > 1);
702  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 4, 4, isoinfo9x9, verbosity_ > 1);
704  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 5, 5, isoinfo11x11, verbosity_ > 1);
706  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 7, 7, isoinfo15x15, verbosity_ > 1);
708  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 10, 10, isoinfo21x21, verbosity_ > 1);
710  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 12, 12, isoinfo25x25, verbosity_ > 1);
712  trackIDs[indx].detIdECAL, p, trackIDs, geo, caloTopology, 15, 15, isoinfo31x31, verbosity_ > 1);
713  spr::eGenSimInfo(trackIDs[indx].detIdECAL,
714  p,
715  trackIDs,
716  geo,
717  caloTopology,
718  a_mipR_,
719  trackIDs[indx].directionECAL,
720  isoinfoR,
721  verbosity_ > 1);
722  spr::eGenSimInfo(trackIDs[indx].detIdECAL,
723  p,
724  trackIDs,
725  geo,
726  caloTopology,
727  a_neutIsoR_,
728  trackIDs[indx].directionECAL,
729  isoinfoIsoR,
730  verbosity_ > 1);
731  if (trackIDs[indx].okHCAL) {
733  trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 0, 0, isoinfoHC1x1, verbosity_ > 1);
735  trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 1, 1, isoinfoHC3x3, verbosity_ > 1);
737  trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 2, 2, isoinfoHC5x5, verbosity_ > 1);
739  trackIDs[indx].detIdHCAL, p, trackIDs, theHBHETopology, 3, 3, isoinfoHC7x7, verbosity_ > 1);
740  spr::hGenSimInfo(trackIDs[indx].detIdHCAL,
741  p,
742  trackIDs,
743  geo,
744  theHBHETopology,
745  a_coneR_,
746  trackIDs[indx].directionHCAL,
747  isoinfoHCR,
748  verbosity_ > 1);
749  spr::hGenSimInfo(trackIDs[indx].detIdHCAL,
750  p,
751  trackIDs,
752  geo,
753  theHBHETopology,
754  a_charIsoR_,
755  trackIDs[indx].directionHCAL,
757  verbosity_ > 1);
758  }
759 
760  bool saveTrack = true;
761  if (a_Isolation_)
762  saveTrack = (isoinfoIsoR.maxNearP < pCutIsolate_);
763  else
764  saveTrack = (isoinfo7x7.maxNearP < pCutIsolate_);
765  if (saveTrack)
766  fillIsolatedTrack(momVec, posECAL, trackIDs[indx].pdgId);
767  }
768  }
769  } else { // stabale particles within |eta|=2.5
770  fillTrack(posVec, momVec, posECAL, 0, false, false);
771  }
772  }
773  } // loop over gen particles
774 
775  unsigned int indx;
776  reco::GenParticleCollection::const_iterator p;
777  for (p = genParticles->begin(), indx = 0; p != genParticles->end(); ++p, ++indx) {
778  int pdgId = (p->pdgId());
779  int ix = particleCode(pdgId);
780  if (ix >= 0) {
781  double pp = (p->momentum()).R();
782  double eta = (p->momentum()).Eta();
783  h_pEta[ix]->Fill(pp, eta);
784  }
785  }
786  }
787 
788  //t_nEvtProc->push_back(nEventProc);
789  h_NEventProc->SetBinContent(1, nEventProc);
790  tree_->Fill();
791 }
792 
794  nEventProc = 0;
795 
796  initL1 = false;
797 
798  double tempgen_TH[NPBins_ + 1] = {0.0, 5.0, 12.0, 300.0};
799  for (int i = 0; i <= NPBins_; i++)
800  genPartPBins_[i] = tempgen_TH[i];
801 
802  double tempgen_Eta[NEtaBins_ + 1] = {0.0, 0.5, 1.1, 1.7, 2.3};
803  for (int i = 0; i <= NEtaBins_; i++)
804  genPartEtaBins_[i] = tempgen_Eta[i];
805 
806  bookHistograms();
807 }
808 
810  GlobalPoint &posVec, math::XYZTLorentzVector &momVec, GlobalPoint &posECAL, int pdgId, bool okECAL, bool accept) {
811  if (accept) {
812  t_isoTrkPAll->push_back(momVec.P());
813  t_isoTrkPtAll->push_back(momVec.Pt());
814  t_isoTrkPhiAll->push_back(momVec.phi());
815  t_isoTrkEtaAll->push_back(momVec.eta());
816  t_isoTrkPdgIdAll->push_back(pdgId);
817  if (okECAL) {
818  double phi1 = momVec.phi();
819  double phi2 = (posECAL - posVec).phi();
820  double dphi = reco::deltaPhi(phi1, phi2);
821  double deta = momVec.eta() - (posECAL - posVec).eta();
822  t_isoTrkDPhiAll->push_back(dphi);
823  t_isoTrkDEtaAll->push_back(deta);
824  } else {
825  t_isoTrkDPhiAll->push_back(999.0);
826  t_isoTrkDEtaAll->push_back(999.0);
827  }
828  } else {
829  t_isoTrkDPhiAll->push_back(-999.0);
830  t_isoTrkDEtaAll->push_back(-999.0);
831  }
832 }
833 
835  t_isoTrkP->push_back(momVec.P());
836  t_isoTrkPt->push_back(momVec.Pt());
837  t_isoTrkEne->push_back(momVec.E());
838  t_isoTrkEta->push_back(momVec.eta());
839  t_isoTrkPhi->push_back(momVec.phi());
840  t_isoTrkEtaEC->push_back(posECAL.eta());
841  t_isoTrkPhiEC->push_back(posECAL.phi());
842  t_isoTrkPdgId->push_back(pdgId);
843 
851  t_eleEne31x31->push_back(isoinfo31x31.eleEne);
852  t_muEne31x31->push_back(isoinfo31x31.muEne);
853 
861  t_eleEne25x25->push_back(isoinfo25x25.eleEne);
862  t_muEne25x25->push_back(isoinfo25x25.muEne);
863 
871  t_eleEne21x21->push_back(isoinfo21x21.eleEne);
872  t_muEne21x21->push_back(isoinfo21x21.muEne);
873 
881  t_eleEne15x15->push_back(isoinfo15x15.eleEne);
882  t_muEne15x15->push_back(isoinfo15x15.muEne);
883 
891  t_eleEne11x11->push_back(isoinfo11x11.eleEne);
892  t_muEne11x11->push_back(isoinfo11x11.muEne);
893 
894  t_maxNearP9x9->push_back(isoinfo9x9.maxNearP);
900  t_photonEne9x9->push_back(isoinfo9x9.photonEne);
901  t_eleEne9x9->push_back(isoinfo9x9.eleEne);
902  t_muEne9x9->push_back(isoinfo9x9.muEne);
903 
904  t_maxNearP7x7->push_back(isoinfo7x7.maxNearP);
910  t_photonEne7x7->push_back(isoinfo7x7.photonEne);
911  t_eleEne7x7->push_back(isoinfo7x7.eleEne);
912  t_muEne7x7->push_back(isoinfo7x7.muEne);
913 
914  t_maxNearP3x3->push_back(isoinfo3x3.maxNearP);
920  t_photonEne3x3->push_back(isoinfo3x3.photonEne);
921  t_eleEne3x3->push_back(isoinfo3x3.eleEne);
922  t_muEne3x3->push_back(isoinfo3x3.muEne);
923 
924  t_maxNearP1x1->push_back(isoinfo1x1.maxNearP);
930  t_photonEne1x1->push_back(isoinfo1x1.photonEne);
931  t_eleEne1x1->push_back(isoinfo1x1.eleEne);
932  t_muEne1x1->push_back(isoinfo1x1.muEne);
933 
941  t_eleEneHC1x1->push_back(isoinfoHC1x1.eleEne);
942  t_muEneHC1x1->push_back(isoinfoHC1x1.muEne);
943 
951  t_eleEneHC3x3->push_back(isoinfoHC3x3.eleEne);
952  t_muEneHC3x3->push_back(isoinfoHC3x3.muEne);
953 
961  t_eleEneHC5x5->push_back(isoinfoHC5x5.eleEne);
962  t_muEneHC5x5->push_back(isoinfoHC5x5.muEne);
963 
971  t_eleEneHC7x7->push_back(isoinfoHC7x7.eleEne);
972  t_muEneHC7x7->push_back(isoinfoHC7x7.muEne);
973 
974  t_maxNearPR->push_back(isoinfoR.maxNearP);
975  t_cHadronEneR->push_back(isoinfoR.cHadronEne);
976  t_cHadronEneR_1->push_back(isoinfoR.cHadronEne_[0]);
977  t_cHadronEneR_2->push_back(isoinfoR.cHadronEne_[1]);
978  t_cHadronEneR_3->push_back(isoinfoR.cHadronEne_[2]);
979  t_nHadronEneR->push_back(isoinfoR.nHadronEne);
980  t_photonEneR->push_back(isoinfoR.photonEne);
981  t_eleEneR->push_back(isoinfoR.eleEne);
982  t_muEneR->push_back(isoinfoR.muEne);
983 
984  t_maxNearPIsoR->push_back(isoinfoIsoR.maxNearP);
991  t_eleEneIsoR->push_back(isoinfoIsoR.eleEne);
992  t_muEneIsoR->push_back(isoinfoIsoR.muEne);
993 
994  t_maxNearPHCR->push_back(isoinfoHCR.maxNearP);
1000  t_photonEneHCR->push_back(isoinfoHCR.photonEne);
1001  t_eleEneHCR->push_back(isoinfoHCR.eleEne);
1002  t_muEneHCR->push_back(isoinfoHCR.muEne);
1003 
1011  t_eleEneIsoHCR->push_back(isoinfoIsoHCR.eleEne);
1012  t_muEneIsoHCR->push_back(isoinfoIsoHCR.muEne);
1013 }
1014 
1017  //char hname[100], htit[100];
1018 
1019  h_NEventProc = fs->make<TH1I>("h_NEventProc", "h_NEventProc", 2, -0.5, 0.5);
1020  h_L1AlgoNames = fs->make<TH1I>("h_L1AlgoNames", "h_L1AlgoNames:Bin Labels", 128, -0.5, 127.5);
1021 
1022  double pBin[PBins_ + 1] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 20.0, 30.0, 40.0, 50.0, 60.0,
1023  70.0, 80.0, 90.0, 100.0, 150.0, 200.0, 250.0, 300.0, 350.0, 400.0, 450.0,
1024  500.0, 550.0, 600.0, 650.0, 700.0, 750.0, 800.0, 850.0, 900.0, 950.0, 1000.0};
1025  double etaBin[EtaBins_ + 1] = {-3.0, -2.9, -2.8, -2.7, -2.6, -2.5, -2.4, -2.3, -2.2, -2.1, -2.0, -1.9, -1.8,
1026  -1.7, -1.6, -1.5, -1.4, -1.3, -1.2, -1.1, -1.0, -0.9, -0.8, -0.7, -0.6, -0.5,
1027  -0.4, -0.3, -0.2, -0.1, 0.0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8,
1028  0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0, 2.1,
1029  2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3.0};
1030  std::string particle[Particles] = {
1031  "electron", "positron", "#gamma", "#pi^+", "#pi^-", "K^+", "K^-", "p", "n", "pbar", "nbar", "K^0_L"};
1032  TFileDirectory dir1 = fs->mkdir("pEta");
1033  char name[20], title[50];
1034  for (int i = 0; i < Particles; ++i) {
1035  sprintf(name, "pEta%d", i);
1036  sprintf(title, "#eta vs momentum for %s", particle[i].c_str());
1037  h_pEta[i] = dir1.make<TH2D>(name, title, PBins_, pBin, EtaBins_, etaBin);
1038  }
1039 
1040  // build the tree
1041  tree_ = fs->make<TTree>("tree_", "tree");
1042 
1043  t_isoTrkPAll = new std::vector<double>();
1044  t_isoTrkPtAll = new std::vector<double>();
1045  t_isoTrkPhiAll = new std::vector<double>();
1046  t_isoTrkEtaAll = new std::vector<double>();
1047  t_isoTrkDPhiAll = new std::vector<double>();
1048  t_isoTrkDEtaAll = new std::vector<double>();
1049  t_isoTrkPdgIdAll = new std::vector<double>();
1050 
1051  t_isoTrkP = new std::vector<double>();
1052  t_isoTrkPt = new std::vector<double>();
1053  t_isoTrkEne = new std::vector<double>();
1054  t_isoTrkEta = new std::vector<double>();
1055  t_isoTrkPhi = new std::vector<double>();
1056  t_isoTrkEtaEC = new std::vector<double>();
1057  t_isoTrkPhiEC = new std::vector<double>();
1058  t_isoTrkPdgId = new std::vector<double>();
1059 
1060  t_maxNearP31x31 = new std::vector<double>();
1061  t_cHadronEne31x31 = new std::vector<double>();
1062  t_cHadronEne31x31_1 = new std::vector<double>();
1063  t_cHadronEne31x31_2 = new std::vector<double>();
1064  t_cHadronEne31x31_3 = new std::vector<double>();
1065  t_nHadronEne31x31 = new std::vector<double>();
1066  t_photonEne31x31 = new std::vector<double>();
1067  t_eleEne31x31 = new std::vector<double>();
1068  t_muEne31x31 = new std::vector<double>();
1069 
1070  t_maxNearP25x25 = new std::vector<double>();
1071  t_cHadronEne25x25 = new std::vector<double>();
1072  t_cHadronEne25x25_1 = new std::vector<double>();
1073  t_cHadronEne25x25_2 = new std::vector<double>();
1074  t_cHadronEne25x25_3 = new std::vector<double>();
1075  t_nHadronEne25x25 = new std::vector<double>();
1076  t_photonEne25x25 = new std::vector<double>();
1077  t_eleEne25x25 = new std::vector<double>();
1078  t_muEne25x25 = new std::vector<double>();
1079 
1080  t_maxNearP21x21 = new std::vector<double>();
1081  t_cHadronEne21x21 = new std::vector<double>();
1082  t_cHadronEne21x21_1 = new std::vector<double>();
1083  t_cHadronEne21x21_2 = new std::vector<double>();
1084  t_cHadronEne21x21_3 = new std::vector<double>();
1085  t_nHadronEne21x21 = new std::vector<double>();
1086  t_photonEne21x21 = new std::vector<double>();
1087  t_eleEne21x21 = new std::vector<double>();
1088  t_muEne21x21 = new std::vector<double>();
1089 
1090  t_maxNearP15x15 = new std::vector<double>();
1091  t_cHadronEne15x15 = new std::vector<double>();
1092  t_cHadronEne15x15_1 = new std::vector<double>();
1093  t_cHadronEne15x15_2 = new std::vector<double>();
1094  t_cHadronEne15x15_3 = new std::vector<double>();
1095  t_nHadronEne15x15 = new std::vector<double>();
1096  t_photonEne15x15 = new std::vector<double>();
1097  t_eleEne15x15 = new std::vector<double>();
1098  t_muEne15x15 = new std::vector<double>();
1099 
1100  t_maxNearP11x11 = new std::vector<double>();
1101  t_cHadronEne11x11 = new std::vector<double>();
1102  t_cHadronEne11x11_1 = new std::vector<double>();
1103  t_cHadronEne11x11_2 = new std::vector<double>();
1104  t_cHadronEne11x11_3 = new std::vector<double>();
1105  t_nHadronEne11x11 = new std::vector<double>();
1106  t_photonEne11x11 = new std::vector<double>();
1107  t_eleEne11x11 = new std::vector<double>();
1108  t_muEne11x11 = new std::vector<double>();
1109 
1110  t_maxNearP9x9 = new std::vector<double>();
1111  t_cHadronEne9x9 = new std::vector<double>();
1112  t_cHadronEne9x9_1 = new std::vector<double>();
1113  t_cHadronEne9x9_2 = new std::vector<double>();
1114  t_cHadronEne9x9_3 = new std::vector<double>();
1115  t_nHadronEne9x9 = new std::vector<double>();
1116  t_photonEne9x9 = new std::vector<double>();
1117  t_eleEne9x9 = new std::vector<double>();
1118  t_muEne9x9 = new std::vector<double>();
1119 
1120  t_maxNearP7x7 = new std::vector<double>();
1121  t_cHadronEne7x7 = new std::vector<double>();
1122  t_cHadronEne7x7_1 = new std::vector<double>();
1123  t_cHadronEne7x7_2 = new std::vector<double>();
1124  t_cHadronEne7x7_3 = new std::vector<double>();
1125  t_nHadronEne7x7 = new std::vector<double>();
1126  t_photonEne7x7 = new std::vector<double>();
1127  t_eleEne7x7 = new std::vector<double>();
1128  t_muEne7x7 = new std::vector<double>();
1129 
1130  t_maxNearP3x3 = new std::vector<double>();
1131  t_cHadronEne3x3 = new std::vector<double>();
1132  t_cHadronEne3x3_1 = new std::vector<double>();
1133  t_cHadronEne3x3_2 = new std::vector<double>();
1134  t_cHadronEne3x3_3 = new std::vector<double>();
1135  t_nHadronEne3x3 = new std::vector<double>();
1136  t_photonEne3x3 = new std::vector<double>();
1137  t_eleEne3x3 = new std::vector<double>();
1138  t_muEne3x3 = new std::vector<double>();
1139 
1140  t_maxNearP1x1 = new std::vector<double>();
1141  t_cHadronEne1x1 = new std::vector<double>();
1142  t_cHadronEne1x1_1 = new std::vector<double>();
1143  t_cHadronEne1x1_2 = new std::vector<double>();
1144  t_cHadronEne1x1_3 = new std::vector<double>();
1145  t_nHadronEne1x1 = new std::vector<double>();
1146  t_photonEne1x1 = new std::vector<double>();
1147  t_eleEne1x1 = new std::vector<double>();
1148  t_muEne1x1 = new std::vector<double>();
1149 
1150  t_maxNearPHC1x1 = new std::vector<double>();
1151  t_cHadronEneHC1x1 = new std::vector<double>();
1152  t_cHadronEneHC1x1_1 = new std::vector<double>();
1153  t_cHadronEneHC1x1_2 = new std::vector<double>();
1154  t_cHadronEneHC1x1_3 = new std::vector<double>();
1155  t_nHadronEneHC1x1 = new std::vector<double>();
1156  t_photonEneHC1x1 = new std::vector<double>();
1157  t_eleEneHC1x1 = new std::vector<double>();
1158  t_muEneHC1x1 = new std::vector<double>();
1159 
1160  t_maxNearPHC3x3 = new std::vector<double>();
1161  t_cHadronEneHC3x3 = new std::vector<double>();
1162  t_cHadronEneHC3x3_1 = new std::vector<double>();
1163  t_cHadronEneHC3x3_2 = new std::vector<double>();
1164  t_cHadronEneHC3x3_3 = new std::vector<double>();
1165  t_nHadronEneHC3x3 = new std::vector<double>();
1166  t_photonEneHC3x3 = new std::vector<double>();
1167  t_eleEneHC3x3 = new std::vector<double>();
1168  t_muEneHC3x3 = new std::vector<double>();
1169 
1170  t_maxNearPHC5x5 = new std::vector<double>();
1171  t_cHadronEneHC5x5 = new std::vector<double>();
1172  t_cHadronEneHC5x5_1 = new std::vector<double>();
1173  t_cHadronEneHC5x5_2 = new std::vector<double>();
1174  t_cHadronEneHC5x5_3 = new std::vector<double>();
1175  t_nHadronEneHC5x5 = new std::vector<double>();
1176  t_photonEneHC5x5 = new std::vector<double>();
1177  t_eleEneHC5x5 = new std::vector<double>();
1178  t_muEneHC5x5 = new std::vector<double>();
1179 
1180  t_maxNearPHC7x7 = new std::vector<double>();
1181  t_cHadronEneHC7x7 = new std::vector<double>();
1182  t_cHadronEneHC7x7_1 = new std::vector<double>();
1183  t_cHadronEneHC7x7_2 = new std::vector<double>();
1184  t_cHadronEneHC7x7_3 = new std::vector<double>();
1185  t_nHadronEneHC7x7 = new std::vector<double>();
1186  t_photonEneHC7x7 = new std::vector<double>();
1187  t_eleEneHC7x7 = new std::vector<double>();
1188  t_muEneHC7x7 = new std::vector<double>();
1189 
1190  t_maxNearPR = new std::vector<double>();
1191  t_cHadronEneR = new std::vector<double>();
1192  t_cHadronEneR_1 = new std::vector<double>();
1193  t_cHadronEneR_2 = new std::vector<double>();
1194  t_cHadronEneR_3 = new std::vector<double>();
1195  t_nHadronEneR = new std::vector<double>();
1196  t_photonEneR = new std::vector<double>();
1197  t_eleEneR = new std::vector<double>();
1198  t_muEneR = new std::vector<double>();
1199 
1200  t_maxNearPIsoR = new std::vector<double>();
1201  t_cHadronEneIsoR = new std::vector<double>();
1202  t_cHadronEneIsoR_1 = new std::vector<double>();
1203  t_cHadronEneIsoR_2 = new std::vector<double>();
1204  t_cHadronEneIsoR_3 = new std::vector<double>();
1205  t_nHadronEneIsoR = new std::vector<double>();
1206  t_photonEneIsoR = new std::vector<double>();
1207  t_eleEneIsoR = new std::vector<double>();
1208  t_muEneIsoR = new std::vector<double>();
1209 
1210  t_maxNearPHCR = new std::vector<double>();
1211  t_cHadronEneHCR = new std::vector<double>();
1212  t_cHadronEneHCR_1 = new std::vector<double>();
1213  t_cHadronEneHCR_2 = new std::vector<double>();
1214  t_cHadronEneHCR_3 = new std::vector<double>();
1215  t_nHadronEneHCR = new std::vector<double>();
1216  t_photonEneHCR = new std::vector<double>();
1217  t_eleEneHCR = new std::vector<double>();
1218  t_muEneHCR = new std::vector<double>();
1219 
1220  t_maxNearPIsoHCR = new std::vector<double>();
1221  t_cHadronEneIsoHCR = new std::vector<double>();
1222  t_cHadronEneIsoHCR_1 = new std::vector<double>();
1223  t_cHadronEneIsoHCR_2 = new std::vector<double>();
1224  t_cHadronEneIsoHCR_3 = new std::vector<double>();
1225  t_nHadronEneIsoHCR = new std::vector<double>();
1226  t_photonEneIsoHCR = new std::vector<double>();
1227  t_eleEneIsoHCR = new std::vector<double>();
1228  t_muEneIsoHCR = new std::vector<double>();
1229 
1230  //----- L1Trigger
1231  t_L1Decision = new std::vector<int>();
1232  t_L1CenJetPt = new std::vector<double>();
1233  t_L1CenJetEta = new std::vector<double>();
1234  t_L1CenJetPhi = new std::vector<double>();
1235  t_L1FwdJetPt = new std::vector<double>();
1236  t_L1FwdJetEta = new std::vector<double>();
1237  t_L1FwdJetPhi = new std::vector<double>();
1238  t_L1TauJetPt = new std::vector<double>();
1239  t_L1TauJetEta = new std::vector<double>();
1240  t_L1TauJetPhi = new std::vector<double>();
1241  t_L1MuonPt = new std::vector<double>();
1242  t_L1MuonEta = new std::vector<double>();
1243  t_L1MuonPhi = new std::vector<double>();
1244  t_L1IsoEMPt = new std::vector<double>();
1245  t_L1IsoEMEta = new std::vector<double>();
1246  t_L1IsoEMPhi = new std::vector<double>();
1247  t_L1NonIsoEMPt = new std::vector<double>();
1248  t_L1NonIsoEMEta = new std::vector<double>();
1249  t_L1NonIsoEMPhi = new std::vector<double>();
1250  t_L1METPt = new std::vector<double>();
1251  t_L1METEta = new std::vector<double>();
1252  t_L1METPhi = new std::vector<double>();
1253 
1254  //tree_->Branch("t_nEvtProc", "std::vector<int>", &t_nEvtProc);
1255 
1256  tree_->Branch("t_isoTrkPAll", "std::vector<double>", &t_isoTrkPAll);
1257  tree_->Branch("t_isoTrkPtAll", "std::vector<double>", &t_isoTrkPtAll);
1258  tree_->Branch("t_isoTrkPhiAll", "std::vector<double>", &t_isoTrkPhiAll);
1259  tree_->Branch("t_isoTrkEtaAll", "std::vector<double>", &t_isoTrkEtaAll);
1260  tree_->Branch("t_isoTrkDPhiAll", "std::vector<double>", &t_isoTrkDPhiAll);
1261  tree_->Branch("t_isoTrkDEtaAll", "std::vector<double>", &t_isoTrkDEtaAll);
1262  tree_->Branch("t_isoTrkPdgIdAll", "std::vector<double>", &t_isoTrkPdgIdAll);
1263 
1264  tree_->Branch("t_isoTrkP", "std::vector<double>", &t_isoTrkP);
1265  tree_->Branch("t_isoTrkPt", "std::vector<double>", &t_isoTrkPt);
1266  tree_->Branch("t_isoTrkEne", "std::vector<double>", &t_isoTrkEne);
1267  tree_->Branch("t_isoTrkEta", "std::vector<double>", &t_isoTrkEta);
1268  tree_->Branch("t_isoTrkPhi", "std::vector<double>", &t_isoTrkPhi);
1269  tree_->Branch("t_isoTrkEtaEC", "std::vector<double>", &t_isoTrkEtaEC);
1270  tree_->Branch("t_isoTrkPhiEC", "std::vector<double>", &t_isoTrkPhiEC);
1271  tree_->Branch("t_isoTrkPdgId", "std::vector<double>", &t_isoTrkPdgId);
1272 
1273  tree_->Branch("t_maxNearP31x31", "std::vector<double>", &t_maxNearP31x31);
1274  tree_->Branch("t_cHadronEne31x31", "std::vector<double>", &t_cHadronEne31x31);
1275  tree_->Branch("t_cHadronEne31x31_1", "std::vector<double>", &t_cHadronEne31x31_1);
1276  tree_->Branch("t_cHadronEne31x31_2", "std::vector<double>", &t_cHadronEne31x31_2);
1277  tree_->Branch("t_cHadronEne31x31_3", "std::vector<double>", &t_cHadronEne31x31_3);
1278  tree_->Branch("t_nHadronEne31x31", "std::vector<double>", &t_nHadronEne31x31);
1279  tree_->Branch("t_photonEne31x31", "std::vector<double>", &t_photonEne31x31);
1280  tree_->Branch("t_eleEne31x31", "std::vector<double>", &t_eleEne31x31);
1281  tree_->Branch("t_muEne31x31", "std::vector<double>", &t_muEne31x31);
1282 
1283  tree_->Branch("t_maxNearP25x25", "std::vector<double>", &t_maxNearP25x25);
1284  tree_->Branch("t_cHadronEne25x25", "std::vector<double>", &t_cHadronEne25x25);
1285  tree_->Branch("t_cHadronEne25x25_1", "std::vector<double>", &t_cHadronEne25x25_1);
1286  tree_->Branch("t_cHadronEne25x25_2", "std::vector<double>", &t_cHadronEne25x25_2);
1287  tree_->Branch("t_cHadronEne25x25_3", "std::vector<double>", &t_cHadronEne25x25_3);
1288  tree_->Branch("t_nHadronEne25x25", "std::vector<double>", &t_nHadronEne25x25);
1289  tree_->Branch("t_photonEne25x25", "std::vector<double>", &t_photonEne25x25);
1290  tree_->Branch("t_eleEne25x25", "std::vector<double>", &t_eleEne25x25);
1291  tree_->Branch("t_muEne25x25", "std::vector<double>", &t_muEne25x25);
1292 
1293  tree_->Branch("t_maxNearP21x21", "std::vector<double>", &t_maxNearP21x21);
1294  tree_->Branch("t_cHadronEne21x21", "std::vector<double>", &t_cHadronEne21x21);
1295  tree_->Branch("t_cHadronEne21x21_1", "std::vector<double>", &t_cHadronEne21x21_1);
1296  tree_->Branch("t_cHadronEne21x21_2", "std::vector<double>", &t_cHadronEne21x21_2);
1297  tree_->Branch("t_cHadronEne21x21_3", "std::vector<double>", &t_cHadronEne21x21_3);
1298  tree_->Branch("t_nHadronEne21x21", "std::vector<double>", &t_nHadronEne21x21);
1299  tree_->Branch("t_photonEne21x21", "std::vector<double>", &t_photonEne21x21);
1300  tree_->Branch("t_eleEne21x21", "std::vector<double>", &t_eleEne21x21);
1301  tree_->Branch("t_muEne21x21", "std::vector<double>", &t_muEne21x21);
1302 
1303  tree_->Branch("t_maxNearP15x15", "std::vector<double>", &t_maxNearP15x15);
1304  tree_->Branch("t_cHadronEne15x15", "std::vector<double>", &t_cHadronEne15x15);
1305  tree_->Branch("t_cHadronEne15x15_1", "std::vector<double>", &t_cHadronEne15x15_1);
1306  tree_->Branch("t_cHadronEne15x15_2", "std::vector<double>", &t_cHadronEne15x15_2);
1307  tree_->Branch("t_cHadronEne15x15_3", "std::vector<double>", &t_cHadronEne15x15_3);
1308  tree_->Branch("t_nHadronEne15x15", "std::vector<double>", &t_nHadronEne15x15);
1309  tree_->Branch("t_photonEne15x15", "std::vector<double>", &t_photonEne15x15);
1310  tree_->Branch("t_eleEne15x15", "std::vector<double>", &t_eleEne15x15);
1311  tree_->Branch("t_muEne15x15", "std::vector<double>", &t_muEne15x15);
1312 
1313  tree_->Branch("t_maxNearP11x11", "std::vector<double>", &t_maxNearP11x11);
1314  tree_->Branch("t_cHadronEne11x11", "std::vector<double>", &t_cHadronEne11x11);
1315  tree_->Branch("t_cHadronEne11x11_1", "std::vector<double>", &t_cHadronEne11x11_1);
1316  tree_->Branch("t_cHadronEne11x11_2", "std::vector<double>", &t_cHadronEne11x11_2);
1317  tree_->Branch("t_cHadronEne11x11_3", "std::vector<double>", &t_cHadronEne11x11_3);
1318  tree_->Branch("t_nHadronEne11x11", "std::vector<double>", &t_nHadronEne11x11);
1319  tree_->Branch("t_photonEne11x11", "std::vector<double>", &t_photonEne11x11);
1320  tree_->Branch("t_eleEne11x11", "std::vector<double>", &t_eleEne11x11);
1321  tree_->Branch("t_muEne11x11", "std::vector<double>", &t_muEne11x11);
1322 
1323  tree_->Branch("t_maxNearP9x9", "std::vector<double>", &t_maxNearP9x9);
1324  tree_->Branch("t_cHadronEne9x9", "std::vector<double>", &t_cHadronEne9x9);
1325  tree_->Branch("t_cHadronEne9x9_1", "std::vector<double>", &t_cHadronEne9x9_1);
1326  tree_->Branch("t_cHadronEne9x9_2", "std::vector<double>", &t_cHadronEne9x9_2);
1327  tree_->Branch("t_cHadronEne9x9_3", "std::vector<double>", &t_cHadronEne9x9_3);
1328  tree_->Branch("t_nHadronEne9x9", "std::vector<double>", &t_nHadronEne9x9);
1329  tree_->Branch("t_photonEne9x9", "std::vector<double>", &t_photonEne9x9);
1330  tree_->Branch("t_eleEne9x9", "std::vector<double>", &t_eleEne9x9);
1331  tree_->Branch("t_muEne9x9", "std::vector<double>", &t_muEne9x9);
1332 
1333  tree_->Branch("t_maxNearP7x7", "std::vector<double>", &t_maxNearP7x7);
1334  tree_->Branch("t_cHadronEne7x7", "std::vector<double>", &t_cHadronEne7x7);
1335  tree_->Branch("t_cHadronEne7x7_1", "std::vector<double>", &t_cHadronEne7x7_1);
1336  tree_->Branch("t_cHadronEne7x7_2", "std::vector<double>", &t_cHadronEne7x7_2);
1337  tree_->Branch("t_cHadronEne7x7_3", "std::vector<double>", &t_cHadronEne7x7_3);
1338  tree_->Branch("t_nHadronEne7x7", "std::vector<double>", &t_nHadronEne7x7);
1339  tree_->Branch("t_photonEne7x7", "std::vector<double>", &t_photonEne7x7);
1340  tree_->Branch("t_eleEne7x7", "std::vector<double>", &t_eleEne7x7);
1341  tree_->Branch("t_muEne7x7", "std::vector<double>", &t_muEne7x7);
1342 
1343  tree_->Branch("t_maxNearP3x3", "std::vector<double>", &t_maxNearP3x3);
1344  tree_->Branch("t_cHadronEne3x3", "std::vector<double>", &t_cHadronEne3x3);
1345  tree_->Branch("t_cHadronEne3x3_1", "std::vector<double>", &t_cHadronEne3x3_1);
1346  tree_->Branch("t_cHadronEne3x3_2", "std::vector<double>", &t_cHadronEne3x3_2);
1347  tree_->Branch("t_cHadronEne3x3_3", "std::vector<double>", &t_cHadronEne3x3_3);
1348  tree_->Branch("t_nHadronEne3x3", "std::vector<double>", &t_nHadronEne3x3);
1349  tree_->Branch("t_photonEne3x3", "std::vector<double>", &t_photonEne3x3);
1350  tree_->Branch("t_eleEne3x3", "std::vector<double>", &t_eleEne3x3);
1351  tree_->Branch("t_muEne3x3", "std::vector<double>", &t_muEne3x3);
1352 
1353  tree_->Branch("t_maxNearP1x1", "std::vector<double>", &t_maxNearP1x1);
1354  tree_->Branch("t_cHadronEne1x1", "std::vector<double>", &t_cHadronEne1x1);
1355  tree_->Branch("t_cHadronEne1x1_1", "std::vector<double>", &t_cHadronEne1x1_1);
1356  tree_->Branch("t_cHadronEne1x1_2", "std::vector<double>", &t_cHadronEne1x1_2);
1357  tree_->Branch("t_cHadronEne1x1_3", "std::vector<double>", &t_cHadronEne1x1_3);
1358  tree_->Branch("t_nHadronEne1x1", "std::vector<double>", &t_nHadronEne1x1);
1359  tree_->Branch("t_photonEne1x1", "std::vector<double>", &t_photonEne1x1);
1360  tree_->Branch("t_eleEne1x1", "std::vector<double>", &t_eleEne1x1);
1361  tree_->Branch("t_muEne1x1", "std::vector<double>", &t_muEne1x1);
1362 
1363  tree_->Branch("t_maxNearPHC1x1", "std::vector<double>", &t_maxNearPHC1x1);
1364  tree_->Branch("t_cHadronEneHC1x1", "std::vector<double>", &t_cHadronEneHC1x1);
1365  tree_->Branch("t_cHadronEneHC1x1_1", "std::vector<double>", &t_cHadronEneHC1x1_1);
1366  tree_->Branch("t_cHadronEneHC1x1_2", "std::vector<double>", &t_cHadronEneHC1x1_2);
1367  tree_->Branch("t_cHadronEneHC1x1_3", "std::vector<double>", &t_cHadronEneHC1x1_3);
1368  tree_->Branch("t_nHadronEneHC1x1", "std::vector<double>", &t_nHadronEneHC1x1);
1369  tree_->Branch("t_photonEneHC1x1", "std::vector<double>", &t_photonEneHC1x1);
1370  tree_->Branch("t_eleEneHC1x1", "std::vector<double>", &t_eleEneHC1x1);
1371  tree_->Branch("t_muEneHC1x1", "std::vector<double>", &t_muEneHC1x1);
1372 
1373  tree_->Branch("t_maxNearPHC3x3", "std::vector<double>", &t_maxNearPHC3x3);
1374  tree_->Branch("t_cHadronEneHC3x3", "std::vector<double>", &t_cHadronEneHC3x3);
1375  tree_->Branch("t_cHadronEneHC3x3_1", "std::vector<double>", &t_cHadronEneHC3x3_1);
1376  tree_->Branch("t_cHadronEneHC3x3_2", "std::vector<double>", &t_cHadronEneHC3x3_2);
1377  tree_->Branch("t_cHadronEneHC3x3_3", "std::vector<double>", &t_cHadronEneHC3x3_3);
1378  tree_->Branch("t_nHadronEneHC3x3", "std::vector<double>", &t_nHadronEneHC3x3);
1379  tree_->Branch("t_photonEneHC3x3", "std::vector<double>", &t_photonEneHC3x3);
1380  tree_->Branch("t_eleEneHC3x3", "std::vector<double>", &t_eleEneHC3x3);
1381  tree_->Branch("t_muEneHC3x3", "std::vector<double>", &t_muEneHC3x3);
1382 
1383  tree_->Branch("t_maxNearPHC5x5", "std::vector<double>", &t_maxNearPHC5x5);
1384  tree_->Branch("t_cHadronEneHC5x5", "std::vector<double>", &t_cHadronEneHC5x5);
1385  tree_->Branch("t_cHadronEneHC5x5_1", "std::vector<double>", &t_cHadronEneHC5x5_1);
1386  tree_->Branch("t_cHadronEneHC5x5_2", "std::vector<double>", &t_cHadronEneHC5x5_2);
1387  tree_->Branch("t_cHadronEneHC5x5_3", "std::vector<double>", &t_cHadronEneHC5x5_3);
1388  tree_->Branch("t_nHadronEneHC5x5", "std::vector<double>", &t_nHadronEneHC5x5);
1389  tree_->Branch("t_photonEneHC5x5", "std::vector<double>", &t_photonEneHC5x5);
1390  tree_->Branch("t_eleEneHC5x5", "std::vector<double>", &t_eleEneHC5x5);
1391  tree_->Branch("t_muEneHC5x5", "std::vector<double>", &t_muEneHC5x5);
1392 
1393  tree_->Branch("t_maxNearPHC7x7", "std::vector<double>", &t_maxNearPHC7x7);
1394  tree_->Branch("t_cHadronEneHC7x7", "std::vector<double>", &t_cHadronEneHC7x7);
1395  tree_->Branch("t_cHadronEneHC7x7_1", "std::vector<double>", &t_cHadronEneHC7x7_1);
1396  tree_->Branch("t_cHadronEneHC7x7_2", "std::vector<double>", &t_cHadronEneHC7x7_2);
1397  tree_->Branch("t_cHadronEneHC7x7_3", "std::vector<double>", &t_cHadronEneHC7x7_3);
1398  tree_->Branch("t_nHadronEneHC7x7", "std::vector<double>", &t_nHadronEneHC7x7);
1399  tree_->Branch("t_photonEneHC7x7", "std::vector<double>", &t_photonEneHC7x7);
1400  tree_->Branch("t_eleEneHC7x7", "std::vector<double>", &t_eleEneHC7x7);
1401  tree_->Branch("t_muEneHC7x7", "std::vector<double>", &t_muEneHC7x7);
1402 
1403  tree_->Branch("t_maxNearPR", "std::vector<double>", &t_maxNearPR);
1404  tree_->Branch("t_cHadronEneR", "std::vector<double>", &t_cHadronEneR);
1405  tree_->Branch("t_cHadronEneR_1", "std::vector<double>", &t_cHadronEneR_1);
1406  tree_->Branch("t_cHadronEneR_2", "std::vector<double>", &t_cHadronEneR_2);
1407  tree_->Branch("t_cHadronEneR_3", "std::vector<double>", &t_cHadronEneR_3);
1408  tree_->Branch("t_nHadronEneR", "std::vector<double>", &t_nHadronEneR);
1409  tree_->Branch("t_photonEneR", "std::vector<double>", &t_photonEneR);
1410  tree_->Branch("t_eleEneR", "std::vector<double>", &t_eleEneR);
1411  tree_->Branch("t_muEneR", "std::vector<double>", &t_muEneR);
1412 
1413  tree_->Branch("t_maxNearPIsoR", "std::vector<double>", &t_maxNearPIsoR);
1414  tree_->Branch("t_cHadronEneIsoR", "std::vector<double>", &t_cHadronEneIsoR);
1415  tree_->Branch("t_cHadronEneIsoR_1", "std::vector<double>", &t_cHadronEneIsoR_1);
1416  tree_->Branch("t_cHadronEneIsoR_2", "std::vector<double>", &t_cHadronEneIsoR_2);
1417  tree_->Branch("t_cHadronEneIsoR_3", "std::vector<double>", &t_cHadronEneIsoR_3);
1418  tree_->Branch("t_nHadronEneIsoR", "std::vector<double>", &t_nHadronEneIsoR);
1419  tree_->Branch("t_photonEneIsoR", "std::vector<double>", &t_photonEneIsoR);
1420  tree_->Branch("t_eleEneIsoR", "std::vector<double>", &t_eleEneIsoR);
1421  tree_->Branch("t_muEneIsoR", "std::vector<double>", &t_muEneIsoR);
1422 
1423  tree_->Branch("t_maxNearPHCR", "std::vector<double>", &t_maxNearPHCR);
1424  tree_->Branch("t_cHadronEneHCR", "std::vector<double>", &t_cHadronEneHCR);
1425  tree_->Branch("t_cHadronEneHCR_1", "std::vector<double>", &t_cHadronEneHCR_1);
1426  tree_->Branch("t_cHadronEneHCR_2", "std::vector<double>", &t_cHadronEneHCR_2);
1427  tree_->Branch("t_cHadronEneHCR_3", "std::vector<double>", &t_cHadronEneHCR_3);
1428  tree_->Branch("t_nHadronEneHCR", "std::vector<double>", &t_nHadronEneHCR);
1429  tree_->Branch("t_photonEneHCR", "std::vector<double>", &t_photonEneHCR);
1430  tree_->Branch("t_eleEneHCR", "std::vector<double>", &t_eleEneHCR);
1431  tree_->Branch("t_muEneHCR", "std::vector<double>", &t_muEneHCR);
1432 
1433  tree_->Branch("t_maxNearPIsoHCR", "std::vector<double>", &t_maxNearPIsoHCR);
1434  tree_->Branch("t_cHadronEneIsoHCR", "std::vector<double>", &t_cHadronEneIsoHCR);
1435  tree_->Branch("t_cHadronEneIsoHCR_1", "std::vector<double>", &t_cHadronEneIsoHCR_1);
1436  tree_->Branch("t_cHadronEneIsoHCR_2", "std::vector<double>", &t_cHadronEneIsoHCR_2);
1437  tree_->Branch("t_cHadronEneIsoHCR_3", "std::vector<double>", &t_cHadronEneIsoHCR_3);
1438  tree_->Branch("t_nHadronEneIsoHCR", "std::vector<double>", &t_nHadronEneIsoHCR);
1439  tree_->Branch("t_photonEneIsoHCR", "std::vector<double>", &t_photonEneIsoHCR);
1440  tree_->Branch("t_eleEneIsoHCR", "std::vector<double>", &t_eleEneIsoHCR);
1441  tree_->Branch("t_muEneIsoHCR", "std::vector<double>", &t_muEneIsoHCR);
1442 
1443  tree_->Branch("t_L1Decision", "std::vector<int>", &t_L1Decision);
1444  tree_->Branch("t_L1CenJetPt", "std::vector<double>", &t_L1CenJetPt);
1445  tree_->Branch("t_L1CenJetEta", "std::vector<double>", &t_L1CenJetEta);
1446  tree_->Branch("t_L1CenJetPhi", "std::vector<double>", &t_L1CenJetPhi);
1447  tree_->Branch("t_L1FwdJetPt", "std::vector<double>", &t_L1FwdJetPt);
1448  tree_->Branch("t_L1FwdJetEta", "std::vector<double>", &t_L1FwdJetEta);
1449  tree_->Branch("t_L1FwdJetPhi", "std::vector<double>", &t_L1FwdJetPhi);
1450  tree_->Branch("t_L1TauJetPt", "std::vector<double>", &t_L1TauJetPt);
1451  tree_->Branch("t_L1TauJetEta", "std::vector<double>", &t_L1TauJetEta);
1452  tree_->Branch("t_L1TauJetPhi", "std::vector<double>", &t_L1TauJetPhi);
1453  tree_->Branch("t_L1MuonPt", "std::vector<double>", &t_L1MuonPt);
1454  tree_->Branch("t_L1MuonEta", "std::vector<double>", &t_L1MuonEta);
1455  tree_->Branch("t_L1MuonPhi", "std::vector<double>", &t_L1MuonPhi);
1456  tree_->Branch("t_L1IsoEMPt", "std::vector<double>", &t_L1IsoEMPt);
1457  tree_->Branch("t_L1IsoEMEta", "std::vector<double>", &t_L1IsoEMEta);
1458  tree_->Branch("t_L1IsoEMPhi", "std::vector<double>", &t_L1IsoEMPhi);
1459  tree_->Branch("t_L1NonIsoEMPt", "std::vector<double>", &t_L1NonIsoEMPt);
1460  tree_->Branch("t_L1NonIsoEMEta", "std::vector<double>", &t_L1NonIsoEMEta);
1461  tree_->Branch("t_L1NonIsoEMPhi", "std::vector<double>", &t_L1NonIsoEMPhi);
1462  tree_->Branch("t_L1METPt", "std::vector<double>", &t_L1METPt);
1463  tree_->Branch("t_L1METEta", "std::vector<double>", &t_L1METEta);
1464  tree_->Branch("t_L1METPhi", "std::vector<double>", &t_L1METPhi);
1465 }
1466 
1468  // t_maxNearP31x31 ->clear();
1469  // t_nEvtProc ->clear();
1470 
1471  t_isoTrkPAll->clear();
1472  t_isoTrkPtAll->clear();
1473  t_isoTrkPhiAll->clear();
1474  t_isoTrkEtaAll->clear();
1475  t_isoTrkDPhiAll->clear();
1476  t_isoTrkDEtaAll->clear();
1477  t_isoTrkPdgIdAll->clear();
1478 
1479  t_isoTrkP->clear();
1480  t_isoTrkPt->clear();
1481  t_isoTrkEne->clear();
1482  t_isoTrkEta->clear();
1483  t_isoTrkPhi->clear();
1484  t_isoTrkEtaEC->clear();
1485  t_isoTrkPhiEC->clear();
1486  t_isoTrkPdgId->clear();
1487 
1488  t_maxNearP31x31->clear();
1489  t_cHadronEne31x31->clear();
1490  t_cHadronEne31x31_1->clear();
1491  t_cHadronEne31x31_2->clear();
1492  t_cHadronEne31x31_3->clear();
1493  t_nHadronEne31x31->clear();
1494  t_photonEne31x31->clear();
1495  t_eleEne31x31->clear();
1496  t_muEne31x31->clear();
1497 
1498  t_maxNearP25x25->clear();
1499  t_cHadronEne25x25->clear();
1500  t_cHadronEne25x25_1->clear();
1501  t_cHadronEne25x25_2->clear();
1502  t_cHadronEne25x25_3->clear();
1503  t_nHadronEne25x25->clear();
1504  t_photonEne25x25->clear();
1505  t_eleEne25x25->clear();
1506  t_muEne25x25->clear();
1507 
1508  t_maxNearP21x21->clear();
1509  t_cHadronEne21x21->clear();
1510  t_cHadronEne21x21_1->clear();
1511  t_cHadronEne21x21_2->clear();
1512  t_cHadronEne21x21_3->clear();
1513  t_nHadronEne21x21->clear();
1514  t_photonEne21x21->clear();
1515  t_eleEne21x21->clear();
1516  t_muEne21x21->clear();
1517 
1518  t_maxNearP15x15->clear();
1519  t_cHadronEne15x15->clear();
1520  t_cHadronEne15x15_1->clear();
1521  t_cHadronEne15x15_2->clear();
1522  t_cHadronEne15x15_3->clear();
1523  t_nHadronEne15x15->clear();
1524  t_photonEne15x15->clear();
1525  t_eleEne15x15->clear();
1526  t_muEne15x15->clear();
1527 
1528  t_maxNearP11x11->clear();
1529  t_cHadronEne11x11->clear();
1530  t_cHadronEne11x11_1->clear();
1531  t_cHadronEne11x11_2->clear();
1532  t_cHadronEne11x11_3->clear();
1533  t_nHadronEne11x11->clear();
1534  t_photonEne11x11->clear();
1535  t_eleEne11x11->clear();
1536  t_muEne11x11->clear();
1537 
1538  t_maxNearP9x9->clear();
1539  t_cHadronEne9x9->clear();
1540  t_cHadronEne9x9_1->clear();
1541  t_cHadronEne9x9_2->clear();
1542  t_cHadronEne9x9_3->clear();
1543  t_nHadronEne9x9->clear();
1544  t_photonEne9x9->clear();
1545  t_eleEne9x9->clear();
1546  t_muEne9x9->clear();
1547 
1548  t_maxNearP7x7->clear();
1549  t_cHadronEne7x7->clear();
1550  t_cHadronEne7x7_1->clear();
1551  t_cHadronEne7x7_2->clear();
1552  t_cHadronEne7x7_3->clear();
1553  t_nHadronEne7x7->clear();
1554  t_photonEne7x7->clear();
1555  t_eleEne7x7->clear();
1556  t_muEne7x7->clear();
1557 
1558  t_maxNearP3x3->clear();
1559  t_cHadronEne3x3->clear();
1560  t_cHadronEne3x3_1->clear();
1561  t_cHadronEne3x3_2->clear();
1562  t_cHadronEne3x3_3->clear();
1563  t_nHadronEne3x3->clear();
1564  t_photonEne3x3->clear();
1565  t_eleEne3x3->clear();
1566  t_muEne3x3->clear();
1567 
1568  t_maxNearP1x1->clear();
1569  t_cHadronEne1x1->clear();
1570  t_cHadronEne1x1_1->clear();
1571  t_cHadronEne1x1_2->clear();
1572  t_cHadronEne1x1_3->clear();
1573  t_nHadronEne1x1->clear();
1574  t_photonEne1x1->clear();
1575  t_eleEne1x1->clear();
1576  t_muEne1x1->clear();
1577 
1578  t_maxNearPHC1x1->clear();
1579  t_cHadronEneHC1x1->clear();
1580  t_cHadronEneHC1x1_1->clear();
1581  t_cHadronEneHC1x1_2->clear();
1582  t_cHadronEneHC1x1_3->clear();
1583  t_nHadronEneHC1x1->clear();
1584  t_photonEneHC1x1->clear();
1585  t_eleEneHC1x1->clear();
1586  t_muEneHC1x1->clear();
1587 
1588  t_maxNearPHC3x3->clear();
1589  t_cHadronEneHC3x3->clear();
1590  t_cHadronEneHC3x3_1->clear();
1591  t_cHadronEneHC3x3_2->clear();
1592  t_cHadronEneHC3x3_3->clear();
1593  t_nHadronEneHC3x3->clear();
1594  t_photonEneHC3x3->clear();
1595  t_eleEneHC3x3->clear();
1596  t_muEneHC3x3->clear();
1597 
1598  t_maxNearPHC5x5->clear();
1599  t_cHadronEneHC5x5->clear();
1600  t_cHadronEneHC5x5_1->clear();
1601  t_cHadronEneHC5x5_2->clear();
1602  t_cHadronEneHC5x5_3->clear();
1603  t_nHadronEneHC5x5->clear();
1604  t_photonEneHC5x5->clear();
1605  t_eleEneHC5x5->clear();
1606  t_muEneHC5x5->clear();
1607 
1608  t_maxNearPHC7x7->clear();
1609  t_cHadronEneHC7x7->clear();
1610  t_cHadronEneHC7x7_1->clear();
1611  t_cHadronEneHC7x7_2->clear();
1612  t_cHadronEneHC7x7_3->clear();
1613  t_nHadronEneHC7x7->clear();
1614  t_photonEneHC7x7->clear();
1615  t_eleEneHC7x7->clear();
1616  t_muEneHC7x7->clear();
1617 
1618  t_maxNearPR->clear();
1619  t_cHadronEneR->clear();
1620  t_cHadronEneR_1->clear();
1621  t_cHadronEneR_2->clear();
1622  t_cHadronEneR_3->clear();
1623  t_nHadronEneR->clear();
1624  t_photonEneR->clear();
1625  t_eleEneR->clear();
1626  t_muEneR->clear();
1627 
1628  t_maxNearPIsoR->clear();
1629  t_cHadronEneIsoR->clear();
1630  t_cHadronEneIsoR_1->clear();
1631  t_cHadronEneIsoR_2->clear();
1632  t_cHadronEneIsoR_3->clear();
1633  t_nHadronEneIsoR->clear();
1634  t_photonEneIsoR->clear();
1635  t_eleEneIsoR->clear();
1636  t_muEneIsoR->clear();
1637 
1638  t_maxNearPHCR->clear();
1639  t_cHadronEneHCR->clear();
1640  t_cHadronEneHCR_1->clear();
1641  t_cHadronEneHCR_2->clear();
1642  t_cHadronEneHCR_3->clear();
1643  t_nHadronEneHCR->clear();
1644  t_photonEneHCR->clear();
1645  t_eleEneHCR->clear();
1646  t_muEneHCR->clear();
1647 
1648  t_maxNearPIsoHCR->clear();
1649  t_cHadronEneIsoHCR->clear();
1650  t_cHadronEneIsoHCR_1->clear();
1651  t_cHadronEneIsoHCR_2->clear();
1652  t_cHadronEneIsoHCR_3->clear();
1653  t_nHadronEneIsoHCR->clear();
1654  t_photonEneIsoHCR->clear();
1655  t_eleEneIsoHCR->clear();
1656  t_muEneIsoHCR->clear();
1657 
1658  t_L1Decision->clear();
1659  t_L1CenJetPt->clear();
1660  t_L1CenJetEta->clear();
1661  t_L1CenJetPhi->clear();
1662  t_L1FwdJetPt->clear();
1663  t_L1FwdJetEta->clear();
1664  t_L1FwdJetPhi->clear();
1665  t_L1TauJetPt->clear();
1666  t_L1TauJetEta->clear();
1667  t_L1TauJetPhi->clear();
1668  t_L1MuonPt->clear();
1669  t_L1MuonEta->clear();
1670  t_L1MuonPhi->clear();
1671  t_L1IsoEMPt->clear();
1672  t_L1IsoEMEta->clear();
1673  t_L1IsoEMPhi->clear();
1674  t_L1NonIsoEMPt->clear();
1675  t_L1NonIsoEMEta->clear();
1676  t_L1NonIsoEMPhi->clear();
1677  t_L1METPt->clear();
1678  t_L1METEta->clear();
1679  t_L1METPhi->clear();
1680 }
1681 
1683  int partID[Particles] = {11, -11, 21, 211, -211, 321, -321, 2212, 2112, -2212, -2112, 130};
1684  int ix = -1;
1685  for (int ik = 0; ik < Particles; ++ik) {
1686  if (pdgId == partID[ik]) {
1687  ix = ik;
1688  break;
1689  }
1690  }
1691  return ix;
1692 }
1693 
1694 //define this as a plug-in
IsolatedGenParticles::tok_L1extNonIsoEm_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > tok_L1extNonIsoEm_
Definition: IsolatedGenParticles.cc:153
IsolatedGenParticles::etaMax_
double etaMax_
Definition: IsolatedGenParticles.cc:135
IsolatedGenParticles::t_maxNearP3x3
std::vector< double > * t_maxNearP3x3
Definition: IsolatedGenParticles.cc:230
IsolatedGenParticles::t_L1NonIsoEMEta
std::vector< double > * t_L1NonIsoEMEta
Definition: IsolatedGenParticles.cc:306
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
IsolatedGenParticles::t_maxNearPIsoHCR
std::vector< double > * t_maxNearPIsoHCR
Definition: IsolatedGenParticles.cc:293
IsolatedGenParticles::t_cHadronEneIsoR_3
std::vector< double > * t_cHadronEneIsoR_3
Definition: IsolatedGenParticles.cc:280
L1GtTriggerMenu.h
IsolatedGenParticles::t_cHadronEne21x21
std::vector< double > * t_cHadronEne21x21
Definition: IsolatedGenParticles.cc:196
IsolatedGenParticles::t_cHadronEne11x11
std::vector< double > * t_cHadronEne11x11
Definition: IsolatedGenParticles.cc:210
IsolatedGenParticles::t_photonEneHC1x1
std::vector< double > * t_photonEneHC1x1
Definition: IsolatedGenParticles.cc:247
IsolatedGenParticles::t_cHadronEne11x11_3
std::vector< double > * t_cHadronEne11x11_3
Definition: IsolatedGenParticles.cc:210
IsolatedGenParticles::t_isoTrkPAll
std::vector< double > * t_isoTrkPAll
Definition: IsolatedGenParticles.cc:164
IsolatedGenParticles::t_cHadronEneHCR
std::vector< double > * t_cHadronEneHCR
Definition: IsolatedGenParticles.cc:287
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
electrons_cff.bool
bool
Definition: electrons_cff.py:393
EDAnalyzer.h
IsolatedGenParticles::t_cHadronEne15x15_1
std::vector< double > * t_cHadronEne15x15_1
Definition: IsolatedGenParticles.cc:203
mps_fire.i
i
Definition: mps_fire.py:428
IsolatedGenParticles::t_cHadronEne7x7_3
std::vector< double > * t_cHadronEne7x7_3
Definition: IsolatedGenParticles.cc:224
spr::genSimInfo::eleEne
double eleEne
Definition: GenSimInfo.h:46
FreeTrajectoryState.h
CaloNavigator.h
IsolatedGenParticles::t_eleEneHC3x3
std::vector< double > * t_eleEneHC3x3
Definition: IsolatedGenParticles.cc:255
genParticles2HepMC_cfi.genParticles
genParticles
Definition: genParticles2HepMC_cfi.py:4
IsolatedGenParticles::t_isoTrkPhiEC
std::vector< double > * t_isoTrkPhiEC
Definition: IsolatedGenParticles.cc:178
IsolatedGenParticles::a_coneR_
double a_coneR_
Definition: IsolatedGenParticles.cc:145
funct::false
false
Definition: Factorize.h:29
IsolatedGenParticles::fillIsolatedTrack
void fillIsolatedTrack(math::XYZTLorentzVector &momVec, GlobalPoint &posECAL, int pdgId)
Definition: IsolatedGenParticles.cc:834
IsolatedGenParticles::t_cHadronEne11x11_2
std::vector< double > * t_cHadronEne11x11_2
Definition: IsolatedGenParticles.cc:210
IsolatedGenParticles::t_nHadronEne1x1
std::vector< double > * t_nHadronEne1x1
Definition: IsolatedGenParticles.cc:239
IsolatedGenParticles::t_maxNearP1x1
std::vector< double > * t_maxNearP1x1
Definition: IsolatedGenParticles.cc:237
L1MuonParticleFwd.h
IsolatedGenParticles::t_maxNearP31x31
std::vector< double > * t_maxNearP31x31
Definition: IsolatedGenParticles.cc:181
IsolatedGenParticles::t_cHadronEneIsoR
std::vector< double > * t_cHadronEneIsoR
Definition: IsolatedGenParticles.cc:280
ESHandle.h
IsolatedGenParticles::t_cHadronEneHC3x3_1
std::vector< double > * t_cHadronEneHC3x3_1
Definition: IsolatedGenParticles.cc:252
etaBin
int etaBin(const l1t::HGCalMulticluster *cl)
Definition: L1EGammaEEProducer.cc:19
IsolatedGenParticles::t_eleEneHCR
std::vector< double > * t_eleEneHCR
Definition: IsolatedGenParticles.cc:290
IsolatedGenParticles::t_nHadronEneHC3x3
std::vector< double > * t_nHadronEneHC3x3
Definition: IsolatedGenParticles.cc:253
IsolatedGenParticles::t_cHadronEne15x15_2
std::vector< double > * t_cHadronEne15x15_2
Definition: IsolatedGenParticles.cc:203
IsolatedGenParticles::t_cHadronEne1x1_2
std::vector< double > * t_cHadronEne1x1_2
Definition: IsolatedGenParticles.cc:238
GenSimInfo.h
IsolatedGenParticles::t_muEne15x15
std::vector< double > * t_muEne15x15
Definition: IsolatedGenParticles.cc:207
IsolatedGenParticles::t_isoTrkPhiAll
std::vector< double > * t_isoTrkPhiAll
Definition: IsolatedGenParticles.cc:166
L1GlobalTriggerReadoutSetupFwd.h
reco::deltaPhi
constexpr double deltaPhi(double phi1, double phi2)
Definition: deltaPhi.h:26
deltaPhi.h
edm::EDGetTokenT< edm::HepMCProduct >
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
IsolatedGenParticles::NEtaBins_
static constexpr int NEtaBins_
Definition: IsolatedGenParticles.cc:131
IsolatedGenParticles::t_muEne7x7
std::vector< double > * t_muEne7x7
Definition: IsolatedGenParticles.cc:228
IsolatedGenParticles::tree_
TTree * tree_
Definition: IsolatedGenParticles.cc:162
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
IsolatedGenParticles::t_L1MuonEta
std::vector< double > * t_L1MuonEta
Definition: IsolatedGenParticles.cc:304
L1GtTriggerMenuRcd.h
IsolatedGenParticles::t_muEne31x31
std::vector< double > * t_muEne31x31
Definition: IsolatedGenParticles.cc:186
IsolatedGenParticles::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: IsolatedGenParticles.cc:388
IsolatedGenParticles::t_L1CenJetPt
std::vector< double > * t_L1CenJetPt
Definition: IsolatedGenParticles.cc:301
HcalTopology
Definition: HcalTopology.h:26
IsolatedGenParticles::particleCode
int particleCode(int)
Definition: IsolatedGenParticles.cc:1682
EBDetId.h
EEDetId.h
IsolatedGenParticles::t_L1NonIsoEMPt
std::vector< double > * t_L1NonIsoEMPt
Definition: IsolatedGenParticles.cc:306
IsolatedGenParticles::t_maxNearP21x21
std::vector< double > * t_maxNearP21x21
Definition: IsolatedGenParticles.cc:195
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89287
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
IsolatedGenParticles::t_eleEneR
std::vector< double > * t_eleEneR
Definition: IsolatedGenParticles.cc:276
IsolatedGenParticles::isoinfo11x11
spr::genSimInfo isoinfo11x11
Definition: IsolatedGenParticles.cc:309
IsolatedGenParticles::t_L1IsoEMPhi
std::vector< double > * t_L1IsoEMPhi
Definition: IsolatedGenParticles.cc:305
IsolatedGenParticles::t_cHadronEne9x9_3
std::vector< double > * t_cHadronEne9x9_3
Definition: IsolatedGenParticles.cc:217
IsolatedGenParticles::t_cHadronEne9x9_1
std::vector< double > * t_cHadronEne9x9_1
Definition: IsolatedGenParticles.cc:217
IsolatedGenParticles::t_eleEneIsoR
std::vector< double > * t_eleEneIsoR
Definition: IsolatedGenParticles.cc:283
IsolatedGenParticles::t_cHadronEneR_2
std::vector< double > * t_cHadronEneR_2
Definition: IsolatedGenParticles.cc:273
IsolatedGenParticles::tok_genParticles_
edm::EDGetTokenT< reco::GenParticleCollection > tok_genParticles_
Definition: IsolatedGenParticles.cc:140
IsolatedGenParticles::t_eleEneHC1x1
std::vector< double > * t_eleEneHC1x1
Definition: IsolatedGenParticles.cc:248
IsolatedGenParticles::isoinfo9x9
spr::genSimInfo isoinfo9x9
Definition: IsolatedGenParticles.cc:309
IsolatedGenParticles::t_eleEne25x25
std::vector< double > * t_eleEne25x25
Definition: IsolatedGenParticles.cc:192
IsolatedGenParticles::isoinfoIsoR
spr::genSimInfo isoinfoIsoR
Definition: IsolatedGenParticles.cc:312
IsolatedGenParticles::t_cHadronEne3x3_1
std::vector< double > * t_cHadronEne3x3_1
Definition: IsolatedGenParticles.cc:231
IsolatedGenParticles::h_NEventProc
TH1I * h_NEventProc
Definition: IsolatedGenParticles.cc:159
IsolatedGenParticles::t_maxNearPHC5x5
std::vector< double > * t_maxNearPHC5x5
Definition: IsolatedGenParticles.cc:258
IsolatedGenParticles::t_muEne11x11
std::vector< double > * t_muEne11x11
Definition: IsolatedGenParticles.cc:214
IsolatedGenParticles::t_cHadronEne1x1
std::vector< double > * t_cHadronEne1x1
Definition: IsolatedGenParticles.cc:238
TFileDirectory
Definition: TFileDirectory.h:24
CaloTopologyRecord
Definition: CaloTopologyRecord.h:10
IsolatedGenParticles::t_cHadronEneHC5x5_3
std::vector< double > * t_cHadronEneHC5x5_3
Definition: IsolatedGenParticles.cc:259
IsolatedGenParticles::t_cHadronEneIsoHCR_3
std::vector< double > * t_cHadronEneIsoHCR_3
Definition: IsolatedGenParticles.cc:294
edm::one::EDAnalyzer
Definition: EDAnalyzer.h:30
IsolatedGenParticles::t_cHadronEne25x25_1
std::vector< double > * t_cHadronEne25x25_1
Definition: IsolatedGenParticles.cc:189
IsolatedGenParticles::nEventProc
int nEventProc
Definition: IsolatedGenParticles.cc:133
IsolatedGenParticles::t_cHadronEne21x21_1
std::vector< double > * t_cHadronEne21x21_1
Definition: IsolatedGenParticles.cc:196
IsolatedGenParticles::t_photonEne11x11
std::vector< double > * t_photonEne11x11
Definition: IsolatedGenParticles.cc:212
convertSQLiteXML.ok
bool ok
Definition: convertSQLiteXML.py:98
edm::Handle< edm::HepMCProduct >
IsolatedGenParticles::t_eleEne15x15
std::vector< double > * t_eleEne15x15
Definition: IsolatedGenParticles.cc:206
IsolatedGenParticles::t_photonEne3x3
std::vector< double > * t_photonEne3x3
Definition: IsolatedGenParticles.cc:233
IsolatedGenParticles::t_cHadronEneHCR_2
std::vector< double > * t_cHadronEneHCR_2
Definition: IsolatedGenParticles.cc:287
IsolatedGenParticles::t_cHadronEne9x9
std::vector< double > * t_cHadronEne9x9
Definition: IsolatedGenParticles.cc:217
IsolatedGenParticles::t_nHadronEne3x3
std::vector< double > * t_nHadronEne3x3
Definition: IsolatedGenParticles.cc:232
CaloTopology
Definition: CaloTopology.h:19
IsolatedGenParticles::fillTrack
void fillTrack(GlobalPoint &posVec, math::XYZTLorentzVector &momVec, GlobalPoint &posECAL, int pdgId, bool okECAL, bool accpet)
Definition: IsolatedGenParticles.cc:809
IsolatedGenParticles::t_maxNearP9x9
std::vector< double > * t_maxNearP9x9
Definition: IsolatedGenParticles.cc:216
IsolatedGenParticles::t_photonEne15x15
std::vector< double > * t_photonEne15x15
Definition: IsolatedGenParticles.cc:205
IsolatedGenParticles::t_isoTrkEta
std::vector< double > * t_isoTrkEta
Definition: IsolatedGenParticles.cc:175
IsolatedGenParticles::tok_hepmc_
edm::EDGetTokenT< edm::HepMCProduct > tok_hepmc_
Definition: IsolatedGenParticles.cc:139
IsolatedGenParticles::t_maxNearPHC3x3
std::vector< double > * t_maxNearPHC3x3
Definition: IsolatedGenParticles.cc:251
EcalRecHitCollections.h
IsolatedGenParticles::t_nHadronEne7x7
std::vector< double > * t_nHadronEne7x7
Definition: IsolatedGenParticles.cc:225
IsolatedGenParticles::tok_L1extFwdJet_
edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extFwdJet_
Definition: IsolatedGenParticles.cc:156
IsolatedGenParticles::t_L1FwdJetEta
std::vector< double > * t_L1FwdJetEta
Definition: IsolatedGenParticles.cc:302
HepMC::GenEvent
Definition: hepmc_rootio.cc:9
IsolatedGenParticles::t_nHadronEne15x15
std::vector< double > * t_nHadronEne15x15
Definition: IsolatedGenParticles.cc:204
IsolatedGenParticles::t_cHadronEne15x15_3
std::vector< double > * t_cHadronEne15x15_3
Definition: IsolatedGenParticles.cc:203
IsolatedGenParticles::t_isoTrkEtaEC
std::vector< double > * t_isoTrkEtaEC
Definition: IsolatedGenParticles.cc:177
IsolatedGenParticles::isoinfo15x15
spr::genSimInfo isoinfo15x15
Definition: IsolatedGenParticles.cc:310
IsolatedGenParticles::t_photonEne9x9
std::vector< double > * t_photonEne9x9
Definition: IsolatedGenParticles.cc:219
IsolatedGenParticles::tok_L1GTobjmap_
edm::EDGetTokenT< L1GlobalTriggerObjectMapRecord > tok_L1GTobjmap_
Definition: IsolatedGenParticles.cc:150
IsolatedGenParticles::genPartPBins_
double genPartPBins_[NPBins_+1]
Definition: IsolatedGenParticles.cc:134
IsolatedGenParticles::t_photonEne21x21
std::vector< double > * t_photonEne21x21
Definition: IsolatedGenParticles.cc:198
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
accept
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
Definition: TopDQMHelpers.h:30
IsolatedGenParticles::t_cHadronEne25x25_3
std::vector< double > * t_cHadronEne25x25_3
Definition: IsolatedGenParticles.cc:189
MakerMacros.h
IsolatedGenParticles::t_cHadronEneHCR_3
std::vector< double > * t_cHadronEneHCR_3
Definition: IsolatedGenParticles.cc:287
IsolatedGenParticles::t_maxNearPR
std::vector< double > * t_maxNearPR
Definition: IsolatedGenParticles.cc:272
IsolatedGenParticles::t_cHadronEneIsoR_1
std::vector< double > * t_cHadronEneIsoR_1
Definition: IsolatedGenParticles.cc:280
IsolatedGenParticles::t_cHadronEne7x7
std::vector< double > * t_cHadronEne7x7
Definition: IsolatedGenParticles.cc:224
CaloGeometry
Definition: CaloGeometry.h:21
IsolatedGenParticles::t_maxNearPHCR
std::vector< double > * t_maxNearPHCR
Definition: IsolatedGenParticles.cc:286
IsolatedGenParticles::t_isoTrkP
std::vector< double > * t_isoTrkP
Definition: IsolatedGenParticles.cc:172
IsolatedGenParticles::t_isoTrkEne
std::vector< double > * t_isoTrkEne
Definition: IsolatedGenParticles.cc:174
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
DEFINE_FWK_MODULE
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
IsolatedGenParticles::t_isoTrkDPhiAll
std::vector< double > * t_isoTrkDPhiAll
Definition: IsolatedGenParticles.cc:170
edm::ConfigurationDescriptions::add
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Definition: ConfigurationDescriptions.cc:57
IsolatedGenParticles::t_isoTrkPtAll
std::vector< double > * t_isoTrkPtAll
Definition: IsolatedGenParticles.cc:165
IsolatedGenParticles::t_cHadronEne1x1_1
std::vector< double > * t_cHadronEne1x1_1
Definition: IsolatedGenParticles.cc:238
IsolatedGenParticles::bookHistograms
void bookHistograms()
Definition: IsolatedGenParticles.cc:1015
Service.h
PVValHelper::eta
Definition: PVValidationHelpers.h:69
spr::genSimInfo::muEne
double muEne
Definition: GenSimInfo.h:46
ChargeIsolation.h
IsolatedGenParticles::t_nHadronEne25x25
std::vector< double > * t_nHadronEne25x25
Definition: IsolatedGenParticles.cc:190
IsolatedGenParticles::isoinfoR
spr::genSimInfo isoinfoR
Definition: IsolatedGenParticles.cc:312
IsolatedGenParticles::t_cHadronEne9x9_2
std::vector< double > * t_cHadronEne9x9_2
Definition: IsolatedGenParticles.cc:217
IsolatedGenParticles::isoinfo25x25
spr::genSimInfo isoinfo25x25
Definition: IsolatedGenParticles.cc:310
IsolatedGenParticles::t_cHadronEne21x21_2
std::vector< double > * t_cHadronEne21x21_2
Definition: IsolatedGenParticles.cc:196
IsolatedGenParticles::a_charIsoR_
double a_charIsoR_
Definition: IsolatedGenParticles.cc:145
IsolatedGenParticles::t_cHadronEne3x3
std::vector< double > * t_cHadronEne3x3
Definition: IsolatedGenParticles.cc:231
GloballyPositioned.h
IsolatedGenParticles::t_nHadronEneHCR
std::vector< double > * t_nHadronEneHCR
Definition: IsolatedGenParticles.cc:288
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
IsolatedGenParticles::t_cHadronEne3x3_2
std::vector< double > * t_cHadronEne3x3_2
Definition: IsolatedGenParticles.cc:231
p2
double p2[4]
Definition: TauolaWrapper.h:90
IsolatedGenParticles::t_cHadronEne15x15
std::vector< double > * t_cHadronEne15x15
Definition: IsolatedGenParticles.cc:203
IsolatedGenParticles::a_neutIsoR_
double a_neutIsoR_
Definition: IsolatedGenParticles.cc:145
IsolatedGenParticles::useHepMC_
bool useHepMC_
Definition: IsolatedGenParticles.cc:142
IsolatedGenParticles::a_Isolation_
bool a_Isolation_
Definition: IsolatedGenParticles.cc:136
IsolatedGenParticles::t_cHadronEne31x31
std::vector< double > * t_cHadronEne31x31
Definition: IsolatedGenParticles.cc:182
IsolatedGenParticles::isoinfo7x7
spr::genSimInfo isoinfo7x7
Definition: IsolatedGenParticles.cc:309
L1TDiffHarvesting_cfi.dir1
dir1
Definition: L1TDiffHarvesting_cfi.py:10
IsolatedGenParticles::t_photonEneIsoR
std::vector< double > * t_photonEneIsoR
Definition: IsolatedGenParticles.cc:282
IsolatedGenParticles::t_L1METPt
std::vector< double > * t_L1METPt
Definition: IsolatedGenParticles.cc:307
GlobalPoint
Global3DPoint GlobalPoint
Definition: GlobalPoint.h:10
IsolatedGenParticles::t_cHadronEneHC7x7
std::vector< double > * t_cHadronEneHC7x7
Definition: IsolatedGenParticles.cc:266
IsolatedGenParticles::t_L1NonIsoEMPhi
std::vector< double > * t_L1NonIsoEMPhi
Definition: IsolatedGenParticles.cc:306
IsolatedGenParticles::t_eleEne31x31
std::vector< double > * t_eleEne31x31
Definition: IsolatedGenParticles.cc:185
Point3DBase< float, GlobalTag >
IsolatedGenParticles::t_L1METEta
std::vector< double > * t_L1METEta
Definition: IsolatedGenParticles.cc:307
IsolatedGenParticles::t_cHadronEne31x31_3
std::vector< double > * t_cHadronEne31x31_3
Definition: IsolatedGenParticles.cc:182
IsolatedGenParticles::tok_L1extCenJet_
edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extCenJet_
Definition: IsolatedGenParticles.cc:155
HcalRecNumberingRecord
Definition: HcalRecNumberingRecord.h:23
IsolatedGenParticles::h_pEta
TH2D * h_pEta[Particles]
Definition: IsolatedGenParticles.cc:160
muonRecoAnalyzer_cfi.pBin
pBin
Definition: muonRecoAnalyzer_cfi.py:37
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
L1EmParticleFwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
IsolatedGenParticles::t_muEneR
std::vector< double > * t_muEneR
Definition: IsolatedGenParticles.cc:277
IsolatedGenParticles::t_L1FwdJetPhi
std::vector< double > * t_L1FwdJetPhi
Definition: IsolatedGenParticles.cc:302
spr::hGenSimInfo
void hGenSimInfo(const DetId &coreDet, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, const HcalTopology *topology, int ieta, int iphi, spr::genSimInfo &info, bool includeHO=false, bool debug=false)
Definition: GenSimInfo.cc:101
TFileService.h
IsolatedGenParticles::t_maxNearPHC1x1
std::vector< double > * t_maxNearPHC1x1
Definition: IsolatedGenParticles.cc:244
ALCARECOTkAlJpsiMuMu_cff.charge
charge
Definition: ALCARECOTkAlJpsiMuMu_cff.py:47
IsolatedGenParticles::tok_L1GTrorsrc_
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > tok_L1GTrorsrc_
Definition: IsolatedGenParticles.cc:149
TFileService::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
IsolatedGenParticles::t_isoTrkPhi
std::vector< double > * t_isoTrkPhi
Definition: IsolatedGenParticles.cc:176
IsolatedGenParticles::t_muEne3x3
std::vector< double > * t_muEne3x3
Definition: IsolatedGenParticles.cc:235
CaloSubdetectorGeometry.h
L1JetParticleFwd.h
IsolatedGenParticles::t_cHadronEneHC3x3_2
std::vector< double > * t_cHadronEneHC3x3_2
Definition: IsolatedGenParticles.cc:252
IsolatedGenParticles::t_muEneHC5x5
std::vector< double > * t_muEneHC5x5
Definition: IsolatedGenParticles.cc:263
IsolatedGenParticles::initL1
bool initL1
Definition: IsolatedGenParticles.cc:142
IsolatedGenParticles::t_photonEneR
std::vector< double > * t_photonEneR
Definition: IsolatedGenParticles.cc:275
edm::ParameterSet
Definition: ParameterSet.h:47
spr::eGenSimInfo
void eGenSimInfo(const DetId &coreDet, HepMC::GenEvent::particle_const_iterator trkItr, std::vector< spr::propagatedGenTrackID > &trackIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, spr::genSimInfo &info, bool debug=false)
Definition: GenSimInfo.cc:13
IsolatedGenParticles::debugL1Info_
bool debugL1Info_
Definition: IsolatedGenParticles.cc:146
IsolatedGenParticles::t_nHadronEneR
std::vector< double > * t_nHadronEneR
Definition: IsolatedGenParticles.cc:274
IsolatedGenParticles::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: IsolatedGenParticles.cc:364
IsolatedGenParticles::t_isoTrkEtaAll
std::vector< double > * t_isoTrkEtaAll
Definition: IsolatedGenParticles.cc:167
IsolatedGenParticles::beginJob
void beginJob() override
Definition: IsolatedGenParticles.cc:793
Event.h
ParticleDataTable.h
IsolatedGenParticles::t_nHadronEneHC5x5
std::vector< double > * t_nHadronEneHC5x5
Definition: IsolatedGenParticles.cc:260
L1GlobalTriggerReadoutSetup.h
IsolatedGenParticles::pCutIsolate_
double pCutIsolate_
Definition: IsolatedGenParticles.cc:135
IsolatedGenParticles::t_isoTrkPdgId
std::vector< double > * t_isoTrkPdgId
Definition: IsolatedGenParticles.cc:179
IsolatedGenParticles::t_cHadronEne25x25
std::vector< double > * t_cHadronEne25x25
Definition: IsolatedGenParticles.cc:189
IsolatedGenParticles::t_cHadronEneR_1
std::vector< double > * t_cHadronEneR_1
Definition: IsolatedGenParticles.cc:273
spr::genSimInfo::nHadronEne
double nHadronEne
Definition: GenSimInfo.h:46
HcalDetId.h
L1GlobalTriggerReadoutRecord::decisionWord
const DecisionWord & decisionWord(int bxInEventValue) const
Definition: L1GlobalTriggerReadoutRecord.cc:186
IsolatedGenParticles::Particles
static constexpr int Particles
Definition: IsolatedGenParticles.cc:132
IsolatedGenParticles::t_nHadronEne11x11
std::vector< double > * t_nHadronEne11x11
Definition: IsolatedGenParticles.cc:211
IsolatedGenParticles::t_L1TauJetPt
std::vector< double > * t_L1TauJetPt
Definition: IsolatedGenParticles.cc:303
CaloTopologyRecord.h
PV3DBase::eta
T eta() const
Definition: PV3DBase.h:73
LorentzVector.h
IsolatedGenParticles::t_cHadronEneHC3x3_3
std::vector< double > * t_cHadronEneHC3x3_3
Definition: IsolatedGenParticles.cc:252
edm::Service< TFileService >
IsolatedGenParticles::t_photonEneHC5x5
std::vector< double > * t_photonEneHC5x5
Definition: IsolatedGenParticles.cc:261
createfilelist.int
int
Definition: createfilelist.py:10
IsolatedGenParticles::nL1BitsMax_
static const size_t nL1BitsMax_
Definition: IsolatedGenParticles.cc:143
IsolatedGenParticles::t_cHadronEneHC7x7_1
std::vector< double > * t_cHadronEneHC7x7_1
Definition: IsolatedGenParticles.cc:266
iEvent
int iEvent
Definition: GenABIO.cc:224
IsolatedGenParticles::t_L1MuonPhi
std::vector< double > * t_L1MuonPhi
Definition: IsolatedGenParticles.cc:304
IsolatedGenParticles::t_L1MuonPt
std::vector< double > * t_L1MuonPt
Definition: IsolatedGenParticles.cc:304
IsolatedGenParticles::t_photonEneHCR
std::vector< double > * t_photonEneHCR
Definition: IsolatedGenParticles.cc:289
IsolatedGenParticles::t_muEneHCR
std::vector< double > * t_muEneHCR
Definition: IsolatedGenParticles.cc:291
IsolatedGenParticles::t_cHadronEneHC1x1_1
std::vector< double > * t_cHadronEneHC1x1_1
Definition: IsolatedGenParticles.cc:245
IsolatedGenParticles::t_cHadronEneHC7x7_2
std::vector< double > * t_cHadronEneHC7x7_2
Definition: IsolatedGenParticles.cc:266
p1
double p1[4]
Definition: TauolaWrapper.h:89
IsolatedGenParticles::PBins_
static constexpr int PBins_
Definition: IsolatedGenParticles.cc:132
EgammaValidation_cff.pdgId
pdgId
Definition: EgammaValidation_cff.py:118
IsolatedGenParticles::t_maxNearP25x25
std::vector< double > * t_maxNearP25x25
Definition: IsolatedGenParticles.cc:188
IsolatedGenParticles::isoinfo21x21
spr::genSimInfo isoinfo21x21
Definition: IsolatedGenParticles.cc:310
MagneticField.h
IsolatedGenParticles::isoinfo31x31
spr::genSimInfo isoinfo31x31
Definition: IsolatedGenParticles.cc:310
IsolatedGenParticles::t_cHadronEne21x21_3
std::vector< double > * t_cHadronEne21x21_3
Definition: IsolatedGenParticles.cc:196
edm::EventSetup
Definition: EventSetup.h:57
IsolatedGenParticles::t_cHadronEneR_3
std::vector< double > * t_cHadronEneR_3
Definition: IsolatedGenParticles.cc:273
spr::genSimInfo
Definition: GenSimInfo.h:37
IsolatedGenParticles::tok_L1Em_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > tok_L1Em_
Definition: IsolatedGenParticles.cc:152
IsolatedGenParticles::t_cHadronEneHC7x7_3
std::vector< double > * t_cHadronEneHC7x7_3
Definition: IsolatedGenParticles.cc:266
TrackAssociatorRecord.h
L1EmParticle.h
edm::HepMCProduct::GetEvent
const HepMC::GenEvent * GetEvent() const
Definition: HepMCProduct.h:34
IsolatedGenParticles::t_cHadronEne25x25_2
std::vector< double > * t_cHadronEne25x25_2
Definition: IsolatedGenParticles.cc:189
IsolatedGenParticles::t_cHadronEne31x31_2
std::vector< double > * t_cHadronEne31x31_2
Definition: IsolatedGenParticles.cc:182
IsolatedGenParticles::NPBins_
static constexpr int NPBins_
Definition: IsolatedGenParticles.cc:130
spr::genSimInfo::cHadronEne
double cHadronEne
Definition: GenSimInfo.h:46
IsolatedGenParticles::t_muEneIsoR
std::vector< double > * t_muEneIsoR
Definition: IsolatedGenParticles.cc:284
itr
std::vector< std::pair< float, float > >::iterator itr
Definition: HGCDigitizer.cc:29
IsolatedGenParticles::t_nHadronEne9x9
std::vector< double > * t_nHadronEne9x9
Definition: IsolatedGenParticles.cc:218
IsolatedGenParticles::t_eleEne3x3
std::vector< double > * t_eleEne3x3
Definition: IsolatedGenParticles.cc:234
IsolatedGenParticles::t_cHadronEne7x7_2
std::vector< double > * t_cHadronEne7x7_2
Definition: IsolatedGenParticles.cc:224
get
#define get
IsolatedGenParticles::isoinfo3x3
spr::genSimInfo isoinfo3x3
Definition: IsolatedGenParticles.cc:309
IsolatedGenParticles::t_L1IsoEMEta
std::vector< double > * t_L1IsoEMEta
Definition: IsolatedGenParticles.cc:305
IsolatedGenParticles::t_photonEne1x1
std::vector< double > * t_photonEne1x1
Definition: IsolatedGenParticles.cc:240
IsolatedGenParticles::clearTreeVectors
void clearTreeVectors()
Definition: IsolatedGenParticles.cc:1467
IsolatedGenParticles::t_isoTrkPdgIdAll
std::vector< double > * t_isoTrkPdgIdAll
Definition: IsolatedGenParticles.cc:168
IsolatedGenParticles::t_L1CenJetEta
std::vector< double > * t_L1CenJetEta
Definition: IsolatedGenParticles.cc:301
IsolatedGenParticles::t_photonEne7x7
std::vector< double > * t_photonEne7x7
Definition: IsolatedGenParticles.cc:226
IsolatedGenParticles::t_cHadronEne1x1_3
std::vector< double > * t_cHadronEne1x1_3
Definition: IsolatedGenParticles.cc:238
IsolatedGenParticles::t_muEneIsoHCR
std::vector< double > * t_muEneIsoHCR
Definition: IsolatedGenParticles.cc:298
IsolatedGenParticles::isoinfo1x1
spr::genSimInfo isoinfo1x1
Definition: IsolatedGenParticles.cc:309
IsolatedGenParticles::t_cHadronEneIsoHCR_2
std::vector< double > * t_cHadronEneIsoHCR_2
Definition: IsolatedGenParticles.cc:294
IsolatedGenParticles::t_eleEneHC7x7
std::vector< double > * t_eleEneHC7x7
Definition: IsolatedGenParticles.cc:269
IsolatedGenParticles::IsolatedGenParticles
IsolatedGenParticles(const edm::ParameterSet &)
Definition: IsolatedGenParticles.cc:315
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:120
IsolatedGenParticles::t_maxNearP11x11
std::vector< double > * t_maxNearP11x11
Definition: IsolatedGenParticles.cc:209
CaloTopology.h
DecisionWord
std::vector< bool > DecisionWord
typedefs
Definition: L1GlobalTriggerReadoutSetupFwd.h:34
spr::propagateCALO
std::vector< spr::propagatedTrackID > propagateCALO(edm::Handle< reco::TrackCollection > &trkCollection, const CaloGeometry *geo, const MagneticField *bField, const std::string &theTrackQuality, bool debug=false)
Definition: CaloPropagateTrack.cc:141
IsolatedGenParticles::t_nHadronEne21x21
std::vector< double > * t_nHadronEne21x21
Definition: IsolatedGenParticles.cc:197
IsolatedGenParticles::t_L1IsoEMPt
std::vector< double > * t_L1IsoEMPt
Definition: IsolatedGenParticles.cc:305
IsolatedGenParticles::t_nHadronEneHC1x1
std::vector< double > * t_nHadronEneHC1x1
Definition: IsolatedGenParticles.cc:246
DDAxes::phi
IsolatedGenParticles::t_isoTrkPt
std::vector< double > * t_isoTrkPt
Definition: IsolatedGenParticles.cc:173
CaloSubdetectorTopology.h
IsolatedGenParticles::t_L1TauJetPhi
std::vector< double > * t_L1TauJetPhi
Definition: IsolatedGenParticles.cc:303
HcalTopology.h
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
GenParticle.GenParticle
GenParticle
Definition: GenParticle.py:18
std
Definition: JetResolutionObject.h:76
L1GlobalTriggerObjectMapFwd.h
L1MuonParticle.h
Calorimetry_cff.bField
bField
Definition: Calorimetry_cff.py:292
spr::genSimInfo::maxNearP
double maxNearP
Definition: GenSimInfo.h:45
DetId.h
Frameworkfwd.h
IsolatedGenParticles::endJob
void endJob() override
Definition: IsolatedGenParticles.cc:121
IsolatedGenParticles::EtaBins_
static constexpr int EtaBins_
Definition: IsolatedGenParticles.cc:132
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
CaloPropagateTrack.h
IsolatedGenParticles::t_muEne21x21
std::vector< double > * t_muEne21x21
Definition: IsolatedGenParticles.cc:200
math::XYZTLorentzVector
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
IsolatedGenParticles::t_maxNearPHC7x7
std::vector< double > * t_maxNearPHC7x7
Definition: IsolatedGenParticles.cc:265
IsolatedGenParticles::t_muEne9x9
std::vector< double > * t_muEne9x9
Definition: IsolatedGenParticles.cc:221
IsolatedGenParticles::~IsolatedGenParticles
~IsolatedGenParticles() override
Definition: IsolatedGenParticles.cc:114
IsolatedGenParticles::t_cHadronEne31x31_1
std::vector< double > * t_cHadronEne31x31_1
Definition: IsolatedGenParticles.cc:182
IsolatedGenParticles
Definition: IsolatedGenParticles.cc:111
CaloGeometry.h
TFileService::kSharedResource
static const std::string kSharedResource
Definition: TFileService.h:76
IsolatedGenParticles::isoinfoHC7x7
spr::genSimInfo isoinfoHC7x7
Definition: IsolatedGenParticles.cc:311
IsolatedGenParticles::t_L1Decision
std::vector< int > * t_L1Decision
Definition: IsolatedGenParticles.cc:300
IsolatedGenParticles::t_photonEneIsoHCR
std::vector< double > * t_photonEneIsoHCR
Definition: IsolatedGenParticles.cc:296
IsolatedGenParticles::t_cHadronEneHC3x3
std::vector< double > * t_cHadronEneHC3x3
Definition: IsolatedGenParticles.cc:252
IsolatedGenParticles::verbosity_
int verbosity_
Definition: IsolatedGenParticles.cc:147
IsolatedGenParticles::t_eleEne1x1
std::vector< double > * t_eleEne1x1
Definition: IsolatedGenParticles.cc:241
IsolatedGenParticles::t_cHadronEneIsoHCR
std::vector< double > * t_cHadronEneIsoHCR
Definition: IsolatedGenParticles.cc:294
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EventSetup.h
L1GlobalTriggerObjectMapRecord::gtObjectMap
const std::vector< L1GlobalTriggerObjectMap > & gtObjectMap() const
get / set the vector of object maps
Definition: L1GlobalTriggerObjectMapRecord.h:64
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
IsolatedGenParticles::isoinfoHC5x5
spr::genSimInfo isoinfoHC5x5
Definition: IsolatedGenParticles.cc:311
HcalRecHitCollections.h
IsolatedGenParticles::isoinfoHCR
spr::genSimInfo isoinfoHCR
Definition: IsolatedGenParticles.cc:312
IsolatedGenParticles::t_cHadronEne7x7_1
std::vector< double > * t_cHadronEne7x7_1
Definition: IsolatedGenParticles.cc:224
IsolatedGenParticles::t_cHadronEneIsoHCR_1
std::vector< double > * t_cHadronEneIsoHCR_1
Definition: IsolatedGenParticles.cc:294
IsolatedGenParticles::t_muEneHC1x1
std::vector< double > * t_muEneHC1x1
Definition: IsolatedGenParticles.cc:249
IsolatedGenParticles::isoinfoHC3x3
spr::genSimInfo isoinfoHC3x3
Definition: IsolatedGenParticles.cc:311
spr::genSimInfo::cHadronEne_
double cHadronEne_[3]
Definition: GenSimInfo.h:48
IsolatedGenParticles::t_cHadronEneHC5x5_1
std::vector< double > * t_cHadronEneHC5x5_1
Definition: IsolatedGenParticles.cc:259
IsolatedGenParticles::t_maxNearP7x7
std::vector< double > * t_maxNearP7x7
Definition: IsolatedGenParticles.cc:223
spr::genSimInfo::photonEne
double photonEne
Definition: GenSimInfo.h:46
IsolatedGenParticles::t_nHadronEneIsoHCR
std::vector< double > * t_nHadronEneIsoHCR
Definition: IsolatedGenParticles.cc:295
IsolatedGenParticles::t_cHadronEneHCR_1
std::vector< double > * t_cHadronEneHCR_1
Definition: IsolatedGenParticles.cc:287
IsolatedGenParticles::t_nHadronEne31x31
std::vector< double > * t_nHadronEne31x31
Definition: IsolatedGenParticles.cc:183
IsolatedGenParticles::algoBitToName_
std::string algoBitToName_[nL1BitsMax_]
Definition: IsolatedGenParticles.cc:144
IsolatedGenParticles::t_L1FwdJetPt
std::vector< double > * t_L1FwdJetPt
Definition: IsolatedGenParticles.cc:302
IsolatedGenParticles::t_eleEne11x11
std::vector< double > * t_eleEne11x11
Definition: IsolatedGenParticles.cc:213
IsolatedGenParticles::t_maxNearPIsoR
std::vector< double > * t_maxNearPIsoR
Definition: IsolatedGenParticles.cc:279
IsolatedGenParticles::t_photonEneHC3x3
std::vector< double > * t_photonEneHC3x3
Definition: IsolatedGenParticles.cc:254
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
IsolatedGenParticles::t_maxNearP15x15
std::vector< double > * t_maxNearP15x15
Definition: IsolatedGenParticles.cc:202
L1GlobalTriggerObjectMapRecord.h
ParameterSet.h
IsolatedGenParticles::tok_L1extTauJet_
edm::EDGetTokenT< l1extra::L1JetParticleCollection > tok_L1extTauJet_
Definition: IsolatedGenParticles.cc:154
IsolatedGenParticles::t_cHadronEneHC5x5_2
std::vector< double > * t_cHadronEneHC5x5_2
Definition: IsolatedGenParticles.cc:259
createTree.pp
pp
Definition: createTree.py:17
IsolatedGenParticles::t_L1METPhi
std::vector< double > * t_L1METPhi
Definition: IsolatedGenParticles.cc:307
IsolatedGenParticles::isoinfoIsoHCR
spr::genSimInfo isoinfoIsoHCR
Definition: IsolatedGenParticles.cc:312
IsolatedGenParticles::t_nHadronEneIsoR
std::vector< double > * t_nHadronEneIsoR
Definition: IsolatedGenParticles.cc:281
HepMCProduct.h
IsolatedGenParticles::t_muEneHC3x3
std::vector< double > * t_muEneHC3x3
Definition: IsolatedGenParticles.cc:256
IsolatedGenParticles::t_cHadronEneHC1x1_3
std::vector< double > * t_cHadronEneHC1x1_3
Definition: IsolatedGenParticles.cc:245
IsolatedGenParticles::t_eleEne7x7
std::vector< double > * t_eleEne7x7
Definition: IsolatedGenParticles.cc:227
IsolatedGenParticles::t_photonEne31x31
std::vector< double > * t_photonEne31x31
Definition: IsolatedGenParticles.cc:184
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::Event
Definition: Event.h:73
IsolatedGenParticles::t_muEneHC7x7
std::vector< double > * t_muEneHC7x7
Definition: IsolatedGenParticles.cc:270
IsolatedGenParticles::t_eleEneIsoHCR
std::vector< double > * t_eleEneIsoHCR
Definition: IsolatedGenParticles.cc:297
IsolatedGenParticles::t_eleEneHC5x5
std::vector< double > * t_eleEneHC5x5
Definition: IsolatedGenParticles.cc:262
IsolatedGenParticles::t_isoTrkDEtaAll
std::vector< double > * t_isoTrkDEtaAll
Definition: IsolatedGenParticles.cc:169
IsolatedGenParticles::t_cHadronEneHC5x5
std::vector< double > * t_cHadronEneHC5x5
Definition: IsolatedGenParticles.cc:259
MagneticField
Definition: MagneticField.h:19
L1GlobalTriggerObjectMap.h
IsolatedGenParticles::genPartEtaBins_
double genPartEtaBins_[NEtaBins_+1]
Definition: IsolatedGenParticles.cc:134
IsolatedGenParticles::t_photonEne25x25
std::vector< double > * t_photonEne25x25
Definition: IsolatedGenParticles.cc:191
L1JetParticle.h
IsolatedGenParticles::t_nHadronEneHC7x7
std::vector< double > * t_nHadronEneHC7x7
Definition: IsolatedGenParticles.cc:267
IsolatedGenParticles::tok_L1extMusrc_
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > tok_L1extMusrc_
Definition: IsolatedGenParticles.cc:151
dttmaxenums::R
Definition: DTTMax.h:29
IsolatedGenParticles::t_cHadronEneIsoR_2
std::vector< double > * t_cHadronEneIsoR_2
Definition: IsolatedGenParticles.cc:280
IsolatedGenParticles::t_cHadronEneHC1x1
std::vector< double > * t_cHadronEneHC1x1
Definition: IsolatedGenParticles.cc:245
IsolatedGenParticles::genSrc_
std::string genSrc_
Definition: IsolatedGenParticles.cc:137
IsolatedGenParticles::t_eleEne21x21
std::vector< double > * t_eleEne21x21
Definition: IsolatedGenParticles.cc:199
IsolatedGenParticles::t_L1CenJetPhi
std::vector< double > * t_L1CenJetPhi
Definition: IsolatedGenParticles.cc:301
IsolatedGenParticles::t_cHadronEneR
std::vector< double > * t_cHadronEneR
Definition: IsolatedGenParticles.cc:273
IsolatedGenParticles::t_cHadronEneHC1x1_2
std::vector< double > * t_cHadronEneHC1x1_2
Definition: IsolatedGenParticles.cc:245
edm::InputTag
Definition: InputTag.h:15
L1GlobalTriggerReadoutRecord.h
PV3DBase::phi
Geom::Phi< T > phi() const
Definition: PV3DBase.h:66
IsolatedGenParticles::t_muEne1x1
std::vector< double > * t_muEne1x1
Definition: IsolatedGenParticles.cc:242
IsolatedGenParticles::isoinfoHC1x1
spr::genSimInfo isoinfoHC1x1
Definition: IsolatedGenParticles.cc:311
IsolatedGenParticles::t_L1TauJetEta
std::vector< double > * t_L1TauJetEta
Definition: IsolatedGenParticles.cc:303
IsolatedGenParticles::t_muEne25x25
std::vector< double > * t_muEne25x25
Definition: IsolatedGenParticles.cc:193
IsolatedGenParticles::t_photonEneHC7x7
std::vector< double > * t_photonEneHC7x7
Definition: IsolatedGenParticles.cc:268
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
IsolatedGenParticles::a_mipR_
double a_mipR_
Definition: IsolatedGenParticles.cc:145
IsolatedGenParticles::ptMin_
double ptMin_
Definition: IsolatedGenParticles.cc:135
IsolatedGenParticles::h_L1AlgoNames
TH1I * h_L1AlgoNames
Definition: IsolatedGenParticles.cc:158
IsolatedGenParticles::t_cHadronEne3x3_3
std::vector< double > * t_cHadronEne3x3_3
Definition: IsolatedGenParticles.cc:231
IsolatedGenParticles::t_cHadronEne11x11_1
std::vector< double > * t_cHadronEne11x11_1
Definition: IsolatedGenParticles.cc:210
IsolatedGenParticles::t_eleEne9x9
std::vector< double > * t_eleEne9x9
Definition: IsolatedGenParticles.cc:220