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