CMS 3D CMS Logo

MtdEleIsoValidation.cc
Go to the documentation of this file.
1 #include <string>
2 #include <numeric>
3 #include <vector>
4 #include <algorithm>
5 #include <iostream>
6 #include <memory>
7 
13 
21 
24 
30 
36 
40 
43 
48 
49 // Adding header files for electrons
52 
53 // eff vs PU test libraries
62 
64 public:
65  explicit MtdEleIsoValidation(const edm::ParameterSet&);
66  ~MtdEleIsoValidation() override;
67 
68  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
69 
70 private:
71  void bookHistograms(DQMStore::IBooker&, edm::Run const&, edm::EventSetup const&) override;
72 
73  void analyze(const edm::Event&, const edm::EventSetup&) override;
74 
75  // ------------ member data ------------
76 
78  const float trackMinPt_;
79  const float trackMinEta_;
80  const float trackMaxEta_;
81  const double rel_iso_cut_;
82 
83  const bool track_match_PV_;
84  const bool dt_sig_track_;
85  const bool optionalPlots_;
86 
87  const float min_dR_cut;
88  const float max_dR_cut;
89  const float min_pt_cut_EB;
90  const float min_pt_cut_EE;
91  const float max_dz_cut_EB;
92  const float max_dz_cut_EE;
93  const float max_dz_vtx_cut;
94  const float max_dxy_vtx_cut;
95  const float min_strip_cut;
96  const float min_track_mtd_mva_cut;
97  const std::vector<double> max_dt_vtx_cut{0.30, 0.27, 0.24, 0.21, 0.18, 0.15, 0.12};
98  const std::vector<double> max_dt_track_cut{0.30, 0.27, 0.24, 0.21, 0.18, 0.15, 0.12};
99  const std::vector<double> max_dt_significance_cut{4.0, 3.0, 2.0};
100  const std::vector<double> pT_bins_dt_distrb{10, 20, 30, 40, 50, 60, 70, 80, 90, 100};
101  const std::vector<double> eta_bins_dt_distrib{0.0, 0.5, 1.0, 1.5, 2.0, 2.4, 2.7, 3};
102  static constexpr double avg_sim_sigTrk_t_err = 0.03239;
103  static constexpr double avg_sim_PUtrack_t_err = 0.03465;
104 
107 
111 
115 
117 
118  // Signal histograms
119 
122 
126 
127  // Adding histograms for barrel electrons
134 
138 
142 
146 
150 
154 
158 
162 
166 
170 
174 
178 
182 
186 
190 
194 
198 
202 
206 
210 
214 
216  MonitorElement* meEle_pt_sim_tot_Sig_EB_; // for GEN case is the same
223 
228 
233 
238 
243 
248 
253 
257 
261 
266 
271 
276 
277  // Adding histograms for endcap electrons
284 
288 
292 
296 
300 
304 
308 
312 
316 
320 
324 
328 
332 
336 
340 
344 
348 
352 
356 
360 
364 
369 
374 
379 
384 
389 
394 
399 
404 
408 
412 
417 
422 
427 
428  // Signal histograms end
429 
430  // Background histograms
431  // Adding histograms for barrel electrons
438 
442 
446 
450 
454 
458 
462 
466 
470 
474 
478 
482 
486 
490 
494 
498 
502 
506 
510 
514 
518 
527 
532 
537 
542 
547 
552 
557 
561 
565 
570 
575 
580 
581  // Adding histograms for endcap electrons
588 
592 
596 
600 
604 
608 
612 
616 
620 
624 
628 
632 
636 
640 
644 
648 
652 
656 
660 
664 
668 
677 
682 
687 
692 
697 
702 
707 
711 
715 
720 
725 
730  // Background histograms end
731 
732  // promt part for histogram vectors
733  std::vector<MonitorElement*> Ntracks_EB_list_Sig;
734  std::vector<MonitorElement*> ch_iso_EB_list_Sig;
735  std::vector<MonitorElement*> rel_ch_iso_EB_list_Sig;
736 
737  std::vector<MonitorElement*> Ntracks_EE_list_Sig;
738  std::vector<MonitorElement*> ch_iso_EE_list_Sig;
739  std::vector<MonitorElement*> rel_ch_iso_EE_list_Sig;
740 
741  std::vector<MonitorElement*> Ntracks_sim_EB_list_Sig;
742  std::vector<MonitorElement*> ch_iso_sim_EB_list_Sig;
743  std::vector<MonitorElement*> rel_ch_iso_sim_EB_list_Sig;
744 
745  std::vector<MonitorElement*> Ntracks_sim_EE_list_Sig;
746  std::vector<MonitorElement*> ch_iso_sim_EE_list_Sig;
747  std::vector<MonitorElement*> rel_ch_iso_sim_EE_list_Sig;
748 
749  std::vector<MonitorElement*> Ele_pT_MTD_EB_list_Sig;
750  std::vector<MonitorElement*> Ele_pT_sim_MTD_EB_list_Sig;
751  std::vector<MonitorElement*> Ele_eta_MTD_EB_list_Sig;
752  std::vector<MonitorElement*> Ele_phi_MTD_EB_list_Sig;
753 
754  std::vector<MonitorElement*> Ele_pT_MTD_EE_list_Sig;
755  std::vector<MonitorElement*> Ele_pT_sim_MTD_EE_list_Sig;
756  std::vector<MonitorElement*> Ele_eta_MTD_EE_list_Sig;
757  std::vector<MonitorElement*> Ele_phi_MTD_EE_list_Sig;
758 
759  std::vector<MonitorElement*> Ntracks_EB_list_Significance_Sig;
760  std::vector<MonitorElement*> ch_iso_EB_list_Significance_Sig;
761  std::vector<MonitorElement*> rel_ch_iso_EB_list_Significance_Sig;
762 
763  std::vector<MonitorElement*> Ntracks_EE_list_Significance_Sig;
764  std::vector<MonitorElement*> ch_iso_EE_list_Significance_Sig;
765  std::vector<MonitorElement*> rel_ch_iso_EE_list_Significance_Sig;
766 
767  std::vector<MonitorElement*> Ntracks_sim_EB_list_Significance_Sig;
768  std::vector<MonitorElement*> ch_iso_sim_EB_list_Significance_Sig;
769  std::vector<MonitorElement*> rel_ch_iso_sim_EB_list_Significance_Sig;
770 
771  std::vector<MonitorElement*> Ntracks_sim_EE_list_Significance_Sig;
772  std::vector<MonitorElement*> ch_iso_sim_EE_list_Significance_Sig;
773  std::vector<MonitorElement*> rel_ch_iso_sim_EE_list_Significance_Sig;
774 
775  std::vector<MonitorElement*> Ele_pT_MTD_EB_list_Significance_Sig;
776  std::vector<MonitorElement*> Ele_pT_sim_MTD_EB_list_Significance_Sig;
777  std::vector<MonitorElement*> Ele_eta_MTD_EB_list_Significance_Sig;
778  std::vector<MonitorElement*> Ele_phi_MTD_EB_list_Significance_Sig;
779 
780  std::vector<MonitorElement*> Ele_pT_MTD_EE_list_Significance_Sig;
781  std::vector<MonitorElement*> Ele_pT_sim_MTD_EE_list_Significance_Sig;
782  std::vector<MonitorElement*> Ele_eta_MTD_EE_list_Significance_Sig;
783  std::vector<MonitorElement*> Ele_phi_MTD_EE_list_Significance_Sig;
784 
785  // Non-promt part for histogram vectors
786  std::vector<MonitorElement*> Ntracks_EB_list_Bkg;
787  std::vector<MonitorElement*> ch_iso_EB_list_Bkg;
788  std::vector<MonitorElement*> rel_ch_iso_EB_list_Bkg;
789 
790  std::vector<MonitorElement*> Ntracks_EE_list_Bkg;
791  std::vector<MonitorElement*> ch_iso_EE_list_Bkg;
792  std::vector<MonitorElement*> rel_ch_iso_EE_list_Bkg;
793 
794  std::vector<MonitorElement*> Ntracks_sim_EB_list_Bkg;
795  std::vector<MonitorElement*> ch_iso_sim_EB_list_Bkg;
796  std::vector<MonitorElement*> rel_ch_iso_sim_EB_list_Bkg;
797 
798  std::vector<MonitorElement*> Ntracks_sim_EE_list_Bkg;
799  std::vector<MonitorElement*> ch_iso_sim_EE_list_Bkg;
800  std::vector<MonitorElement*> rel_ch_iso_sim_EE_list_Bkg;
801 
802  std::vector<MonitorElement*> Ele_pT_MTD_EB_list_Bkg;
803  std::vector<MonitorElement*> Ele_pT_sim_MTD_EB_list_Bkg;
804  std::vector<MonitorElement*> Ele_eta_MTD_EB_list_Bkg;
805  std::vector<MonitorElement*> Ele_phi_MTD_EB_list_Bkg;
806 
807  std::vector<MonitorElement*> Ele_pT_MTD_EE_list_Bkg;
808  std::vector<MonitorElement*> Ele_pT_sim_MTD_EE_list_Bkg;
809  std::vector<MonitorElement*> Ele_eta_MTD_EE_list_Bkg;
810  std::vector<MonitorElement*> Ele_phi_MTD_EE_list_Bkg;
811 
812  std::vector<MonitorElement*> Ntracks_EB_list_Significance_Bkg;
813  std::vector<MonitorElement*> ch_iso_EB_list_Significance_Bkg;
814  std::vector<MonitorElement*> rel_ch_iso_EB_list_Significance_Bkg;
815 
816  std::vector<MonitorElement*> Ntracks_EE_list_Significance_Bkg;
817  std::vector<MonitorElement*> ch_iso_EE_list_Significance_Bkg;
818  std::vector<MonitorElement*> rel_ch_iso_EE_list_Significance_Bkg;
819 
820  std::vector<MonitorElement*> Ntracks_sim_EB_list_Significance_Bkg;
821  std::vector<MonitorElement*> ch_iso_sim_EB_list_Significance_Bkg;
822  std::vector<MonitorElement*> rel_ch_iso_sim_EB_list_Significance_Bkg;
823 
824  std::vector<MonitorElement*> Ntracks_sim_EE_list_Significance_Bkg;
825  std::vector<MonitorElement*> ch_iso_sim_EE_list_Significance_Bkg;
826  std::vector<MonitorElement*> rel_ch_iso_sim_EE_list_Significance_Bkg;
827 
828  std::vector<MonitorElement*> Ele_pT_MTD_EB_list_Significance_Bkg;
829  std::vector<MonitorElement*> Ele_pT_sim_MTD_EB_list_Significance_Bkg;
830  std::vector<MonitorElement*> Ele_eta_MTD_EB_list_Significance_Bkg;
831  std::vector<MonitorElement*> Ele_phi_MTD_EB_list_Significance_Bkg;
832 
833  std::vector<MonitorElement*> Ele_pT_MTD_EE_list_Significance_Bkg;
834  std::vector<MonitorElement*> Ele_pT_sim_MTD_EE_list_Significance_Bkg;
835  std::vector<MonitorElement*> Ele_eta_MTD_EE_list_Significance_Bkg;
836  std::vector<MonitorElement*> Ele_phi_MTD_EE_list_Significance_Bkg;
837 
838  // dt distribution part for histogram vectors
839  std::vector<MonitorElement*> general_pT_list;
840  std::vector<MonitorElement*> general_eta_list;
841 
842  std::vector<MonitorElement*> general_pT_Signif_list;
843  std::vector<MonitorElement*> general_eta_Signif_list;
844 };
845 
846 // ------------ constructor and destructor --------------
847 
849  : folder_(iConfig.getParameter<std::string>("folder")),
850  trackMinPt_(iConfig.getParameter<double>("trackMinimumPt")),
851  trackMinEta_(iConfig.getParameter<double>("trackMinimumEta")),
852  trackMaxEta_(iConfig.getParameter<double>("trackMaximumEta")),
853  rel_iso_cut_(iConfig.getParameter<double>("rel_iso_cut")),
854  track_match_PV_(iConfig.getParameter<bool>("optionTrackMatchToPV")),
855  dt_sig_track_(iConfig.getParameter<bool>("option_dtToTrack")),
856  optionalPlots_(iConfig.getParameter<bool>("option_plots")),
857  min_dR_cut(iConfig.getParameter<double>("min_dR_cut")),
858  max_dR_cut(iConfig.getParameter<double>("max_dR_cut")),
859  min_pt_cut_EB(iConfig.getParameter<double>("min_pt_cut_EB")),
860  min_pt_cut_EE(iConfig.getParameter<double>("min_pt_cut_EE")),
861  max_dz_cut_EB(iConfig.getParameter<double>("max_dz_cut_EB")),
862  max_dz_cut_EE(iConfig.getParameter<double>("max_dz_cut_EE")),
863  max_dz_vtx_cut(iConfig.getParameter<double>("max_dz_vtx_cut")),
864  max_dxy_vtx_cut(iConfig.getParameter<double>("max_dxy_vtx_cut")),
865  min_strip_cut(iConfig.getParameter<double>("min_strip_cut")),
866  min_track_mtd_mva_cut(iConfig.getParameter<double>("min_track_mtd_mva_cut")) {
867  GenRecTrackToken_ = consumes<reco::TrackCollection>(iConfig.getParameter<edm::InputTag>("inputTagG"));
869  consumes<std::vector<reco::Vertex>>(iConfig.getParameter<edm::InputTag>("inputTag_vtx")); // Vtx 4D collection
870 
871  GsfElectronToken_EB_ = consumes<reco::GsfElectronCollection>(
872  iConfig.getParameter<edm::InputTag>("inputEle_EB")); // Barrel electron collection input/token
873  GsfElectronToken_EE_ = consumes<reco::GsfElectronCollection>(
874  iConfig.getParameter<edm::InputTag>("inputEle_EE")); // Endcap electron collection input/token
875 
876  t0PidToken_ = consumes<edm::ValueMap<float>>(iConfig.getParameter<edm::InputTag>("t0PID"));
877  Sigmat0PidToken_ = consumes<edm::ValueMap<float>>(iConfig.getParameter<edm::InputTag>("sigmat0PID"));
878  trackMVAQualToken_ = consumes<edm::ValueMap<float>>(iConfig.getParameter<edm::InputTag>("trackMVAQual"));
879 
881  consumes<reco::RecoToSimCollection>(iConfig.getParameter<edm::InputTag>("TPtoRecoTrackAssoc"));
882 }
883 
885 
886 // ------------ method called for each event ------------
888  using namespace edm;
889  using namespace geant_units::operators;
890  using namespace std;
891 
892  auto GenRecTrackHandle = iEvent.getHandle(GenRecTrackToken_);
893 
894  auto VertexHandle = iEvent.getHandle(RecVertexToken_);
895  std::vector<reco::Vertex> vertices = *VertexHandle;
896 
897  const auto& t0Pid = iEvent.get(t0PidToken_);
898  const auto& Sigmat0Pid = iEvent.get(Sigmat0PidToken_);
899  const auto& mtdQualMVA = iEvent.get(trackMVAQualToken_);
900 
901  auto eleHandle_EB = makeValid(iEvent.getHandle(GsfElectronToken_EB_));
902  reco::GsfElectronCollection eleColl_EB = *(eleHandle_EB.product());
903 
904  auto eleHandle_EE = makeValid(iEvent.getHandle(GsfElectronToken_EE_));
905  reco::GsfElectronCollection eleColl_EE = *(eleHandle_EE.product());
906 
907  auto recoToSimH = makeValid(iEvent.getHandle(recoToSimAssociationToken_));
908  const reco::RecoToSimCollection* r2s_ = recoToSimH.product();
909 
910  // Creating combined electron collection
911  std::vector<reco::GsfElectron> localEleCollection;
912  localEleCollection.reserve(eleColl_EB.size() + eleColl_EE.size());
913  for (const auto& ele_EB : eleColl_EB) {
914  if (ele_EB.isEB()) {
915  localEleCollection.emplace_back(ele_EB);
916  }
917  }
918  for (const auto& ele_EE : eleColl_EE) {
919  if (ele_EE.isEE()) {
920  localEleCollection.emplace_back(ele_EE);
921  }
922  }
923  localEleCollection.shrink_to_fit();
924 
925  reco::Vertex Vtx_chosen;
926  // This part has to be included, because in ~1% of the events, the "good" vertex is the 1st one not the 0th one in the collection
927  for (int iVtx = 0; iVtx < (int)vertices.size(); iVtx++) {
928  const reco::Vertex& vertex = vertices.at(iVtx);
929  if (!vertex.isFake() && vertex.ndof() >= 4) {
930  Vtx_chosen = vertex;
931  break;
932  }
933  }
934 
935  auto pdgCheck = [](int pdg) {
936  pdg = std::abs(pdg);
937  return (pdg == 23 or pdg == 24 or pdg == 15 or pdg == 11); // some electrons are mothers to themselves?
938  };
939 
940  for (const auto& ele : localEleCollection) {
941  bool ele_Promt = false;
942 
943  float ele_track_source_dz = std::abs(ele.gsfTrack()->dz(Vtx_chosen.position()));
944  float ele_track_source_dxy = std::abs(ele.gsfTrack()->dxy(Vtx_chosen.position()));
945 
946  const reco::TrackRef ele_TrkRef = ele.core()->ctfTrack();
947  double tsim_ele = -1.;
948  double ele_sim_pt = -1.;
949  double ele_sim_phi = -1.;
950  double ele_sim_eta = -1.;
951 
952  // selecting "good" RECO electrons
953  // PARAM
954  if (ele.pt() < 10 || std::abs(ele.eta()) > 2.4 || ele_track_source_dz > max_dz_vtx_cut ||
955  ele_track_source_dxy > max_dxy_vtx_cut)
956  continue;
957 
958  // association with tracking particle to have sim info
959  const reco::TrackBaseRef trkrefb(ele_TrkRef);
960  auto found = r2s_->find(trkrefb);
961  if (found != r2s_->end()) {
962  const auto& tp = (found->val)[0];
963  tsim_ele = (tp.first)->parentVertex()->position().t() * 1e9;
964  ele_sim_pt = (tp.first)->pt();
965  ele_sim_phi = (tp.first)->phi();
966  ele_sim_eta = (tp.first)->eta();
967  // check that the genParticle vector is not empty
968  if (tp.first->status() != -99) {
969  const auto genParticle = *(tp.first->genParticles()[0]);
970  // check if prompt (not from hadron, muon, or tau decay) and final state
971  // or if is a direct decay product of a prompt tau and is final state
972  if ((genParticle.isPromptFinalState() or genParticle.isDirectPromptTauDecayProductFinalState()) and
973  pdgCheck(genParticle.mother()->pdgId())) {
974  ele_Promt = true;
975  // TODO get simtrackster from mtd, simtrack to tp and check that a recocluster was there
976  }
977  }
978  }
979 
980  math::XYZVector EleSigTrackMomentumAtVtx = ele.gsfTrack()->momentum();
981  double EleSigTrackEtaAtVtx = ele.gsfTrack()->eta();
982 
983  double ele_sigTrkTime = -1;
984  double ele_sigTrkTimeErr = -1;
985  double ele_sigTrkMtdMva = -1;
986 
987  // if we found a track match, we add MTD timing information for it
988  if (ele_TrkRef.isNonnull()) {
989  // track pT/dz cuts
990  bool Barrel_ele = ele.isEB();
991  float min_pt_cut = Barrel_ele ? min_pt_cut_EB : min_pt_cut_EE;
992  float max_dz_cut = Barrel_ele ? max_dz_cut_EB : max_dz_cut_EE;
993 
994  ele_sigTrkTime = t0Pid[ele_TrkRef];
995  ele_sigTrkMtdMva = mtdQualMVA[ele_TrkRef];
996  ele_sigTrkTimeErr = (ele_sigTrkMtdMva > min_track_mtd_mva_cut) ? Sigmat0Pid[ele_TrkRef] : -1;
997 
998  meEle_avg_error_SigTrk_check_->Fill(ele_sigTrkTimeErr);
999 
1000  if (ele_Promt) {
1001  // For signal (promt)
1002  if (Barrel_ele) {
1003  // All selected electron information for efficiency plots later
1004  meEle_pt_tot_Sig_EB_->Fill(ele.pt());
1005  meEle_pt_sim_tot_Sig_EB_->Fill(ele_sim_pt);
1006  meEle_eta_tot_Sig_EB_->Fill(std::abs(ele.eta()));
1007  meEle_phi_tot_Sig_EB_->Fill(ele.phi());
1008  } else {
1009  // All selected electron information for efficiency plots later
1010  meEle_pt_tot_Sig_EE_->Fill(ele.pt());
1011  meEle_pt_sim_tot_Sig_EE_->Fill(ele_sim_pt);
1012  meEle_eta_tot_Sig_EE_->Fill(std::abs(ele.eta()));
1013  meEle_phi_tot_Sig_EE_->Fill(ele.phi());
1014  }
1015  } else {
1016  // For background (non-promt)
1017  if (Barrel_ele) {
1018  meEle_pt_tot_Bkg_EB_->Fill(ele.pt());
1019  meEle_pt_sim_tot_Bkg_EB_->Fill(ele_sim_pt);
1020  meEle_eta_tot_Bkg_EB_->Fill(std::abs(ele.eta()));
1021  meEle_phi_tot_Bkg_EB_->Fill(ele.phi());
1022  } else {
1023  meEle_pt_tot_Bkg_EE_->Fill(ele.pt());
1024  meEle_pt_sim_tot_Bkg_EE_->Fill(ele_sim_pt);
1025  meEle_eta_tot_Bkg_EE_->Fill(std::abs(ele.eta()));
1026  meEle_phi_tot_Bkg_EE_->Fill(ele.phi());
1027  }
1028  }
1029 
1030  int N_tracks_noMTD = 0;
1031  double pT_sum_noMTD = 0;
1032  double rel_pT_sum_noMTD = 0;
1033  std::vector<int> N_tracks_MTD{0, 0, 0, 0, 0, 0, 0};
1034  std::vector<double> pT_sum_MTD{0, 0, 0, 0, 0, 0, 0};
1035  std::vector<double> rel_pT_sum_MTD{0, 0, 0, 0, 0, 0, 0};
1036 
1037  std::vector<int> N_tracks_sim_MTD{0, 0, 0, 0, 0, 0, 0};
1038  std::vector<double> pT_sum_sim_MTD{0, 0, 0, 0, 0, 0, 0};
1039  std::vector<double> rel_pT_sum_sim_MTD{0, 0, 0, 0, 0, 0, 0};
1040  int N_tracks_gen = 0;
1041  double pT_sum_gen = 0;
1042  double rel_pT_sum_gen = 0;
1043 
1044  std::vector<int> N_tracks_MTD_significance{0, 0, 0};
1045  std::vector<double> pT_sum_MTD_significance{0, 0, 0};
1046  std::vector<double> rel_pT_sum_MTD_significance{0, 0, 0};
1047 
1048  std::vector<int> N_tracks_sim_MTD_significance{0, 0, 0};
1049  std::vector<double> pT_sum_sim_MTD_significance{0, 0, 0};
1050  std::vector<double> rel_pT_sum_sim_MTD_significance{0, 0, 0};
1051 
1052  int general_index = 0;
1053  for (const auto& trackGen : *GenRecTrackHandle) {
1054  const reco::TrackRef trackref_general(GenRecTrackHandle, general_index);
1055  general_index++;
1056 
1057  // Skip electron track
1058  if (trackref_general == ele_TrkRef)
1059  continue;
1060 
1061  if (trackGen.pt() < min_pt_cut) {
1062  continue;
1063  }
1064  if (std::abs(trackGen.vz() - ele.gsfTrack()->vz()) > max_dz_cut) {
1065  continue;
1066  }
1067 
1068  // cut for general track matching to PV
1069  if (track_match_PV_) {
1070  if (Vtx_chosen.trackWeight(trackref_general) < 0.5) {
1071  continue;
1072  }
1073  }
1074 
1075  double dR = reco::deltaR(trackGen.momentum(), EleSigTrackMomentumAtVtx);
1076  double deta = std::abs(trackGen.eta() - EleSigTrackEtaAtVtx);
1077 
1078  // restrict to tracks in the isolation cone
1079  if (dR < min_dR_cut || dR > max_dR_cut || deta < min_strip_cut)
1080  continue;
1081 
1082  // no MTD case
1083  ++N_tracks_noMTD;
1084  pT_sum_noMTD += trackGen.pt();
1085 
1086  // MTD case
1087  const reco::TrackBaseRef trkrefBase(trackref_general);
1088  auto TPmatched = r2s_->find(trkrefBase);
1089  double tsim_trk = -1.;
1090  double trk_ptSim = -1.;
1091  bool genMatched = false;
1092  if (TPmatched != r2s_->end()) {
1093  // reco track matched to a TP
1094  const auto& tp = (TPmatched->val)[0];
1095  tsim_trk = (tp.first)->parentVertex()->position().t() * 1e9;
1096  trk_ptSim = (tp.first)->pt();
1097  // check that the genParticle vector is not empty
1098  if (tp.first->status() != -99) {
1099  genMatched = true;
1101  } else {
1103  }
1104  }
1105 
1106  double TrkMTDTime = t0Pid[trackref_general];
1107  double TrkMTDMva = mtdQualMVA[trackref_general];
1108  double TrkMTDTimeErr = (TrkMTDMva > min_track_mtd_mva_cut) ? Sigmat0Pid[trackref_general] : -1;
1109 
1110  meEle_avg_error_PUTrk_check_->Fill(TrkMTDTimeErr);
1111 
1112  // MTD GEN case
1113  if (genMatched) {
1114  N_tracks_gen++;
1115  pT_sum_gen += trk_ptSim;
1116  }
1117 
1118  // dt with the track
1119  if (dt_sig_track_) {
1120  double dt_sigTrk = 0;
1121  double dt_sigTrk_signif = 0;
1122  double dt_sim_sigTrk = 0;
1123  double dt_sim_sigTrk_signif = 0;
1124 
1125  // MTD SIM CASE
1126  if (std::abs(tsim_trk) > 0 && std::abs(tsim_ele) > 0 && trk_ptSim > 0) {
1127  dt_sim_sigTrk = std::abs(tsim_trk - tsim_ele);
1128  dt_sim_sigTrk_signif = dt_sim_sigTrk / std::sqrt(avg_sim_PUtrack_t_err * avg_sim_PUtrack_t_err +
1130 
1131  if (optionalPlots_) {
1132  // absolute timing cuts
1133  for (long unsigned int i = 0; i < N_tracks_sim_MTD.size(); i++) {
1134  if (dt_sim_sigTrk < max_dt_track_cut[i]) {
1135  N_tracks_sim_MTD[i] = N_tracks_sim_MTD[i] + 1;
1136  pT_sum_sim_MTD[i] = pT_sum_sim_MTD[i] + trk_ptSim;
1137  }
1138  }
1139  }
1140  // significance cuts
1141  for (long unsigned int i = 0; i < N_tracks_sim_MTD_significance.size(); i++) {
1142  if (dt_sim_sigTrk_signif < max_dt_significance_cut[i]) {
1143  N_tracks_sim_MTD_significance[i]++;
1144  pT_sum_sim_MTD_significance[i] += trk_ptSim;
1145  }
1146  }
1147 
1148  } else {
1149  // if there is no error for MTD information, we count the MTD isolation case same as noMTD
1150  if (optionalPlots_) {
1151  for (long unsigned int i = 0; i < N_tracks_sim_MTD.size(); i++) {
1152  N_tracks_sim_MTD[i] = N_tracks_sim_MTD[i] + 1;
1153  pT_sum_sim_MTD[i] = pT_sum_sim_MTD[i] + trk_ptSim;
1154  }
1155  }
1156  for (long unsigned int i = 0; i < N_tracks_sim_MTD_significance.size(); i++) {
1157  N_tracks_sim_MTD_significance[i]++;
1158  pT_sum_sim_MTD_significance[i] += trk_ptSim;
1159  }
1160  }
1161 
1162  // MTD reco case
1163  if (TrkMTDTimeErr > 0 && ele_sigTrkTimeErr > 0) {
1164  dt_sigTrk = std::abs(TrkMTDTime - ele_sigTrkTime);
1165  dt_sigTrk_signif =
1166  dt_sigTrk / std::sqrt(TrkMTDTimeErr * TrkMTDTimeErr + ele_sigTrkTimeErr * ele_sigTrkTimeErr);
1167 
1169  if (optionalPlots_) {
1170  // absolute timing cuts
1171  for (long unsigned int i = 0; i < N_tracks_MTD.size(); i++) {
1172  if (dt_sigTrk < max_dt_track_cut[i]) {
1173  N_tracks_MTD[i] = N_tracks_MTD[i] + 1;
1174  pT_sum_MTD[i] = pT_sum_MTD[i] + trackGen.pt();
1175  }
1176  }
1177  }
1178  // significance cuts
1179  for (long unsigned int i = 0; i < N_tracks_MTD_significance.size(); i++) {
1180  if (dt_sigTrk_signif < max_dt_significance_cut[i]) {
1181  N_tracks_MTD_significance[i]++;
1182  pT_sum_MTD_significance[i] += trackGen.pt();
1183  }
1184  }
1185 
1186  } else {
1187  // if there is no error for MTD information, we count the MTD isolation case same as noMTD
1188  if (optionalPlots_) {
1189  for (long unsigned int i = 0; i < N_tracks_MTD.size(); i++) {
1190  N_tracks_MTD[i] = N_tracks_MTD[i] + 1; // N_tracks_noMTD
1191  pT_sum_MTD[i] = pT_sum_MTD[i] + trackGen.pt(); // pT sum
1192  }
1193  }
1194  for (long unsigned int i = 0; i < N_tracks_MTD_significance.size(); i++) {
1195  N_tracks_MTD_significance[i]++;
1196  pT_sum_MTD_significance[i] += trackGen.pt();
1197  }
1199  }
1200 
1201  if (optionalPlots_) {
1202  for (long unsigned int i = 0; i < (pT_bins_dt_distrb.size() - 1); i++) {
1203  //stuff general pT
1204  if (ele.pt() > pT_bins_dt_distrb[i] && ele.pt() < pT_bins_dt_distrb[i + 1]) {
1205  general_pT_list[i]->Fill(dt_sigTrk);
1206  general_pT_Signif_list[i]->Fill(dt_sigTrk_signif);
1207  }
1208  }
1209 
1210  for (long unsigned int i = 0; i < (eta_bins_dt_distrib.size() - 1); i++) {
1211  //stuff general eta
1212  if (std::abs(ele.eta()) > eta_bins_dt_distrib[i] && std::abs(ele.eta()) < eta_bins_dt_distrib[i + 1]) {
1213  general_eta_list[i]->Fill(dt_sigTrk);
1214  general_eta_Signif_list[i]->Fill(dt_sigTrk_signif);
1215  }
1216  }
1217  } // End of optional dt distributions plots
1218 
1219  // dt with the vertex
1220  } else {
1221  double dt_vtx = 0; // dt regular track vs vtx
1222  double dt_vtx_signif = 0;
1223 
1224  double dt_sim_vtx = 0; // dt regular track vs vtx
1225  double dt_sim_vtx_signif = 0;
1226 
1227  // MTD SIM case
1228  if (std::abs(tsim_trk) > 0 && Vtx_chosen.tError() > 0 && trk_ptSim > 0) {
1229  dt_sim_vtx = std::abs(tsim_trk - Vtx_chosen.t());
1230  dt_sim_vtx_signif = dt_sim_vtx / std::sqrt(avg_sim_PUtrack_t_err * avg_sim_PUtrack_t_err +
1231  Vtx_chosen.tError() * Vtx_chosen.tError());
1232  if (optionalPlots_) {
1233  // absolute timing cuts
1234  for (long unsigned int i = 0; i < N_tracks_sim_MTD.size(); i++) {
1235  if (dt_sim_vtx < max_dt_vtx_cut[i]) {
1236  N_tracks_sim_MTD[i] = N_tracks_sim_MTD[i] + 1;
1237  pT_sum_sim_MTD[i] = pT_sum_sim_MTD[i] + trk_ptSim;
1238  }
1239  }
1240  }
1241  // significance timing cuts
1242  for (long unsigned int i = 0; i < N_tracks_sim_MTD_significance.size(); i++) {
1243  if (dt_sim_vtx_signif < max_dt_significance_cut[i]) {
1244  N_tracks_sim_MTD_significance[i]++;
1245  pT_sum_sim_MTD_significance[i] += trk_ptSim;
1246  }
1247  }
1248  } else {
1249  if (optionalPlots_) {
1250  for (long unsigned int i = 0; i < N_tracks_sim_MTD.size(); i++) {
1251  N_tracks_sim_MTD[i] = N_tracks_sim_MTD[i] + 1; // N_tracks_noMTD
1252  pT_sum_sim_MTD[i] = pT_sum_sim_MTD[i] + trk_ptSim; // pT_sum_noMTD
1253  }
1254  }
1255  for (long unsigned int i = 0; i < N_tracks_sim_MTD_significance.size(); i++) {
1256  N_tracks_sim_MTD_significance[i]++;
1257  pT_sum_sim_MTD_significance[i] += trk_ptSim;
1258  }
1259  }
1260 
1261  // MTD RECO case
1262  if (TrkMTDTimeErr > 0 && Vtx_chosen.tError() > 0) {
1263  dt_vtx = std::abs(TrkMTDTime - Vtx_chosen.t());
1264  dt_vtx_signif =
1265  dt_vtx / std::sqrt(TrkMTDTimeErr * TrkMTDTimeErr + Vtx_chosen.tError() * Vtx_chosen.tError());
1266 
1268  meEle_avg_error_vtx_check_->Fill(Vtx_chosen.tError());
1269  if (optionalPlots_) {
1270  // absolute timing cuts
1271  for (long unsigned int i = 0; i < N_tracks_MTD.size(); i++) {
1272  if (dt_vtx < max_dt_vtx_cut[i]) {
1273  N_tracks_MTD[i] = N_tracks_MTD[i] + 1;
1274  pT_sum_MTD[i] = pT_sum_MTD[i] + trackGen.pt();
1275  }
1276  }
1277  }
1278  // significance timing cuts
1279  for (long unsigned int i = 0; i < N_tracks_MTD_significance.size(); i++) {
1280  if (dt_vtx_signif < max_dt_significance_cut[i]) {
1281  N_tracks_MTD_significance[i]++;
1282  pT_sum_MTD_significance[i] += trackGen.pt();
1283  }
1284  }
1285  } else {
1286  if (optionalPlots_) {
1287  for (long unsigned int i = 0; i < N_tracks_MTD.size(); i++) {
1288  N_tracks_MTD[i] = N_tracks_MTD[i] + 1; // N_tracks_noMTD
1289  pT_sum_MTD[i] = pT_sum_MTD[i] + trackGen.pt(); // pT_sum_noMTD
1290  }
1291  }
1292  for (long unsigned int i = 0; i < N_tracks_MTD_significance.size(); i++) {
1293  N_tracks_MTD_significance[i]++;
1294  pT_sum_MTD_significance[i] += trackGen.pt();
1295  }
1297  }
1298 
1299  // Optional dt distribution plots
1300  if (optionalPlots_) {
1301  for (long unsigned int i = 0; i < (pT_bins_dt_distrb.size() - 1); i++) {
1302  //stuff general pT
1303  if (ele.pt() > pT_bins_dt_distrb[i] && ele.pt() < pT_bins_dt_distrb[i + 1]) {
1304  general_pT_list[i]->Fill(dt_vtx);
1305  general_pT_Signif_list[i]->Fill(dt_vtx_signif);
1306  }
1307  }
1308 
1309  for (long unsigned int i = 0; i < (eta_bins_dt_distrib.size() - 1); i++) {
1310  //stuff general eta
1311  if (std::abs(ele.eta()) > eta_bins_dt_distrib[i] && std::abs(ele.eta()) < eta_bins_dt_distrib[i + 1]) {
1312  general_eta_list[i]->Fill(dt_vtx);
1313  general_eta_Signif_list[i]->Fill(dt_vtx_signif);
1314  }
1315  }
1316  } // End of optional dt distributions plots
1317  }
1318  }
1319  rel_pT_sum_noMTD = pT_sum_noMTD / ele.gsfTrack()->pt(); // rel_ch_iso calculation
1320  if (optionalPlots_) {
1321  for (long unsigned int i = 0; i < N_tracks_MTD.size(); i++) {
1322  rel_pT_sum_MTD[i] = pT_sum_MTD[i] / ele.gsfTrack()->pt();
1323  rel_pT_sum_sim_MTD[i] = pT_sum_sim_MTD[i] / ele_sim_pt;
1324  }
1325  // now compute the isolation
1326  rel_pT_sum_noMTD = pT_sum_noMTD / ele.gsfTrack()->pt();
1327 
1328  rel_pT_sum_gen = pT_sum_gen / ele.gsfTrack()->pt();
1329  }
1330 
1331  for (long unsigned int i = 0; i < N_tracks_MTD_significance.size(); i++) {
1332  rel_pT_sum_MTD_significance[i] = pT_sum_MTD_significance[i] / ele.gsfTrack()->pt();
1333  rel_pT_sum_sim_MTD_significance[i] = pT_sum_sim_MTD_significance[i] / ele_sim_pt;
1334  }
1335 
1336  if (ele_Promt) { // promt part
1337  if (Barrel_ele) {
1338  meEleISO_Ntracks_Sig_EB_->Fill(N_tracks_noMTD);
1339  meEleISO_chIso_Sig_EB_->Fill(pT_sum_noMTD);
1340  meEleISO_rel_chIso_Sig_EB_->Fill(rel_pT_sum_noMTD);
1341  if (optionalPlots_) {
1342  for (long unsigned int j = 0; j < Ntracks_EB_list_Sig.size(); j++) {
1343  Ntracks_EB_list_Sig[j]->Fill(N_tracks_MTD[j]);
1344  ch_iso_EB_list_Sig[j]->Fill(pT_sum_MTD[j]);
1345  rel_ch_iso_EB_list_Sig[j]->Fill(rel_pT_sum_MTD[j]);
1346 
1347  Ntracks_sim_EB_list_Sig[j]->Fill(N_tracks_sim_MTD[j]);
1348  ch_iso_sim_EB_list_Sig[j]->Fill(pT_sum_sim_MTD[j]);
1349  rel_ch_iso_sim_EB_list_Sig[j]->Fill(rel_pT_sum_sim_MTD[j]);
1350  }
1351  meEleISO_Ntracks_gen_Sig_EB_->Fill(N_tracks_gen);
1352  meEleISO_chIso_gen_Sig_EB_->Fill(pT_sum_gen);
1353  meEleISO_rel_chIso_gen_Sig_EB_->Fill(rel_pT_sum_gen);
1354  }
1355 
1356  for (long unsigned int j = 0; j < Ntracks_EB_list_Significance_Sig.size(); j++) {
1357  Ntracks_EB_list_Significance_Sig[j]->Fill(N_tracks_MTD_significance[j]);
1358  ch_iso_EB_list_Significance_Sig[j]->Fill(pT_sum_MTD_significance[j]);
1359  rel_ch_iso_EB_list_Significance_Sig[j]->Fill(rel_pT_sum_MTD_significance[j]);
1360 
1361  if (optionalPlots_) {
1362  Ntracks_sim_EB_list_Significance_Sig[j]->Fill(N_tracks_sim_MTD_significance[j]);
1363  ch_iso_sim_EB_list_Significance_Sig[j]->Fill(pT_sum_sim_MTD_significance[j]);
1364  rel_ch_iso_sim_EB_list_Significance_Sig[j]->Fill(rel_pT_sum_sim_MTD_significance[j]);
1365  }
1366  }
1367 
1368  if (rel_pT_sum_noMTD < rel_iso_cut_) { // filling hists for iso efficiency calculations
1369  meEle_pt_noMTD_Sig_EB_->Fill(ele.pt());
1370  meEle_eta_noMTD_Sig_EB_->Fill(std::abs(ele.eta()));
1371  meEle_phi_noMTD_Sig_EB_->Fill(ele.phi());
1372  }
1373  if (optionalPlots_) {
1374  for (long unsigned int k = 0; k < Ntracks_EB_list_Sig.size(); k++) {
1375  if (rel_pT_sum_MTD[k] < rel_iso_cut_) {
1376  Ele_pT_MTD_EB_list_Sig[k]->Fill(ele.pt());
1377  Ele_eta_MTD_EB_list_Sig[k]->Fill(std::abs(ele.eta()));
1378  Ele_phi_MTD_EB_list_Sig[k]->Fill(ele.phi());
1379 
1380  Ele_pT_sim_MTD_EB_list_Sig[k]->Fill(ele_sim_pt);
1381  }
1382  }
1383  if (rel_pT_sum_gen < rel_iso_cut_) {
1384  meEle_pt_gen_Sig_EB_->Fill(ele_sim_pt);
1385  meEle_eta_gen_Sig_EB_->Fill(ele_sim_eta);
1386  meEle_phi_gen_Sig_EB_->Fill(ele_sim_phi);
1387  }
1388  }
1389 
1390  for (long unsigned int k = 0; k < Ntracks_EB_list_Significance_Sig.size(); k++) {
1391  if (rel_pT_sum_MTD_significance[k] < rel_iso_cut_) {
1392  Ele_pT_MTD_EB_list_Significance_Sig[k]->Fill(ele.pt());
1393  Ele_eta_MTD_EB_list_Significance_Sig[k]->Fill(std::abs(ele.eta()));
1394  Ele_phi_MTD_EB_list_Significance_Sig[k]->Fill(ele.phi());
1395  }
1396  if (optionalPlots_ and rel_pT_sum_sim_MTD_significance[k] < rel_iso_cut_)
1397  Ele_pT_sim_MTD_EB_list_Significance_Sig[k]->Fill(ele_sim_pt);
1398  }
1399 
1400  } else { // for endcap
1401 
1402  meEleISO_Ntracks_Sig_EE_->Fill(N_tracks_noMTD);
1403  meEleISO_chIso_Sig_EE_->Fill(pT_sum_noMTD);
1404  meEleISO_rel_chIso_Sig_EE_->Fill(rel_pT_sum_noMTD);
1405  if (optionalPlots_) {
1406  for (long unsigned int j = 0; j < Ntracks_EE_list_Sig.size(); j++) {
1407  Ntracks_EE_list_Sig[j]->Fill(N_tracks_MTD[j]);
1408  ch_iso_EE_list_Sig[j]->Fill(pT_sum_MTD[j]);
1409  rel_ch_iso_EE_list_Sig[j]->Fill(rel_pT_sum_MTD[j]);
1410 
1411  Ntracks_sim_EE_list_Sig[j]->Fill(N_tracks_sim_MTD[j]);
1412  ch_iso_sim_EE_list_Sig[j]->Fill(pT_sum_sim_MTD[j]);
1413  rel_ch_iso_sim_EE_list_Sig[j]->Fill(rel_pT_sum_sim_MTD[j]);
1414  }
1415  meEleISO_Ntracks_gen_Sig_EE_->Fill(N_tracks_gen);
1416  meEleISO_chIso_gen_Sig_EE_->Fill(pT_sum_gen);
1417  meEleISO_rel_chIso_gen_Sig_EE_->Fill(rel_pT_sum_gen);
1418  }
1419 
1420  for (long unsigned int j = 0; j < Ntracks_EE_list_Significance_Sig.size(); j++) {
1421  Ntracks_EE_list_Significance_Sig[j]->Fill(N_tracks_MTD_significance[j]);
1422  ch_iso_EE_list_Significance_Sig[j]->Fill(pT_sum_MTD_significance[j]);
1423  rel_ch_iso_EE_list_Significance_Sig[j]->Fill(rel_pT_sum_MTD_significance[j]);
1424 
1425  if (optionalPlots_) {
1426  Ntracks_sim_EE_list_Significance_Sig[j]->Fill(N_tracks_sim_MTD_significance[j]);
1427  ch_iso_sim_EE_list_Significance_Sig[j]->Fill(pT_sum_sim_MTD_significance[j]);
1428  rel_ch_iso_sim_EE_list_Significance_Sig[j]->Fill(rel_pT_sum_sim_MTD_significance[j]);
1429  }
1430  }
1431 
1432  if (rel_pT_sum_noMTD < rel_iso_cut_) { // filling hists for iso efficiency calculations
1433  meEle_pt_noMTD_Sig_EE_->Fill(ele.pt());
1434  meEle_eta_noMTD_Sig_EE_->Fill(std::abs(ele.eta()));
1435  meEle_phi_noMTD_Sig_EE_->Fill(ele.phi());
1436  }
1437  if (optionalPlots_) {
1438  for (long unsigned int k = 0; k < Ntracks_EE_list_Sig.size(); k++) {
1439  if (rel_pT_sum_MTD[k] < rel_iso_cut_) {
1440  Ele_pT_MTD_EE_list_Sig[k]->Fill(ele.pt());
1441  Ele_eta_MTD_EE_list_Sig[k]->Fill(std::abs(ele.eta()));
1442  Ele_phi_MTD_EE_list_Sig[k]->Fill(ele.phi());
1443 
1444  Ele_pT_sim_MTD_EE_list_Sig[k]->Fill(ele_sim_pt);
1445  }
1446  }
1447  if (rel_pT_sum_gen < rel_iso_cut_) {
1448  meEle_pt_gen_Sig_EE_->Fill(ele_sim_pt);
1449  meEle_eta_gen_Sig_EE_->Fill(ele_sim_eta);
1450  meEle_phi_gen_Sig_EE_->Fill(ele_sim_phi);
1451  }
1452  }
1453  for (long unsigned int k = 0; k < Ntracks_EE_list_Significance_Sig.size(); k++) {
1454  if (rel_pT_sum_MTD_significance[k] < rel_iso_cut_) {
1455  Ele_pT_MTD_EE_list_Significance_Sig[k]->Fill(ele.pt());
1456  Ele_eta_MTD_EE_list_Significance_Sig[k]->Fill(std::abs(ele.eta()));
1457  Ele_phi_MTD_EE_list_Significance_Sig[k]->Fill(ele.phi());
1458 
1459  if (optionalPlots_ and rel_pT_sum_sim_MTD_significance[k] < rel_iso_cut_)
1460  Ele_pT_sim_MTD_EE_list_Significance_Sig[k]->Fill(ele_sim_pt);
1461  }
1462  }
1463  }
1464  } else { // non-promt part
1465  if (Barrel_ele) {
1466  meEleISO_Ntracks_Bkg_EB_->Fill(N_tracks_noMTD);
1467  meEleISO_chIso_Bkg_EB_->Fill(pT_sum_noMTD);
1468  meEleISO_rel_chIso_Bkg_EB_->Fill(rel_pT_sum_noMTD);
1469  if (optionalPlots_) {
1470  for (long unsigned int j = 0; j < Ntracks_EB_list_Bkg.size(); j++) {
1471  Ntracks_EB_list_Bkg[j]->Fill(N_tracks_MTD[j]);
1472  ch_iso_EB_list_Bkg[j]->Fill(pT_sum_MTD[j]);
1473  rel_ch_iso_EB_list_Bkg[j]->Fill(rel_pT_sum_MTD[j]);
1474 
1475  Ntracks_sim_EB_list_Bkg[j]->Fill(N_tracks_sim_MTD[j]);
1476  ch_iso_sim_EB_list_Bkg[j]->Fill(pT_sum_sim_MTD[j]);
1477  rel_ch_iso_sim_EB_list_Bkg[j]->Fill(rel_pT_sum_sim_MTD[j]);
1478  }
1479  meEleISO_Ntracks_gen_Bkg_EB_->Fill(N_tracks_gen);
1480  meEleISO_chIso_gen_Bkg_EB_->Fill(pT_sum_gen);
1481  meEleISO_rel_chIso_gen_Bkg_EB_->Fill(rel_pT_sum_gen);
1482  }
1483 
1484  for (long unsigned int j = 0; j < Ntracks_EB_list_Significance_Bkg.size(); j++) {
1485  Ntracks_EB_list_Significance_Bkg[j]->Fill(N_tracks_MTD_significance[j]);
1486  ch_iso_EB_list_Significance_Bkg[j]->Fill(pT_sum_MTD_significance[j]);
1487  rel_ch_iso_EB_list_Significance_Bkg[j]->Fill(rel_pT_sum_MTD_significance[j]);
1488 
1489  if (optionalPlots_) {
1490  Ntracks_sim_EB_list_Significance_Bkg[j]->Fill(N_tracks_sim_MTD_significance[j]);
1491  ch_iso_sim_EB_list_Significance_Bkg[j]->Fill(pT_sum_sim_MTD_significance[j]);
1492  rel_ch_iso_sim_EB_list_Significance_Bkg[j]->Fill(rel_pT_sum_sim_MTD_significance[j]);
1493  }
1494  }
1495 
1496  if (rel_pT_sum_noMTD < rel_iso_cut_) { // filling hists for iso efficiency calculations
1497  meEle_pt_noMTD_Bkg_EB_->Fill(ele.pt());
1498  meEle_eta_noMTD_Bkg_EB_->Fill(std::abs(ele.eta()));
1499  meEle_phi_noMTD_Bkg_EB_->Fill(ele.phi());
1500  }
1501  if (optionalPlots_) {
1502  for (long unsigned int k = 0; k < Ntracks_EB_list_Bkg.size(); k++) {
1503  if (rel_pT_sum_MTD[k] < rel_iso_cut_) {
1504  Ele_pT_MTD_EB_list_Bkg[k]->Fill(ele.pt());
1505  Ele_eta_MTD_EB_list_Bkg[k]->Fill(std::abs(ele.eta()));
1506  Ele_phi_MTD_EB_list_Bkg[k]->Fill(ele.phi());
1507 
1508  Ele_pT_sim_MTD_EB_list_Bkg[k]->Fill(ele_sim_pt);
1509  }
1510  }
1511  if (rel_pT_sum_gen < rel_iso_cut_) {
1512  meEle_pt_gen_Bkg_EB_->Fill(ele_sim_pt);
1513  meEle_eta_gen_Bkg_EB_->Fill(ele_sim_eta);
1514  meEle_phi_gen_Bkg_EB_->Fill(ele_sim_phi);
1515  }
1516  }
1517  for (long unsigned int k = 0; k < Ntracks_EB_list_Significance_Bkg.size(); k++) {
1518  if (rel_pT_sum_MTD_significance[k] < rel_iso_cut_) {
1519  Ele_pT_MTD_EB_list_Significance_Bkg[k]->Fill(ele.pt());
1520  Ele_eta_MTD_EB_list_Significance_Bkg[k]->Fill(std::abs(ele.eta()));
1521  Ele_phi_MTD_EB_list_Significance_Bkg[k]->Fill(ele.phi());
1522 
1523  if (optionalPlots_ and rel_pT_sum_sim_MTD_significance[k] < rel_iso_cut_)
1524  Ele_pT_sim_MTD_EB_list_Significance_Bkg[k]->Fill(ele_sim_pt);
1525  }
1526  }
1527 
1528  } else { // for endcap
1529  meEleISO_Ntracks_Bkg_EE_->Fill(N_tracks_noMTD);
1530  meEleISO_chIso_Bkg_EE_->Fill(pT_sum_noMTD);
1531  meEleISO_rel_chIso_Bkg_EE_->Fill(rel_pT_sum_noMTD);
1532  if (optionalPlots_) {
1533  for (long unsigned int j = 0; j < Ntracks_EE_list_Bkg.size(); j++) {
1534  Ntracks_EE_list_Bkg[j]->Fill(N_tracks_MTD[j]);
1535  ch_iso_EE_list_Bkg[j]->Fill(pT_sum_MTD[j]);
1536  rel_ch_iso_EE_list_Bkg[j]->Fill(rel_pT_sum_MTD[j]);
1537 
1538  Ntracks_sim_EE_list_Bkg[j]->Fill(N_tracks_sim_MTD[j]);
1539  ch_iso_sim_EE_list_Bkg[j]->Fill(pT_sum_sim_MTD[j]);
1540  rel_ch_iso_sim_EE_list_Bkg[j]->Fill(rel_pT_sum_sim_MTD[j]);
1541  }
1542  meEleISO_Ntracks_gen_Bkg_EE_->Fill(N_tracks_gen);
1543  meEleISO_chIso_gen_Bkg_EE_->Fill(pT_sum_gen);
1544  meEleISO_rel_chIso_gen_Bkg_EE_->Fill(rel_pT_sum_gen);
1545  }
1546 
1547  for (long unsigned int j = 0; j < Ntracks_EE_list_Significance_Bkg.size(); j++) {
1548  Ntracks_EE_list_Significance_Bkg[j]->Fill(N_tracks_MTD_significance[j]);
1549  ch_iso_EE_list_Significance_Bkg[j]->Fill(pT_sum_MTD_significance[j]);
1550  rel_ch_iso_EE_list_Significance_Bkg[j]->Fill(rel_pT_sum_MTD_significance[j]);
1551 
1552  if (optionalPlots_) {
1553  Ntracks_sim_EE_list_Significance_Bkg[j]->Fill(N_tracks_sim_MTD_significance[j]);
1554  ch_iso_sim_EE_list_Significance_Bkg[j]->Fill(pT_sum_sim_MTD_significance[j]);
1555  rel_ch_iso_sim_EE_list_Significance_Bkg[j]->Fill(rel_pT_sum_sim_MTD_significance[j]);
1556  }
1557  }
1558 
1559  if (rel_pT_sum_noMTD < rel_iso_cut_) { // filling hists for iso efficiency calculations
1560  meEle_pt_noMTD_Bkg_EE_->Fill(ele.pt());
1561  meEle_eta_noMTD_Bkg_EE_->Fill(std::abs(ele.eta()));
1562  meEle_phi_noMTD_Bkg_EE_->Fill(ele.phi());
1563  }
1564  if (optionalPlots_) {
1565  for (long unsigned int k = 0; k < Ntracks_EE_list_Bkg.size(); k++) {
1566  if (rel_pT_sum_MTD[k] < rel_iso_cut_) {
1567  Ele_pT_MTD_EE_list_Bkg[k]->Fill(ele.pt());
1568  Ele_eta_MTD_EE_list_Bkg[k]->Fill(std::abs(ele.eta()));
1569  Ele_phi_MTD_EE_list_Bkg[k]->Fill(ele.phi());
1570 
1571  Ele_pT_sim_MTD_EE_list_Bkg[k]->Fill(ele_sim_pt);
1572  }
1573  }
1574  if (rel_pT_sum_gen < rel_iso_cut_) {
1575  meEle_pt_gen_Bkg_EE_->Fill(ele_sim_pt);
1576  meEle_eta_gen_Bkg_EE_->Fill(ele_sim_eta);
1577  meEle_phi_gen_Bkg_EE_->Fill(ele_sim_phi);
1578  }
1579  }
1580 
1581  for (long unsigned int k = 0; k < Ntracks_EE_list_Significance_Bkg.size(); k++) {
1582  if (rel_pT_sum_MTD_significance[k] < rel_iso_cut_) {
1583  Ele_pT_MTD_EE_list_Significance_Bkg[k]->Fill(ele.pt());
1584  Ele_eta_MTD_EE_list_Significance_Bkg[k]->Fill(std::abs(ele.eta()));
1585  Ele_phi_MTD_EE_list_Significance_Bkg[k]->Fill(ele.phi());
1586 
1587  if (optionalPlots_ and rel_pT_sum_sim_MTD_significance[k] < rel_iso_cut_)
1588  Ele_pT_sim_MTD_EE_list_Significance_Bkg[k]->Fill(ele_sim_pt);
1589  }
1590  }
1591  }
1592  }
1593  } // electron matched to a track
1594  } // electron collection inside single event
1595 }
1596 
1597 // ------------ method for histogram booking ------------
1599  ibook.setCurrentFolder(folder_);
1600 
1601  // for regular Validation use a reduced binning, for detailed analysis and ROC curves use the larger one
1602  int nbin_1 = 40;
1603  int nbin_2 = 40;
1604  if (optionalPlots_) {
1605  nbin_1 = 1000;
1606  nbin_2 = 2000;
1607  }
1608 
1609  // histogram booking
1610 
1612  ibook.book1D("SigTrk_avg_timing_err",
1613  "Average signal electron track MTD timing uncertainty;Time Error (ns);Counts",
1614  200,
1615  0,
1616  0.1);
1618  "PUTrk_avg_timing_err", "Average PU track MTD timing uncertainty;Time Error (ns);Counts", 200, 0, 0.1);
1620  ibook.book1D("Vtx_avg_timing_err", "Average vertex timing uncertainty;Time Error (ns);Counts", 200, 0, 0.1);
1621 
1623  ibook.book1D("Track_dt_info_check",
1624  "Tracks dt check - ratio between tracks with (value 1) and without (value 0) timing info",
1625  2,
1626  0,
1627  2);
1628 
1629  meTrk_genMatch_check_ = ibook.book1D(
1630  "Track_genMatch_info_check", "Check on tracks matched with a GenParticle (matched=1, non matched=0)", 2, 0, 2);
1631 
1632  // signal
1633  meEleISO_Ntracks_Sig_EB_ = ibook.book1D("Ele_Iso_Ntracks_Sig_EB",
1634  "Number of tracks in isolation cone around electron track after basic cuts - "
1635  "Signal Barrel;Number of tracks;Counts",
1636  20,
1637  0,
1638  20);
1639 
1641  "Ele_chIso_sum_Sig_EB",
1642  "Track pT sum in isolation cone around electron track after basic cuts - Signal Barrel;p_{T} (GeV);Counts",
1643  nbin_2,
1644  0,
1645  20);
1646 
1648  "Ele_rel_chIso_sum_Sig_EB",
1649  "Track relative pT sum in isolation cone around electron track after basic cuts - Signal Barrel;Isolation;Counts",
1650  nbin_1,
1651  0,
1652  4);
1653  if (optionalPlots_) {
1655  ibook.book1D("Ele_Iso_Ntracks_MTD_1_Sig_EB",
1656  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1657  20,
1658  0,
1659  20);
1660 
1662  "Ele_chIso_sum_MTD_1_Sig_EB",
1663  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1664  nbin_2,
1665  0,
1666  20);
1668  "Ele_rel_chIso_sum_MTD_1_Sig_EB",
1669  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1670  nbin_1,
1671  0,
1672  4);
1673  // gen
1674  meEleISO_Ntracks_gen_Sig_EB_ = ibook.book1D("Ele_Iso_Ntracks_gen_Sig_EB",
1675  "Number of tracks in isolation cone around electron track after basic "
1676  "cuts using genInfo - Signal Barrel;Number of tracks;Counts",
1677  20,
1678  0,
1679  20);
1680 
1681  meEleISO_chIso_gen_Sig_EB_ = ibook.book1D("Ele_chIso_sum_gen_Sig_EB",
1682  "Track pT sum in isolation cone around electron track after basic cuts "
1683  "using genInfo - Signal Barrel;p_{T} (GeV);Counts",
1684  nbin_2,
1685  0,
1686  20);
1687 
1688  meEleISO_rel_chIso_gen_Sig_EB_ = ibook.book1D("Ele_rel_chIso_sum_gen_Sig_EB",
1689  "Track relative pT sum in isolation cone around electron track after "
1690  "basic cuts using genInfo - Signal Barrel;Isolation;Counts",
1691  nbin_1,
1692  0,
1693  4);
1694 
1696  ibook.book1D("Ele_Iso_Ntracks_MTD_2_Sig_EB",
1697  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1698  20,
1699  0,
1700  20);
1701 
1703  "Ele_chIso_sum_MTD_2_Sig_EB",
1704  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1705  nbin_2,
1706  0,
1707  20);
1709  "Ele_rel_chIso_sum_MTD_2_Sig_EB",
1710  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1711  nbin_1,
1712  0,
1713  4);
1714 
1716  ibook.book1D("Ele_Iso_Ntracks_MTD_3_Sig_EB",
1717  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1718  20,
1719  0,
1720  20);
1722  "Ele_chIso_sum_MTD_3_Sig_EB",
1723  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1724  nbin_2,
1725  0,
1726  20);
1728  "Ele_rel_chIso_sum_MTD_3_Sig_EB",
1729  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1730  nbin_1,
1731  0,
1732  4);
1733 
1735  ibook.book1D("Ele_Iso_Ntracks_MTD_4_Sig_EB",
1736  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1737  20,
1738  0,
1739  20);
1741  "Ele_chIso_sum_MTD_4_Sig_EB",
1742  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1743  nbin_2,
1744  0,
1745  20);
1747  "Ele_rel_chIso_sum_MTD_4_Sig_EB",
1748  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1749  nbin_1,
1750  0,
1751  4);
1752 
1754  ibook.book1D("Ele_Iso_Ntracks_MTD_5_Sig_EB",
1755  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1756  20,
1757  0,
1758  20);
1760  "Ele_chIso_sum_MTD_5_Sig_EB",
1761  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1762  nbin_2,
1763  0,
1764  20);
1766  "Ele_rel_chIso_sum_MTD_5_Sig_EB",
1767  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1768  nbin_1,
1769  0,
1770  4);
1771 
1773  ibook.book1D("Ele_Iso_Ntracks_MTD_6_Sig_EB",
1774  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1775  20,
1776  0,
1777  20);
1779  "Ele_chIso_sum_MTD_6_Sig_EB",
1780  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1781  nbin_2,
1782  0,
1783  20);
1785  "Ele_rel_chIso_sum_MTD_6_Sig_EB",
1786  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1787  nbin_1,
1788  0,
1789  4);
1790 
1792  ibook.book1D("Ele_Iso_Ntracks_MTD_7_Sig_EB",
1793  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1794  20,
1795  0,
1796  20);
1798  "Ele_chIso_sum_MTD_7_Sig_EB",
1799  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1800  nbin_2,
1801  0,
1802  20);
1804  "Ele_rel_chIso_sum_MTD_7_Sig_EB",
1805  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1806  nbin_1,
1807  0,
1808  4);
1809 
1811  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_1_Sig_EB",
1812  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1813  20,
1814  0,
1815  20);
1816 
1818  "Ele_chIso_sum_MTD_sim_1_Sig_EB",
1819  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1820  nbin_2,
1821  0,
1822  20);
1824  "Ele_rel_chIso_sum_MTD_sim_1_Sig_EB",
1825  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1826  nbin_1,
1827  0,
1828  4);
1829 
1831  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2_Sig_EB",
1832  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1833  20,
1834  0,
1835  20);
1836 
1838  "Ele_chIso_sum_MTD_sim_2_Sig_EB",
1839  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1840  nbin_2,
1841  0,
1842  20);
1844  "Ele_rel_chIso_sum_MTD_sim_2_Sig_EB",
1845  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1846  nbin_1,
1847  0,
1848  4);
1849 
1851  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3_Sig_EB",
1852  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1853  20,
1854  0,
1855  20);
1857  "Ele_chIso_sum_MTD_sim_3_Sig_EB",
1858  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1859  nbin_2,
1860  0,
1861  20);
1863  "Ele_rel_chIso_sum_MTD_sim_3_Sig_EB",
1864  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1865  nbin_1,
1866  0,
1867  4);
1868 
1870  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4_Sig_EB",
1871  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1872  20,
1873  0,
1874  20);
1876  "Ele_chIso_sum_MTD_sim_4_Sig_EB",
1877  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1878  nbin_2,
1879  0,
1880  20);
1882  "Ele_rel_chIso_sum_MTD_sim_4_Sig_EB",
1883  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1884  nbin_1,
1885  0,
1886  4);
1887 
1889  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_5_Sig_EB",
1890  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1891  20,
1892  0,
1893  20);
1895  "Ele_chIso_sum_MTD_sim_5_Sig_EB",
1896  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1897  nbin_2,
1898  0,
1899  20);
1901  "Ele_rel_chIso_sum_MTD_sim_5_Sig_EB",
1902  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1903  nbin_1,
1904  0,
1905  4);
1906 
1908  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_6_Sig_EB",
1909  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1910  20,
1911  0,
1912  20);
1914  "Ele_chIso_sum_MTD_sim_6_Sig_EB",
1915  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1916  nbin_2,
1917  0,
1918  20);
1920  "Ele_rel_chIso_sum_MTD_sim_6_Sig_EB",
1921  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1922  nbin_1,
1923  0,
1924  4);
1925 
1927  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_7_Sig_EB",
1928  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
1929  20,
1930  0,
1931  20);
1933  "Ele_chIso_sum_MTD_sim_7_Sig_EB",
1934  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
1935  nbin_2,
1936  0,
1937  20);
1939  "Ele_rel_chIso_sum_MTD_sim_7_Sig_EB",
1940  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
1941  nbin_1,
1942  0,
1943  4);
1944  }
1946  ibook.book1D("Ele_Iso_Ntracks_MTD_4sigma_Sig_EB",
1947  "Tracks in isolation cone around electron track after basic cuts with MTD - 4 sigma compatibiliy - "
1948  "Signal Barrel;Number of tracks;Counts",
1949  20,
1950  0,
1951  20);
1953  ibook.book1D("Ele_chIso_sum_MTD_4sigma_Sig_EB",
1954  "Track pT sum in isolation cone around electron track after basic "
1955  "cuts with MTD - 4 sigma compatibiliy - Signal Barrel;p_{T} (GeV);Counts",
1956  nbin_2,
1957  0,
1958  20);
1960  ibook.book1D("Ele_rel_chIso_sum_MTD_4sigma_Sig_EB",
1961  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 4 sigma "
1962  "compatibiliy - Signal Barrel;Isolation;Counts",
1963  nbin_1,
1964  0,
1965  4);
1966 
1968  ibook.book1D("Ele_Iso_Ntracks_MTD_3sigma_Sig_EB",
1969  "Tracks in isolation cone around electron track after basic cuts with MTD - 3 sigma compatibiliy - "
1970  "Signal Barrel;Number of tracks;Counts",
1971  20,
1972  0,
1973  20);
1975  ibook.book1D("Ele_chIso_sum_MTD_3sigma_Sig_EB",
1976  "Track pT sum in isolation cone around electron track after basic "
1977  "cuts with MTD - 3 sigma compatibiliy - Signal Barrel;p_{T} (GeV);Counts",
1978  nbin_2,
1979  0,
1980  20);
1981  meEleISO_rel_chIso_MTD_3sigma_Sig_EB_ = ibook.book1D("Ele_rel_chIso_sum_MTD_3sigma_Sig_EB",
1982  "Track relative pT sum in isolation cone around electron track "
1983  "after basic cuts with MTD - 3 sigma;Isolation;Counts"
1984  "compatibiliy - Signal Barrel",
1985  nbin_1,
1986  0,
1987  4);
1988 
1990  ibook.book1D("Ele_Iso_Ntracks_MTD_2sigma_Sig_EB",
1991  "Tracks in isolation cone around electron track after basic cuts with MTD - 2 sigma compatibiliy - "
1992  "Signal Barrel;Number of tracks;Counts",
1993  20,
1994  0,
1995  20);
1997  ibook.book1D("Ele_chIso_sum_MTD_2sigma_Sig_EB",
1998  "Track pT sum in isolation cone around electron track after basic "
1999  "cuts with MTD - 2 sigma compatibiliy - Signal Barrel;p_{T} (GeV);Counts",
2000  nbin_2,
2001  0,
2002  20);
2004  ibook.book1D("Ele_rel_chIso_sum_MTD_2sigma_Sig_EB",
2005  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 2 sigma "
2006  "compatibiliy - Signal Barrel;Isolation;Counts",
2007  nbin_1,
2008  0,
2009  4);
2010 
2012  ibook.book1D("Ele_pT_tot_Sig_EB", "Electron pT tot - Signal Barrel;p_{T} (GeV);Counts", 30, 10, 100);
2014  ibook.book1D("Ele_pT_noMTD_Sig_EB", "Electron pT noMTD - Signal Barrel;p_{T} (GeV);Counts", 30, 10, 100);
2015 
2017  ibook.book1D("Ele_pT_sim_tot_Sig_EB", "Electron SIM pT tot - Signal Barrel;p_{T} (GeV);Counts", 30, 10, 100);
2018 
2020  ibook.book1D("Ele_eta_tot_Sig_EB", "Electron eta tot - Signal Barrel;#eta;Counts", 32, 0., 1.6);
2022  ibook.book1D("Ele_eta_noMTD_Sig_EB", "Electron eta noMTD - Signal Barrel;#eta;Counts", 32, 0., 1.6);
2023 
2025  ibook.book1D("Ele_phi_tot_Sig_EB", "Electron phi tot - Signal Barrel;#phi;Counts", 64, -3.2, 3.2);
2027  ibook.book1D("Ele_phi_noMTD_Sig_EB", "Electron phi noMTD - Signal Barrel;#phi;Counts", 64, -3.2, 3.2);
2028 
2029  if (optionalPlots_) {
2031  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4sigma_Sig_EB",
2032  "Number of tracks in isolation cone around electron track after basic cuts with MTD - 4 sigma "
2033  "compatibiliy - Signal Barrel;Number of tracks;Counts",
2034  20,
2035  0,
2036  20);
2038  ibook.book1D("Ele_chIso_sum_MTD_sim_4sigma_Sig_EB",
2039  "Track pT sum in isolation cone around electron track after "
2040  "basic cuts with MTD - 4 sigma compatibiliy - Signal Barrel;p_{T} (GeV);Counts",
2041  nbin_2,
2042  0,
2043  20);
2045  "Ele_rel_chIso_sum_MTD_sim_4sigma_Sig_EB",
2046  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 4 sigma "
2047  "compatibiliy - Signal Barrel;Isolation;Counts",
2048  nbin_1,
2049  0,
2050  4);
2051 
2053  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3sigma_Sig_EB",
2054  "Tracks in isolation cone around electron track after basic "
2055  "cuts with MTD - 3 sigma compatibiliy - Signal Barrel;Number of tracks;Counts",
2056  20,
2057  0,
2058  20);
2060  ibook.book1D("Ele_chIso_sum_MTD_sim_3sigma_Sig_EB",
2061  "Track pT sum in isolation cone around electron track after "
2062  "basic cuts with MTD - 3 sigma compatibiliy - Signal Barrel;p_{T} (GeV);Counts",
2063  nbin_2,
2064  0,
2065  20);
2067  "Ele_rel_chIso_sum_MTD_sim_3sigma_Sig_EB",
2068  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 3 sigma "
2069  "compatibiliy - Signal Barrel;Isolation;Counts",
2070  nbin_1,
2071  0,
2072  4);
2073 
2075  "Ele_Iso_Ntracks_MTD_sim_2sigma_Sig_EB",
2076  "Tracks in isolation cone around electron track after basic cuts with MTD - 2 sigma compatibiliy - "
2077  "Signal Barrel;Number of tracks;Counts",
2078  20,
2079  0,
2080  20);
2082  ibook.book1D("Ele_chIso_sum_MTD_sim_2sigma_Sig_EB",
2083  "Track pT sum in isolation cone around electron track after "
2084  "basic cuts with MTD - 2 sigma compatibiliy - Signal Barrel;p_{T} (GeV);Counts",
2085  nbin_2,
2086  0,
2087  20);
2089  "Ele_rel_chIso_sum_MTD_sim_2sigma_Sig_EB",
2090  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 2 sigma "
2091  "compatibiliy - Signal Barrel;Isolation;Counts",
2092  nbin_1,
2093  0,
2094  4);
2095 
2097  ibook.book1D("Ele_pT_gen_Sig_EB", "Electron pT genInfo - Signal Barrel;p_{T} (GeV);Counts", 30, 10, 100);
2099  ibook.book1D("Ele_eta_gen_Sig_EB", "Electron eta genInfo - Signal Barrel;#eta;Counts", 32, 0., 1.6);
2101  ibook.book1D("Ele_phi_gen_Sig_EB", "Electron phi genInfo - Signal Barrel;#phi;Counts", 64, -3.2, 3.2);
2102 
2103  meEle_pt_MTD_1_Sig_EB_ = ibook.book1D("Ele_pT_MTD_1_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2104  meEle_eta_MTD_1_Sig_EB_ = ibook.book1D("Ele_eta_MTD_1_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2105  meEle_phi_MTD_1_Sig_EB_ = ibook.book1D("Ele_phi_MTD_1_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2106 
2107  meEle_pt_MTD_2_Sig_EB_ = ibook.book1D("Ele_pT_MTD_2_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2108  meEle_eta_MTD_2_Sig_EB_ = ibook.book1D("Ele_eta_MTD_2_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2109  meEle_phi_MTD_2_Sig_EB_ = ibook.book1D("Ele_phi_MTD_2_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2110 
2111  meEle_pt_MTD_3_Sig_EB_ = ibook.book1D("Ele_pT_MTD_3_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2112  meEle_eta_MTD_3_Sig_EB_ = ibook.book1D("Ele_eta_MTD_3_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2113  meEle_phi_MTD_3_Sig_EB_ = ibook.book1D("Ele_phi_MTD_3_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2114 
2115  meEle_pt_MTD_4_Sig_EB_ = ibook.book1D("Ele_pT_MTD_4_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2116  meEle_eta_MTD_4_Sig_EB_ = ibook.book1D("Ele_eta_MTD_4_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2117  meEle_phi_MTD_4_Sig_EB_ = ibook.book1D("Ele_phi_MTD_4_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2118 
2119  meEle_pt_MTD_5_Sig_EB_ = ibook.book1D("Ele_pT_MTD_5_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2120  meEle_eta_MTD_5_Sig_EB_ = ibook.book1D("Ele_eta_MTD_5_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2121  meEle_phi_MTD_5_Sig_EB_ = ibook.book1D("Ele_phi_MTD_5_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2122 
2123  meEle_pt_MTD_6_Sig_EB_ = ibook.book1D("Ele_pT_MTD_6_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2124  meEle_eta_MTD_6_Sig_EB_ = ibook.book1D("Ele_eta_MTD_6_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2125  meEle_phi_MTD_6_Sig_EB_ = ibook.book1D("Ele_phi_MTD_6_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2126 
2127  meEle_pt_MTD_7_Sig_EB_ = ibook.book1D("Ele_pT_MTD_7_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2128  meEle_eta_MTD_7_Sig_EB_ = ibook.book1D("Ele_eta_MTD_7_Sig_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
2129  meEle_phi_MTD_7_Sig_EB_ = ibook.book1D("Ele_phi_MTD_7_Sig_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2130 
2132  ibook.book1D("Ele_pT_sim_MTD_1_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2134  ibook.book1D("Ele_pT_sim_MTD_2_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2136  ibook.book1D("Ele_pT_sim_MTD_3_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2138  ibook.book1D("Ele_pT_sim_MTD_4_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2140  ibook.book1D("Ele_pT_sim_MTD_5_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2142  ibook.book1D("Ele_pT_sim_MTD_6_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2144  ibook.book1D("Ele_pT_sim_MTD_7_Sig_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2145  }
2146 
2148  ibook.book1D("Ele_pT_MTD_4sigma_Sig_EB",
2149  "Electron pT MTD - 4 sigma compatibility - Signal Barrel;p_{T} (GeV);Counts",
2150  30,
2151  10,
2152  100);
2154  "Ele_eta_MTD_4sigma_Sig_EB", "Electron eta MTD - 4 sigma compatibility - Signal Barrel;#eta;Counts", 32, 0., 1.6);
2155  meEle_phi_MTD_4sigma_Sig_EB_ = ibook.book1D("Ele_phi_MTD_4sigma_Sig_EB",
2156  "Electron phi MTD - 4 sigma compatibility - Signal Barrel;#phi;Counts",
2157  64,
2158  -3.2,
2159  3.2);
2160 
2162  ibook.book1D("Ele_pT_MTD_3sigma_Sig_EB",
2163  "Electron pT MTD - 3 sigma compatibility - Signal Barrel;p_{T} (GeV);Counts",
2164  30,
2165  10,
2166  100);
2168  "Ele_eta_MTD_3sigma_Sig_EB", "Electron eta MTD - 3 sigma compatibility - Signal Barrel;#eta;Counts", 32, 0., 1.6);
2169  meEle_phi_MTD_3sigma_Sig_EB_ = ibook.book1D("Ele_phi_MTD_3sigma_Sig_EB",
2170  "Electron phi MTD - 3 sigma compatibility - Signal Barrel;#phi;Counts",
2171  64,
2172  -3.2,
2173  3.2);
2174 
2176  ibook.book1D("Ele_pT_MTD_2sigma_Sig_EB",
2177  "Electron pT MTD - 2 sigma compatibility - Signal Barrel;p_{T} (GeV);Counts",
2178  30,
2179  10,
2180  100);
2182  "Ele_eta_MTD_2sigma_Sig_EB", "Electron eta MTD - 2 sigma compatibility - Signal Barrel;#eta;Counts", 32, 0., 1.6);
2183  meEle_phi_MTD_2sigma_Sig_EB_ = ibook.book1D("Ele_phi_MTD_2sigma_Sig_EB",
2184  "Electron phi MTD - 2 sigma compatibility - Signal Barrel;#phi;Counts",
2185  64,
2186  -3.2,
2187  3.2);
2188 
2189  meEleISO_Ntracks_Sig_EE_ = ibook.book1D("Ele_Iso_Ntracks_Sig_EE",
2190  "Number of tracks in isolation cone around electron track after basic cuts - "
2191  "Signal Endcap;Number of tracks;Counts",
2192  20,
2193  0,
2194  20);
2196  "Ele_chIso_sum_Sig_EE",
2197  "Track pT sum in isolation cone around electron track after basic cuts - Signal Endcap;p_{T} (GeV);Counts",
2198  nbin_2,
2199  0,
2200  20);
2202  "Ele_rel_chIso_sum_Sig_EE",
2203  "Track relative pT sum in isolation cone around electron track after basic cuts - Signal Endcap;Isolation;Counts",
2204  nbin_1,
2205  0,
2206  4);
2207 
2208  if (optionalPlots_) {
2210  ibook.book1D("Ele_pT_sim_MTD_4sigma_Sig_EB",
2211  "Electron pT MTD SIM - 4 sigma compatibility - Signal Barrel;p_{T} (GeV);Counts",
2212  30,
2213  10,
2214  100);
2216  ibook.book1D("Ele_pT_sim_MTD_3sigma_Sig_EB",
2217  "Electron pT MTD SIM - 3 sigma compatibility - Signal Barrel;p_{T} (GeV);Counts",
2218  30,
2219  10,
2220  100);
2222  ibook.book1D("Ele_pT_sim_MTD_2sigma_Sig_EB",
2223  "Electron pT MTD SIM - 2 sigma compatibility - Signal Barrel;p_{T} (GeV);Counts",
2224  30,
2225  10,
2226  100);
2227 
2229  ibook.book1D("Ele_Iso_Ntracks_MTD_1_Sig_EE",
2230  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2231  20,
2232  0,
2233  20);
2235  "Ele_chIso_sum_MTD_1_Sig_EE",
2236  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2237  nbin_2,
2238  0,
2239  20);
2241  "Ele_rel_chIso_sum_MTD_1_Sig_EE",
2242  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2243  nbin_1,
2244  0,
2245  4);
2246 
2248  ibook.book1D("Ele_Iso_Ntracks_MTD_2_Sig_EE",
2249  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2250  20,
2251  0,
2252  20);
2254  "Ele_chIso_sum_MTD_2_Sig_EE",
2255  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2256  nbin_2,
2257  0,
2258  20);
2260  "Ele_rel_chIso_sum_MTD_2_Sig_EE",
2261  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2262  nbin_1,
2263  0,
2264  4);
2265 
2267  ibook.book1D("Ele_Iso_Ntracks_gen_Sig_EE",
2268  "Tracks in isolation cone around electron track after basic cuts using genInfo - Signal Endcap",
2269  20,
2270  0,
2271  20);
2273  ibook.book1D("Ele_chIso_sum_gen_Sig_EE",
2274  "Track pT sum in isolation cone around electron track after basic cuts - Signal Endcap",
2275  nbin_2,
2276  0,
2277  20);
2279  ibook.book1D("Ele_rel_chIso_sum_gen_Sig_EE",
2280  "Track relative pT sum in isolation cone around electron track after basic cuts - Signal Endcap",
2281  nbin_1,
2282  0,
2283  4);
2284 
2286  ibook.book1D("Ele_Iso_Ntracks_MTD_3_Sig_EE",
2287  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2288  20,
2289  0,
2290  20);
2292  "Ele_chIso_sum_MTD_3_Sig_EE",
2293  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2294  nbin_2,
2295  0,
2296  20);
2298  "Ele_rel_chIso_sum_MTD_3_Sig_EE",
2299  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2300  nbin_1,
2301  0,
2302  4);
2303 
2305  ibook.book1D("Ele_Iso_Ntracks_MTD_4_Sig_EE",
2306  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2307  20,
2308  0,
2309  20);
2311  "Ele_chIso_sum_MTD_4_Sig_EE",
2312  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2313  nbin_2,
2314  0,
2315  20);
2317  "Ele_rel_chIso_sum_MTD_4_Sig_EE",
2318  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2319  nbin_1,
2320  0,
2321  4);
2322 
2324  ibook.book1D("Ele_Iso_Ntracks_MTD_5_Sig_EE",
2325  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2326  20,
2327  0,
2328  20);
2330  "Ele_chIso_sum_MTD_5_Sig_EE",
2331  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2332  nbin_2,
2333  0,
2334  20);
2336  "Ele_rel_chIso_sum_MTD_5_Sig_EE",
2337  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2338  nbin_1,
2339  0,
2340  4);
2341 
2343  ibook.book1D("Ele_Iso_Ntracks_MTD_6_Sig_EE",
2344  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2345  20,
2346  0,
2347  20);
2349  "Ele_chIso_sum_MTD_6_Sig_EE",
2350  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2351  nbin_2,
2352  0,
2353  20);
2355  "Ele_rel_chIso_sum_MTD_6_Sig_EE",
2356  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2357  nbin_1,
2358  0,
2359  4);
2360 
2362  ibook.book1D("Ele_Iso_Ntracks_MTD_7_Sig_EE",
2363  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2364  20,
2365  0,
2366  20);
2368  "Ele_chIso_sum_MTD_7_Sig_EE",
2369  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2370  nbin_2,
2371  0,
2372  20);
2374  "Ele_rel_chIso_sum_MTD_7_Sig_EE",
2375  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2376  nbin_1,
2377  0,
2378  4);
2379 
2381  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_1_Sig_EE",
2382  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2383  20,
2384  0,
2385  20);
2387  "Ele_chIso_sum_MTD_sim_1_Sig_EE",
2388  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2389  nbin_2,
2390  0,
2391  20);
2393  "Ele_rel_chIso_sum_MTD_sim_1_Sig_EE",
2394  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2395  nbin_1,
2396  0,
2397  4);
2398 
2400  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2_Sig_EE",
2401  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2402  20,
2403  0,
2404  20);
2406  "Ele_chIso_sum_MTD_sim_2_Sig_EE",
2407  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2408  nbin_2,
2409  0,
2410  20);
2412  "Ele_rel_chIso_sum_MTD_sim_2_Sig_EE",
2413  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2414  nbin_1,
2415  0,
2416  4);
2417 
2419  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3_Sig_EE",
2420  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2421  20,
2422  0,
2423  20);
2425  "Ele_chIso_sum_MTD_sim_3_Sig_EE",
2426  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2427  nbin_2,
2428  0,
2429  20);
2431  "Ele_rel_chIso_sum_MTD_sim_3_Sig_EE",
2432  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2433  nbin_1,
2434  0,
2435  4);
2436 
2438  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4_Sig_EE",
2439  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2440  20,
2441  0,
2442  20);
2444  "Ele_chIso_sum_MTD_sim_4_Sig_EE",
2445  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2446  nbin_2,
2447  0,
2448  20);
2450  "Ele_rel_chIso_sum_MTD_sim_4_Sig_EE",
2451  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2452  nbin_1,
2453  0,
2454  4);
2455 
2457  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_5_Sig_EE",
2458  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2459  20,
2460  0,
2461  20);
2463  "Ele_chIso_sum_MTD_sim_5_Sig_EE",
2464  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2465  nbin_2,
2466  0,
2467  20);
2469  "Ele_rel_chIso_sum_MTD_sim_5_Sig_EE",
2470  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2471  nbin_1,
2472  0,
2473  4);
2474 
2476  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_6_Sig_EE",
2477  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2478  20,
2479  0,
2480  20);
2482  "Ele_chIso_sum_MTD_sim_6_Sig_EE",
2483  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2484  nbin_2,
2485  0,
2486  20);
2488  "Ele_rel_chIso_sum_MTD_sim_6_Sig_EE",
2489  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2490  nbin_1,
2491  0,
2492  4);
2493 
2495  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_7_Sig_EE",
2496  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2497  20,
2498  0,
2499  20);
2501  "Ele_chIso_sum_MTD_sim_7_Sig_EE",
2502  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2503  nbin_2,
2504  0,
2505  20);
2507  "Ele_rel_chIso_sum_MTD_sim_7_Sig_EE",
2508  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2509  nbin_1,
2510  0,
2511  4);
2512  }
2514  ibook.book1D("Ele_Iso_Ntracks_MTD_4sigma_Sig_EE",
2515  "Tracks in isolation cone around electron track after basic cuts with MTD - 4 sigma significance - "
2516  "Signal Endcap;Number of tracks;Counts",
2517  20,
2518  0,
2519  20);
2521  ibook.book1D("Ele_chIso_sum_MTD_4sigma_Sig_EE",
2522  "Track pT sum in isolation cone around electron track after basic "
2523  "cuts with MTD - 4 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2524  nbin_2,
2525  0,
2526  20);
2528  ibook.book1D("Ele_rel_chIso_sum_MTD_4sigma_Sig_EE",
2529  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 4 sigma "
2530  "significance - Signal Endcap;Isolation;Counts",
2531  nbin_1,
2532  0,
2533  4);
2534 
2536  ibook.book1D("Ele_Iso_Ntracks_MTD_3sigma_Sig_EE",
2537  "Tracks in isolation cone around electron track after basic cuts with MTD - 3 sigma significance - "
2538  "Signal Endcap;Number of tracks;Counts",
2539  20,
2540  0,
2541  20);
2543  ibook.book1D("Ele_chIso_sum_MTD_3sigma_Sig_EE",
2544  "Track pT sum in isolation cone around electron track after basic "
2545  "cuts with MTD - 3 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2546  nbin_2,
2547  0,
2548  20);
2550  ibook.book1D("Ele_rel_chIso_sum_MTD_3sigma_Sig_EE",
2551  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 3 sigma "
2552  "significance - Signal Endcap;Isolation;Counts",
2553  nbin_1,
2554  0,
2555  4);
2556 
2558  ibook.book1D("Ele_Iso_Ntracks_MTD_2sigma_Sig_EE",
2559  "Tracks in isolation cone around electron track after basic cuts with MTD - 2 sigma significance - "
2560  "Signal Endcap;Number of tracks;Counts",
2561  20,
2562  0,
2563  20);
2565  ibook.book1D("Ele_chIso_sum_MTD_2sigma_Sig_EE",
2566  "Track pT sum in isolation cone around electron track after basic "
2567  "cuts with MTD - 2 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2568  nbin_2,
2569  0,
2570  20);
2572  ibook.book1D("Ele_rel_chIso_sum_MTD_2sigma_Sig_EE",
2573  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD - 2 sigma "
2574  "significance - Signal Endcap;Isolation;Counts",
2575  nbin_1,
2576  0,
2577  4);
2578 
2580  ibook.book1D("Ele_pT_tot_Sig_EE", "Electron pT tot - Signal Endcap;p_{T} (GeV);Counts", 30, 10, 100);
2582  ibook.book1D("Ele_pT_noMTD_Sig_EE", "Electron pT noMTD - Signal Endcap;p_{T} (GeV);Counts", 30, 10, 100);
2583 
2585  ibook.book1D("Ele_pT_sim_tot_Sig_EE", "Electron pT tot - Signal Endcap;p_{T} (GeV);Counts", 30, 10, 100);
2586 
2588  ibook.book1D("Ele_eta_tot_Sig_EE", "Electron eta tot - Signal Endcap;#eta;Counts", 32, 1.6, 3.2);
2590  ibook.book1D("Ele_eta_noMTD_Sig_EE", "Electron eta noMTD - Signal Endcap;#eta;Counts", 32, 1.6, 3.2);
2591 
2593  ibook.book1D("Ele_phi_tot_Sig_EE", "Electron phi tot - Signal Endcap;#phi;Counts", 64, -3.2, 3.2);
2595  ibook.book1D("Ele_phi_noMTD_Sig_EE", "Electron phi noMTD - Signal Endcap;#phi;Counts", 64, -3.2, 3.2);
2596 
2597  if (optionalPlots_) {
2599  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4sigma_Sig_EE",
2600  "Number of tracks in isolation cone around electron track after basic cuts with MTD SIM - 4 sigma "
2601  "significance - Signal Endcap;Number of tracks;Counts",
2602  20,
2603  0,
2604  20);
2606  ibook.book1D("Ele_chIso_sum_MTD_sim_4sigma_Sig_EE",
2607  "Track pT sum in isolation cone around electron track after "
2608  "basic cuts with MTD SIM - 4 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2609  nbin_2,
2610  0,
2611  20);
2613  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_4sigma_Sig_EE",
2614  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 4 "
2615  "sigma significance - Signal Endcap;Isolation;Counts",
2616  nbin_1,
2617  0,
2618  4);
2619 
2621  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3sigma_Sig_EE",
2622  "Tracks in isolation cone around electron track after basic "
2623  "cuts with MTD SIM - 3 sigma significance - Signal Endcap;Number of tracks;Counts",
2624  20,
2625  0,
2626  20);
2628  ibook.book1D("Ele_chIso_sum_MTD_sim_3sigma_Sig_EE",
2629  "Track pT sum in isolation cone around electron track after "
2630  "basic cuts with MTD SIM - 3 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2631  nbin_2,
2632  0,
2633  20);
2635  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_3sigma_Sig_EE",
2636  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 3 "
2637  "sigma significance - Signal Endcap;Isolation;Counts",
2638  nbin_1,
2639  0,
2640  4);
2641 
2643  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2sigma_Sig_EE",
2644  "Tracks in isolation cone around electron track after basic "
2645  "cuts with MTD SIM - 2 sigma significance - Signal Endcap;Number of tracks;Counts",
2646  20,
2647  0,
2648  20);
2650  ibook.book1D("Ele_chIso_sum_MTD_sim_2sigma_Sig_EE",
2651  "Track pT sum in isolation cone around electron track after "
2652  "basic cuts with MTD SIM - 2 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2653  nbin_2,
2654  0,
2655  20);
2657  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_2sigma_Sig_EE",
2658  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 2 "
2659  "sigma significance - Signal Endcap;Isolation;Counts",
2660  nbin_1,
2661  0,
2662  4);
2663 
2664  meEle_pt_MTD_1_Sig_EE_ = ibook.book1D("Ele_pT_MTD_1_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2665  meEle_eta_MTD_1_Sig_EE_ = ibook.book1D("Ele_eta_MTD_1_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2666  meEle_phi_MTD_1_Sig_EE_ = ibook.book1D("Ele_phi_MTD_1_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2668  ibook.book1D("Ele_pT_gen_Sig_EE", "Electron pT genInfo - Signal Endcap;p_{T} (GeV);Counts", 30, 10, 100);
2670  ibook.book1D("Ele_eta_gen_Sig_EE", "Electron eta genInfo - Signal Endcap;#eta;Counts", 32, 1.6, 3.2);
2672  ibook.book1D("Ele_phi_gen_Sig_EE", "Electron phi genInfo - Signal Endcap;#phi;Counts", 64, -3.2, 3.2);
2673 
2674  meEle_pt_MTD_2_Sig_EE_ = ibook.book1D("Ele_pT_MTD_2_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2675  meEle_eta_MTD_2_Sig_EE_ = ibook.book1D("Ele_eta_MTD_2_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2676  meEle_phi_MTD_2_Sig_EE_ = ibook.book1D("Ele_phi_MTD_2_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2677 
2678  meEle_pt_MTD_3_Sig_EE_ = ibook.book1D("Ele_pT_MTD_3_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2679  meEle_eta_MTD_3_Sig_EE_ = ibook.book1D("Ele_eta_MTD_3_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2680  meEle_phi_MTD_3_Sig_EE_ = ibook.book1D("Ele_phi_MTD_3_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2681 
2682  meEle_pt_MTD_4_Sig_EE_ = ibook.book1D("Ele_pT_MTD_4_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2683  meEle_eta_MTD_4_Sig_EE_ = ibook.book1D("Ele_eta_MTD_4_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2684  meEle_phi_MTD_4_Sig_EE_ = ibook.book1D("Ele_phi_MTD_4_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2685 
2686  meEle_pt_MTD_5_Sig_EE_ = ibook.book1D("Ele_pT_MTD_5_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2687  meEle_eta_MTD_5_Sig_EE_ = ibook.book1D("Ele_eta_MTD_5_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2688  meEle_phi_MTD_5_Sig_EE_ = ibook.book1D("Ele_phi_MTD_5_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2689 
2690  meEle_pt_MTD_6_Sig_EE_ = ibook.book1D("Ele_pT_MTD_6_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2691  meEle_eta_MTD_6_Sig_EE_ = ibook.book1D("Ele_eta_MTD_6_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2692  meEle_phi_MTD_6_Sig_EE_ = ibook.book1D("Ele_phi_MTD_6_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2693 
2694  meEle_pt_MTD_7_Sig_EE_ = ibook.book1D("Ele_pT_MTD_7_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2695  meEle_eta_MTD_7_Sig_EE_ = ibook.book1D("Ele_eta_MTD_7_Sig_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
2696  meEle_phi_MTD_7_Sig_EE_ = ibook.book1D("Ele_phi_MTD_7_Sig_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
2697 
2699  ibook.book1D("Ele_pT_sim_MTD_1_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2701  ibook.book1D("Ele_pT_sim_MTD_2_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2703  ibook.book1D("Ele_pT_sim_MTD_3_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2705  ibook.book1D("Ele_pT_sim_MTD_4_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2707  ibook.book1D("Ele_pT_sim_MTD_5_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2709  ibook.book1D("Ele_pT_sim_MTD_6_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2711  ibook.book1D("Ele_pT_sim_MTD_7_Sig_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
2712 
2714  ibook.book1D("Ele_pT_sim_MTD_4sigma_Sig_EE",
2715  "Electron pT MTD SIM - 4 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2716  30,
2717  10,
2718  100);
2720  ibook.book1D("Ele_pT_sim_MTD_3sigma_Sig_EE",
2721  "Electron pT MTD SIM - 3 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2722  30,
2723  10,
2724  100);
2726  ibook.book1D("Ele_pT_sim_MTD_2sigma_Sig_EE",
2727  "Electron pT MTD SIM - 2 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2728  30,
2729  10,
2730  100);
2731  }
2732 
2734  ibook.book1D("Ele_pT_MTD_4sigma_Sig_EE",
2735  "Electron pT MTD - 4 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2736  30,
2737  10,
2738  100);
2740  "Ele_eta_MTD_4sigma_Sig_EE", "Electron eta MTD - 4 sigma significance - Signal Endcap;#eta;Counts", 32, 1.6, 3.2);
2742  "Ele_phi_MTD_4sigma_Sig_EE", "Electron phi MTD - 4 sigma significance - Signal Endcap;#phi;Counts", 64, -3.2, 3.2);
2743 
2745  ibook.book1D("Ele_pT_MTD_3sigma_Sig_EE",
2746  "Electron pT MTD - 3 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2747  30,
2748  10,
2749  100);
2751  "Ele_eta_MTD_3sigma_Sig_EE", "Electron eta MTD - 3 sigma significance - Signal Endcap;#eta;Counts", 32, 1.6, 3.2);
2753  "Ele_phi_MTD_3sigma_Sig_EE", "Electron phi MTD - 3 sigma significance - Signal Endcap;#phi;Counts", 64, -3.2, 3.2);
2754 
2756  ibook.book1D("Ele_pT_MTD_2sigma_Sig_EE",
2757  "Electron pT MTD - 2 sigma significance - Signal Endcap;p_{T} (GeV);Counts",
2758  30,
2759  10,
2760  100);
2762  "Ele_eta_MTD_2sigma_Sig_EE", "Electron eta MTD - 2 sigma significance - Signal Endcap;#eta;Counts", 32, 1.6, 3.2);
2764  "Ele_phi_MTD_2sigma_Sig_EE", "Electron phi MTD - 2 sigma significance - Signal Endcap;#phi;Counts", 64, -3.2, 3.2);
2765 
2766  // background
2768  "Ele_Iso_Ntracks_Bkg_EB",
2769  "Number of tracks in isolation cone around electron track after basic cuts - Bkg Barrel;Number of tracks;Counts",
2770  20,
2771  0,
2772  20);
2774  "Ele_chIso_sum_Bkg_EB",
2775  "Track pT sum in isolation cone around electron track after basic cuts - Bkg Barrel;p_{T} (GeV);Counts",
2776  nbin_2,
2777  0,
2778  20);
2780  "Ele_rel_chIso_sum_Bkg_EB",
2781  "Track relative pT sum in isolation cone around electron track after basic cuts - Bkg Barrel;Isolation;Counts",
2782  nbin_1,
2783  0,
2784  4);
2785  if (optionalPlots_) {
2787  ibook.book1D("Ele_Iso_Ntracks_MTD_1_Bkg_EB",
2788  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2789  20,
2790  0,
2791  20);
2793  "Ele_chIso_sum_MTD_1_Bkg_EB",
2794  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2795  nbin_2,
2796  0,
2797  20);
2799  "Ele_rel_chIso_sum_MTD_1_Bkg_EB",
2800  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2801  nbin_1,
2802  0,
2803  4);
2804 
2806  ibook.book1D("Ele_Iso_Ntracks_MTD_2_Bkg_EB",
2807  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2808  20,
2809  0,
2810  20);
2812  "Ele_chIso_sum_MTD_2_Bkg_EB",
2813  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2814  nbin_2,
2815  0,
2816  20);
2818  "Ele_rel_chIso_sum_MTD_2_Bkg_EB",
2819  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2820  nbin_1,
2821  0,
2822  4);
2823  meEleISO_Ntracks_gen_Bkg_EB_ = ibook.book1D("Ele_Iso_Ntracks_gen_Bkg_EB",
2824  "Tracks in isolation cone around electron track after basic cuts using "
2825  "genInfo - Bkg Barrel;Number of tracks;Counts",
2826  20,
2827  0,
2828  20);
2829  meEleISO_chIso_gen_Bkg_EB_ = ibook.book1D("Ele_chIso_sum_gen_Bkg_EB",
2830  "Track pT sum in isolation cone around electron track after basic cuts "
2831  "using genInfo - Bkg Barrel;p_{T} (GeV);Counts",
2832  nbin_2,
2833  0,
2834  20);
2835  meEleISO_rel_chIso_gen_Bkg_EB_ = ibook.book1D("Ele_rel_chIso_sum_gen_Bkg_EB",
2836  "Track relative pT sum in isolation cone around electron track after "
2837  "basic cuts using genInfo - Bkg Barrel;Isolation;Counts",
2838  nbin_1,
2839  0,
2840  4);
2842  ibook.book1D("Ele_Iso_Ntracks_MTD_3_Bkg_EB",
2843  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2844  20,
2845  0,
2846  20);
2848  "Ele_chIso_sum_MTD_3_Bkg_EB",
2849  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2850  nbin_2,
2851  0,
2852  20);
2854  "Ele_rel_chIso_sum_MTD_3_Bkg_EB",
2855  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2856  nbin_1,
2857  0,
2858  4);
2859 
2861  ibook.book1D("Ele_Iso_Ntracks_MTD_4_Bkg_EB",
2862  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2863  20,
2864  0,
2865  20);
2867  "Ele_chIso_sum_MTD_4_Bkg_EB",
2868  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2869  nbin_2,
2870  0,
2871  20);
2873  "Ele_rel_chIso_sum_MTD_4_Bkg_EB",
2874  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2875  nbin_1,
2876  0,
2877  4);
2878 
2880  ibook.book1D("Ele_Iso_Ntracks_MTD_5_Bkg_EB",
2881  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2882  20,
2883  0,
2884  20);
2886  "Ele_chIso_sum_MTD_5_Bkg_EB",
2887  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2888  nbin_2,
2889  0,
2890  20);
2892  "Ele_rel_chIso_sum_MTD_5_Bkg_EB",
2893  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2894  nbin_1,
2895  0,
2896  4);
2897 
2899  ibook.book1D("Ele_Iso_Ntracks_MTD_6_Bkg_EB",
2900  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2901  20,
2902  0,
2903  20);
2905  "Ele_chIso_sum_MTD_6_Bkg_EB",
2906  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2907  nbin_2,
2908  0,
2909  20);
2911  "Ele_rel_chIso_sum_MTD_6_Bkg_EB",
2912  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2913  nbin_1,
2914  0,
2915  4);
2916 
2918  ibook.book1D("Ele_Iso_Ntracks_MTD_7_Bkg_EB",
2919  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2920  20,
2921  0,
2922  20);
2924  "Ele_chIso_sum_MTD_7_Bkg_EB",
2925  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2926  nbin_2,
2927  0,
2928  20);
2930  "Ele_rel_chIso_sum_MTD_7_Bkg_EB",
2931  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2932  nbin_1,
2933  0,
2934  4);
2935 
2937  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_1_Bkg_EB",
2938  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2939  20,
2940  0,
2941  20);
2943  "Ele_chIso_sum_MTD_sim_1_Bkg_EB",
2944  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2945  nbin_2,
2946  0,
2947  20);
2949  "Ele_rel_chIso_sum_MTD_sim_1_Bkg_EB",
2950  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2951  nbin_1,
2952  0,
2953  4);
2954 
2956  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2_Bkg_EB",
2957  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2958  20,
2959  0,
2960  20);
2962  "Ele_chIso_sum_MTD_sim_2_Bkg_EB",
2963  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2964  nbin_2,
2965  0,
2966  20);
2968  "Ele_rel_chIso_sum_MTD_sim_2_Bkg_EB",
2969  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2970  nbin_1,
2971  0,
2972  4);
2973 
2975  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3_Bkg_EB",
2976  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2977  20,
2978  0,
2979  20);
2981  "Ele_chIso_sum_MTD_sim_3_Bkg_EB",
2982  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
2983  nbin_2,
2984  0,
2985  20);
2987  "Ele_rel_chIso_sum_MTD_sim_3_Bkg_EB",
2988  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
2989  nbin_1,
2990  0,
2991  4);
2992 
2994  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4_Bkg_EB",
2995  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
2996  20,
2997  0,
2998  20);
3000  "Ele_chIso_sum_MTD_sim_4_Bkg_EB",
3001  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3002  nbin_2,
3003  0,
3004  20);
3006  "Ele_rel_chIso_sum_MTD_sim_4_Bkg_EB",
3007  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3008  nbin_1,
3009  0,
3010  4);
3011 
3013  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_5_Bkg_EB",
3014  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3015  20,
3016  0,
3017  20);
3019  "Ele_chIso_sum_MTD_sim_5_Bkg_EB",
3020  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3021  nbin_2,
3022  0,
3023  20);
3025  "Ele_rel_chIso_sum_MTD_sim_5_Bkg_EB",
3026  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3027  nbin_1,
3028  0,
3029  4);
3030 
3032  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_6_Bkg_EB",
3033  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3034  20,
3035  0,
3036  20);
3038  "Ele_chIso_sum_MTD_sim_6_Bkg_EB",
3039  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3040  nbin_2,
3041  0,
3042  20);
3044  "Ele_rel_chIso_sum_MTD_sim_6_Bkg_EB",
3045  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3046  nbin_1,
3047  0,
3048  4);
3049 
3051  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_7_Bkg_EB",
3052  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3053  20,
3054  0,
3055  20);
3057  "Ele_chIso_sum_MTD_sim_7_Bkg_EB",
3058  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3059  nbin_2,
3060  0,
3061  20);
3063  "Ele_rel_chIso_sum_MTD_sim_7_Bkg_EB",
3064  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3065  nbin_1,
3066  0,
3067  4);
3068  }
3070  ibook.book1D("Ele_Iso_Ntracks_MTD_4sigma_Bkg_EB",
3071  "Tracks in isolation cone around electron track after basic cuts with MTD - 4 sigma significance - "
3072  "Bkg Barrel;Number of tracks;Counts",
3073  20,
3074  0,
3075  20);
3077  ibook.book1D("Ele_chIso_sum_MTD_4sigma_Bkg_EB",
3078  "Track pT sum in isolation cone around electron track after basic "
3079  "cuts with MTD - 4 sigma significance - Bkg Barrel;p_{T} (GeV);Counts",
3080  nbin_2,
3081  0,
3082  20);
3084  ibook.book1D("Ele_rel_chIso_sum_MTD_4sigma_Bkg_EB",
3085  "Track relative pT sum in isolation cone around electron track "
3086  "after basic cuts with MTD - 4 sigma significance - Bkg Barrel;Isolation;Counts",
3087  nbin_1,
3088  0,
3089  4);
3090 
3092  ibook.book1D("Ele_Iso_Ntracks_MTD_3sigma_Bkg_EB",
3093  "Tracks in isolation cone around electron track after basic cuts with MTD - 3 sigma significance - "
3094  "Bkg Barrel;Number of tracks;Counts",
3095  20,
3096  0,
3097  20);
3099  ibook.book1D("Ele_chIso_sum_MTD_3sigma_Bkg_EB",
3100  "Track pT sum in isolation cone around electron track after basic "
3101  "cuts with MTD - 3 sigma significance - Bkg Barrel;p_{T} (GeV);Counts",
3102  nbin_2,
3103  0,
3104  20);
3106  ibook.book1D("Ele_rel_chIso_sum_MTD_3sigma_Bkg_EB",
3107  "Track relative pT sum in isolation cone around electron track "
3108  "after basic cuts with MTD - 3 sigma significance - Bkg Barrel;Isolation;Counts",
3109  nbin_1,
3110  0,
3111  4);
3112 
3114  ibook.book1D("Ele_Iso_Ntracks_MTD_2sigma_Bkg_EB",
3115  "Tracks in isolation cone around electron track after basic cuts with MTD - 2 sigma significance - "
3116  "Bkg Barrel;Number of tracks;Counts",
3117  20,
3118  0,
3119  20);
3121  ibook.book1D("Ele_chIso_sum_MTD_2sigma_Bkg_EB",
3122  "Track pT sum in isolation cone around electron track after basic "
3123  "cuts with MTD - 2 sigma significance - Bkg Barrel;p_{T} (GeV);Counts",
3124  nbin_2,
3125  0,
3126  20);
3128  ibook.book1D("Ele_rel_chIso_sum_MTD_2sigma_Bkg_EB",
3129  "Track relative pT sum in isolation cone around electron track "
3130  "after basic cuts with MTD - 2 sigma significance - Bkg Barrel;Isolation;Counts",
3131  nbin_1,
3132  0,
3133  4);
3134 
3136  ibook.book1D("Ele_pT_tot_Bkg_EB", "Electron pT tot - Bkg Barrel;p_{T} (GeV);Counts", 30, 10, 100);
3138  ibook.book1D("Ele_pT_noMTD_Bkg_EB", "Electron pT noMTD - Bkg Barrel;p_{T} (GeV);Counts", 30, 10, 100);
3139 
3141  ibook.book1D("Ele_pT_sim_tot_Bkg_EB", "Electron pT tot - Bkg Barrel;p_{T} (GeV);Counts", 30, 10, 100);
3142 
3143  meEle_eta_tot_Bkg_EB_ = ibook.book1D("Ele_eta_tot_Bkg_EB", "Electron eta tot - Bkg Barrel;#eta;Counts", 32, 0., 1.6);
3145  ibook.book1D("Ele_eta_noMTD_Bkg_EB", "Electron eta noMTD - Bkg Barrel;#eta;Counts", 32, 0., 1.6);
3146 
3148  ibook.book1D("Ele_phi_tot_Bkg_EB", "Electron phi tot - Bkg Barrel;#phi;#Counts", 64, -3.2, 3.2);
3150  ibook.book1D("Ele_phi_noMTD_Bkg_EB", "Electron phi noMTD - Bkg Barrel;#phi;#Counts", 64, -3.2, 3.2);
3151 
3152  if (optionalPlots_) {
3154  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4sigma_Bkg_EB",
3155  "Tracks in isolation cone around electron track after basic "
3156  "cuts with MTD SIM - 4 sigma significance - Bkg Barrel;Number of tracks;Counts",
3157  20,
3158  0,
3159  20);
3161  ibook.book1D("Ele_chIso_sum_MTD_sim_4sigma_Bkg_EB",
3162  "Track pT sum in isolation cone around electron track after "
3163  "basic cuts with MTD SIM - 4 sigma significance - Bkg Barrel;p_{T} (GeV);Counts",
3164  nbin_2,
3165  0,
3166  20);
3168  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_4sigma_Bkg_EB",
3169  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 4 "
3170  "sigma significance - Bkg Barrel;Isolation;Counts",
3171  nbin_1,
3172  0,
3173  4);
3174 
3176  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3sigma_Bkg_EB",
3177  "Tracks in isolation cone around electron track after basic "
3178  "cuts with MTD SIM - 3 sigma significance - Bkg Barrel;Number of tracks;Counts",
3179  20,
3180  0,
3181  20);
3183  ibook.book1D("Ele_chIso_sum_MTD_sim_3sigma_Bkg_EB",
3184  "Track pT sum in isolation cone around electron track after "
3185  "basic cuts with MTD SIM - 3 sigma significance - Bkg Barrel;p_{T} (GeV);Counts",
3186  nbin_2,
3187  0,
3188  20);
3190  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_3sigma_Bkg_EB",
3191  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 3 "
3192  "sigma significance - Bkg Barrel;Isolation;Counts",
3193  nbin_1,
3194  0,
3195  4);
3196 
3198  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2sigma_Bkg_EB",
3199  "Tracks in isolation cone around electron track after basic "
3200  "cuts with MTD SIM - 3 sigma significance - Bkg Barrel;Number of tracks;Counts",
3201  20,
3202  0,
3203  20);
3205  ibook.book1D("Ele_chIso_sum_MTD_sim_2sigma_Bkg_EB",
3206  "Track pT sum in isolation cone around electron track after "
3207  "basic cuts with MTD SIM - 2 sigma significance - Bkg Barrel;p_{T} (GeV);Counts",
3208  nbin_2,
3209  0,
3210  20);
3212  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_2sigma_Bkg_EB",
3213  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 2 "
3214  "sigma significance - Bkg Barrel;Isolation;Counts",
3215  nbin_1,
3216  0,
3217  4);
3218 
3219  meEle_pt_MTD_1_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_1_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3220  meEle_eta_MTD_1_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_1_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3221  meEle_phi_MTD_1_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_1_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3223  ibook.book1D("Ele_pT_gen_Bkg_EB", "Electron pT genInfo - Bkg Barrel;p_{T} (GeV);Counts", 30, 10, 100);
3225  ibook.book1D("Ele_eta_gen_Bkg_EB", "Electron eta genInfo - Bkg Barrel;#eta;Counts", 32, 0., 1.6);
3227  ibook.book1D("Ele_phi_gen_Bkg_EB", "Electron phi genInfo - Bkg Barrel;#phi;Counts", 64, -3.2, 3.2);
3228 
3229  meEle_pt_MTD_2_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_2_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3230  meEle_eta_MTD_2_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_2_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3231  meEle_phi_MTD_2_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_2_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3232 
3233  meEle_pt_MTD_3_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_3_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3234  meEle_eta_MTD_3_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_3_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3235  meEle_phi_MTD_3_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_3_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3236 
3237  meEle_pt_MTD_4_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_4_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3238  meEle_eta_MTD_4_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_4_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3239  meEle_phi_MTD_4_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_4_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3240 
3241  meEle_pt_MTD_5_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_5_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3242  meEle_eta_MTD_5_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_5_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3243  meEle_phi_MTD_5_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_5_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3244 
3245  meEle_pt_MTD_6_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_6_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3246  meEle_eta_MTD_6_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_6_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3247  meEle_phi_MTD_6_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_6_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3248 
3249  meEle_pt_MTD_7_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_7_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3250  meEle_eta_MTD_7_Bkg_EB_ = ibook.book1D("Ele_eta_MTD_7_Bkg_EB", "Electron eta MTD;#eta;Counts", 32, 0., 1.6);
3251  meEle_phi_MTD_7_Bkg_EB_ = ibook.book1D("Ele_phi_MTD_7_Bkg_EB", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3252 
3254  ibook.book1D("Ele_pT_sim_MTD_1_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3256  ibook.book1D("Ele_pT_sim_MTD_2_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3258  ibook.book1D("Ele_pT_sim_MTD_3_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3260  ibook.book1D("Ele_pT_sim_MTD_4_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3262  ibook.book1D("Ele_pT_sim_MTD_5_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3264  ibook.book1D("Ele_pT_sim_MTD_6_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3266  ibook.book1D("Ele_pT_sim_MTD_7_Bkg_EB", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3267  }
3268  meEle_pt_MTD_4sigma_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_4sigma_Bkg_EB",
3269  "Electron pT MTD - 4 sigma compatibility - Bkg Barrel;p_{T} (GeV);Counts",
3270  30,
3271  10,
3272  100);
3274  "Ele_eta_MTD_4sigma_Bkg_EB", "Electron eta MTD - 4 sigma compatibility - Bkg Barrel;#eta;Counts", 32, 0., 1.6);
3276  "Ele_phi_MTD_4sigma_Bkg_EB", "Electron phi MTD - 4 sigma compatibility - Bkg Barrel;#phi;Counts", 64, -3.2, 3.2);
3277 
3278  meEle_pt_MTD_3sigma_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_3sigma_Bkg_EB",
3279  "Electron pT MTD - 3 sigma compatibility - Bkg Barrel;p_{T} (GeV);Counts",
3280  30,
3281  10,
3282  100);
3284  "Ele_eta_MTD_3sigma_Bkg_EB", "Electron eta MTD - 3 sigma compatibility - Bkg Barrel;#eta;Counts", 32, 0., 1.6);
3286  "Ele_phi_MTD_3sigma_Bkg_EB", "Electron phi MTD - 3 sigma compatibility - Bkg Barrel;#phi;Counts", 64, -3.2, 3.2);
3287 
3288  meEle_pt_MTD_2sigma_Bkg_EB_ = ibook.book1D("Ele_pT_MTD_2sigma_Bkg_EB",
3289  "Electron pT MTD - 2 sigma compatibility - Bkg Barrel;p_{T} (GeV);Counts",
3290  30,
3291  10,
3292  100);
3294  "Ele_eta_MTD_2sigma_Bkg_EB", "Electron eta MTD - 2 sigma compatibility - Bkg Barrel;#eta;Counts", 32, 0., 1.6);
3296  "Ele_phi_MTD_2sigma_Bkg_EB", "Electron phi MTD - 2 sigma compatibility - Bkg Barrel;#phi;Counts", 64, -3.2, 3.2);
3297 
3299  "Ele_Iso_Ntracks_Bkg_EE",
3300  "Number of tracks in isolation cone around electron track after basic cuts - Bkg Endcap;Number of tracks;Counts",
3301  20,
3302  0,
3303  20);
3305  "Ele_chIso_sum_Bkg_EE",
3306  "Track pT sum in isolation cone around electron track after basic cuts - Bkg Endcap;p_{T} (GeV);Counts",
3307  nbin_2,
3308  0,
3309  20);
3311  "Ele_rel_chIso_sum_Bkg_EE",
3312  "Track relative pT sum in isolation cone around electron track after basic cuts - Bkg Endcap;Isolation;Counts",
3313  nbin_1,
3314  0,
3315  4);
3316  if (optionalPlots_) {
3318  ibook.book1D("Ele_pT_sim_MTD_4sigma_Bkg_EB",
3319  "Electron pT MTD SIM - 4 sigma compatibility - Bkg Barrel;p_{T} (GeV);Counts",
3320  30,
3321  10,
3322  100);
3324  ibook.book1D("Ele_pT_sim_MTD_3sigma_Bkg_EB",
3325  "Electron pT MTD SIM - 3 sigma compatibility - Bkg Barrel;p_{T} (GeV);Counts",
3326  30,
3327  10,
3328  100);
3330  ibook.book1D("Ele_pT_sim_MTD_2sigma_Bkg_EB",
3331  "Electron pT MTD SIM - 2 sigma compatibility - Bkg Barrel;p_{T} (GeV);Counts",
3332  30,
3333  10,
3334  100);
3335 
3337  ibook.book1D("Ele_Iso_Ntracks_MTD_1_Bkg_EE",
3338  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3339  20,
3340  0,
3341  20);
3343  "Ele_chIso_sum_MTD_1_Bkg_EE",
3344  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3345  nbin_2,
3346  0,
3347  20);
3349  "Ele_rel_chIso_sum_MTD_1_Bkg_EE",
3350  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3351  nbin_1,
3352  0,
3353  4);
3354 
3356  ibook.book1D("Ele_Iso_Ntracks_MTD_2_Bkg_EE",
3357  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3358  20,
3359  0,
3360  20);
3362  "Ele_chIso_sum_MTD_2_Bkg_EE",
3363  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3364  nbin_2,
3365  0,
3366  20);
3368  "Ele_rel_chIso_sum_MTD_2_Bkg_EE",
3369  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3370  nbin_1,
3371  0,
3372  4);
3373  meEleISO_Ntracks_gen_Bkg_EE_ = ibook.book1D("Ele_Iso_Ntracks_gen_Bkg_EE",
3374  "Tracks in isolation cone around electron track after basic cuts using "
3375  "genInfo - Bkg Endcap;Number of tracks;Counts",
3376  20,
3377  0,
3378  20);
3379  meEleISO_chIso_gen_Bkg_EE_ = ibook.book1D("Ele_chIso_sum_gen_Bkg_EE",
3380  "Track pT sum in isolation cone around electron track after basic cuts "
3381  "using genInfo - Bkg Endcap;p_{T} (GeV);Counts",
3382  nbin_2,
3383  0,
3384  20);
3385  meEleISO_rel_chIso_gen_Bkg_EE_ = ibook.book1D("Ele_rel_chIso_sum_gen_Bkg_EE",
3386  "Track relative pT sum in isolation cone around electron track after "
3387  "basic cuts using genInfo - Bkg Endcap;Isolation;Counts",
3388  nbin_1,
3389  0,
3390  4);
3391 
3393  ibook.book1D("Ele_Iso_Ntracks_MTD_3_Bkg_EE",
3394  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3395  20,
3396  0,
3397  20);
3399  "Ele_chIso_sum_MTD_3_Bkg_EE",
3400  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3401  nbin_2,
3402  0,
3403  20);
3405  "Ele_rel_chIso_sum_MTD_3_Bkg_EE",
3406  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3407  nbin_1,
3408  0,
3409  4);
3410 
3412  ibook.book1D("Ele_Iso_Ntracks_MTD_4_Bkg_EE",
3413  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3414  20,
3415  0,
3416  20);
3418  "Ele_chIso_sum_MTD_4_Bkg_EE",
3419  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3420  nbin_2,
3421  0,
3422  20);
3424  "Ele_rel_chIso_sum_MTD_4_Bkg_EE",
3425  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3426  nbin_1,
3427  0,
3428  4);
3429 
3431  ibook.book1D("Ele_Iso_Ntracks_MTD_5_Bkg_EE",
3432  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3433  20,
3434  0,
3435  20);
3437  "Ele_chIso_sum_MTD_5_Bkg_EE",
3438  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3439  nbin_2,
3440  0,
3441  20);
3443  "Ele_rel_chIso_sum_MTD_5_Bkg_EE",
3444  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3445  nbin_1,
3446  0,
3447  4);
3448 
3450  ibook.book1D("Ele_Iso_Ntracks_MTD_6_Bkg_EE",
3451  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3452  20,
3453  0,
3454  20);
3456  "Ele_chIso_sum_MTD_6_Bkg_EE",
3457  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3458  nbin_2,
3459  0,
3460  20);
3462  "Ele_rel_chIso_sum_MTD_6_Bkg_EE",
3463  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3464  nbin_1,
3465  0,
3466  4);
3467 
3469  ibook.book1D("Ele_Iso_Ntracks_MTD_7_Bkg_EE",
3470  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3471  20,
3472  0,
3473  20);
3475  "Ele_chIso_sum_MTD_7_Bkg_EE",
3476  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3477  nbin_2,
3478  0,
3479  20);
3481  "Ele_rel_chIso_sum_MTD_7_Bkg_EE",
3482  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3483  nbin_1,
3484  0,
3485  4);
3486 
3488  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_1_Bkg_EE",
3489  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3490  20,
3491  0,
3492  20);
3494  "Ele_chIso_sum_MTD_sim_1_Bkg_EE",
3495  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3496  nbin_2,
3497  0,
3498  20);
3500  "Ele_rel_chIso_sum_MTD_sim_1_Bkg_EE",
3501  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3502  nbin_1,
3503  0,
3504  4);
3505 
3507  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2_Bkg_EE",
3508  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3509  20,
3510  0,
3511  20);
3513  "Ele_chIso_sum_MTD_sim_2_Bkg_EE",
3514  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3515  nbin_2,
3516  0,
3517  20);
3519  "Ele_rel_chIso_sum_MTD_sim_2_Bkg_EE",
3520  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3521  nbin_1,
3522  0,
3523  4);
3524 
3526  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3_Bkg_EE",
3527  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3528  20,
3529  0,
3530  20);
3532  "Ele_chIso_sum_MTD_sim_3_Bkg_EE",
3533  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3534  nbin_2,
3535  0,
3536  20);
3538  "Ele_rel_chIso_sum_MTD_sim_3_Bkg_EE",
3539  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3540  nbin_1,
3541  0,
3542  4);
3543 
3545  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4_Bkg_EE",
3546  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3547  20,
3548  0,
3549  20);
3551  "Ele_chIso_sum_MTD_sim_4_Bkg_EE",
3552  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3553  nbin_2,
3554  0,
3555  20);
3557  "Ele_rel_chIso_sum_MTD_sim_4_Bkg_EE",
3558  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3559  nbin_1,
3560  0,
3561  4);
3562 
3564  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_5_Bkg_EE",
3565  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3566  20,
3567  0,
3568  20);
3570  "Ele_chIso_sum_MTD_sim_5_Bkg_EE",
3571  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3572  nbin_2,
3573  0,
3574  20);
3576  "Ele_rel_chIso_sum_MTD_sim_5_Bkg_EE",
3577  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3578  nbin_1,
3579  0,
3580  4);
3581 
3583  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_6_Bkg_EE",
3584  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3585  20,
3586  0,
3587  20);
3589  "Ele_chIso_sum_MTD_sim_6_Bkg_EE",
3590  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3591  nbin_2,
3592  0,
3593  20);
3595  "Ele_rel_chIso_sum_MTD_sim_6_Bkg_EE",
3596  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3597  nbin_1,
3598  0,
3599  4);
3600 
3602  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_7_Bkg_EE",
3603  "Tracks in isolation cone around electron track after basic cuts with MTD;Number of tracks;Counts",
3604  20,
3605  0,
3606  20);
3608  "Ele_chIso_sum_MTD_sim_7_Bkg_EE",
3609  "Track pT sum in isolation cone around electron track after basic cuts with MTD;p_{T} (GeV);Counts",
3610  nbin_2,
3611  0,
3612  20);
3614  "Ele_rel_chIso_sum_MTD_sim_7_Bkg_EE",
3615  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD;Isolation;Counts",
3616  nbin_1,
3617  0,
3618  4);
3619  }
3621  ibook.book1D("Ele_Iso_Ntracks_MTD_4sigma_Bkg_EE",
3622  "Tracks in isolation cone around electron track after basic cuts with MTD - 4 sigma compatibility - "
3623  "Bkg Endcap;Number of tracks;Counts",
3624  20,
3625  0,
3626  20);
3628  ibook.book1D("Ele_chIso_sum_MTD_4sigma_Bkg_EE",
3629  "Track pT sum in isolation cone around electron track after basic "
3630  "cuts with MTD - 4 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3631  nbin_2,
3632  0,
3633  20);
3635  ibook.book1D("Ele_rel_chIso_sum_MTD_4sigma_Bkg_EE",
3636  "Track relative pT sum in isolation cone around electron track "
3637  "after basic cuts with MTD - 4 sigma compatibility - Bkg Endcap;Isolation;Counts",
3638  nbin_1,
3639  0,
3640  4);
3641 
3643  ibook.book1D("Ele_Iso_Ntracks_MTD_3sigma_Bkg_EE",
3644  "Tracks in isolation cone around electron track after basic cuts with MTD - 3 sigma compatibility - "
3645  "Bkg Endcap;Number of tracks;Counts",
3646  20,
3647  0,
3648  20);
3650  ibook.book1D("Ele_chIso_sum_MTD_3sigma_Bkg_EE",
3651  "Track pT sum in isolation cone around electron track after basic "
3652  "cuts with MTD - 3 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3653  nbin_2,
3654  0,
3655  20);
3657  ibook.book1D("Ele_rel_chIso_sum_MTD_3sigma_Bkg_EE",
3658  "Track relative pT sum in isolation cone around electron track "
3659  "after basic cuts with MTD - 3 sigma compatibility - Bkg Endcap;Isolation;Counts",
3660  nbin_1,
3661  0,
3662  4);
3663 
3665  ibook.book1D("Ele_Iso_Ntracks_MTD_2sigma_Bkg_EE",
3666  "Tracks in isolation cone around electron track after basic cuts with MTD - 2 sigma compatibility - "
3667  "Bkg Endcap;Number of tracks;Counts",
3668  20,
3669  0,
3670  20);
3672  ibook.book1D("Ele_chIso_sum_MTD_2sigma_Bkg_EE",
3673  "Track pT sum in isolation cone around electron track after basic "
3674  "cuts with MTD - 2 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3675  nbin_2,
3676  0,
3677  20);
3679  ibook.book1D("Ele_rel_chIso_sum_MTD_2sigma_Bkg_EE",
3680  "Track relative pT sum in isolation cone around electron track "
3681  "after basic cuts with MTD - 2 sigma compatibility - Bkg Endcap;Isolation;Counts",
3682  nbin_1,
3683  0,
3684  4);
3685 
3687  ibook.book1D("Ele_pT_tot_Bkg_EE", "Electron pT tot - Bkg Endcap;p_{T} (GeV);Counts", 30, 10, 100);
3689  ibook.book1D("Ele_pT_noMTD_Bkg_EE", "Electron pT noMTD - Bkg Endcap;p_{T} (GeV);Counts", 30, 10, 100);
3690 
3692  ibook.book1D("Ele_pT_sim_tot_Bkg_EE", "Electron pT tot - Bkg Endcap;p_{T} (GeV);Counts", 30, 10, 100);
3693 
3694  meEle_eta_tot_Bkg_EE_ = ibook.book1D("Ele_eta_tot_Bkg_EE", "Electron eta tot - Bkg Endcap;#eta;Counts", 32, 1.6, 3.2);
3696  ibook.book1D("Ele_eta_noMTD_Bkg_EE", "Electron eta noMTD - Bkg Endcap;#eta;Counts", 32, 1.6, 3.2);
3697 
3699  ibook.book1D("Ele_phi_tot_Bkg_EE", "Electron phi tot - Bkg Endcap;#phi;Counts", 64, -3.2, 3.2);
3701  ibook.book1D("Ele_phi_noMTD_Bkg_EE", "Electron phi noMTD - Bkg Endcap;#phi;Counts", 64, -3.2, 3.2);
3702  if (optionalPlots_) {
3704  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_4sigma_Bkg_EE",
3705  "Tracks in isolation cone around electron track after basic "
3706  "cuts with MTD SIM - 4 sigma compatibility - Bkg Endcap;Number of tracks;Counts",
3707  20,
3708  0,
3709  20);
3711  ibook.book1D("Ele_chIso_sum_MTD_sim_4sigma_Bkg_EE",
3712  "Track pT sum in isolation cone around electron track after "
3713  "basic cuts with MTD SIM - 4 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3714  nbin_2,
3715  0,
3716  20);
3718  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_4sigma_Bkg_EE",
3719  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 4 "
3720  "sigma compatibility - Bkg Endcap;Isolation;Counts",
3721  nbin_1,
3722  0,
3723  4);
3724 
3726  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_3sigma_Bkg_EE",
3727  "Tracks in isolation cone around electron track after basic "
3728  "cuts with MTD SIM - 3 sigma compatibility - Bkg Endcap;Number of tracks;Counts",
3729  20,
3730  0,
3731  20);
3733  ibook.book1D("Ele_chIso_sum_MTD_sim_3sigma_Bkg_EE",
3734  "Track pT sum in isolation cone around electron track after "
3735  "basic cuts with MTD SIM - 3 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3736  nbin_2,
3737  0,
3738  20);
3740  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_3sigma_Bkg_EE",
3741  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 3 "
3742  "sigma compatibility - Bkg Endcap;Isolation;Counts",
3743  nbin_1,
3744  0,
3745  4);
3746 
3748  ibook.book1D("Ele_Iso_Ntracks_MTD_sim_2sigma_Bkg_EE",
3749  "Tracks in isolation cone around electron track after basic "
3750  "cuts with MTD SIM - 2 sigma compatibility - Bkg Endcap;Number of tracks;Counts",
3751  20,
3752  0,
3753  20);
3755  ibook.book1D("Ele_chIso_sum_MTD_sim_2sigma_Bkg_EE",
3756  "Track pT sum in isolation cone around electron track after "
3757  "basic cuts with MTD SIM - 2 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3758  nbin_2,
3759  0,
3760  20);
3762  ibook.book1D("Ele_rel_chIso_sum_MTD_sim_2sigma_Bkg_EE",
3763  "Track relative pT sum in isolation cone around electron track after basic cuts with MTD SIM - 2 "
3764  "sigma compatibility - Bkg Endcap;Isolation;Counts",
3765  nbin_1,
3766  0,
3767  4);
3768 
3769  meEle_pt_MTD_1_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_1_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3770  meEle_eta_MTD_1_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_1_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3771  meEle_phi_MTD_1_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_1_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3773  ibook.book1D("Ele_pT_gen_Bkg_EE", "Electron pT genInfo - Bkg Endcap;p_{T} (GeV);Counts", 30, 10, 100);
3775  ibook.book1D("Ele_eta_gen_Bkg_EE", "Electron eta genInfo - Bkg Endcap;#eta;Counts", 32, 1.6, 3.2);
3777  ibook.book1D("Ele_phi_gen_Bkg_EE", "Electron phi genInfo - Bkg Endcap;#phi;Counts", 64, -3.2, 3.2);
3778 
3779  meEle_pt_MTD_2_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_2_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3780  meEle_eta_MTD_2_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_2_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3781  meEle_phi_MTD_2_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_2_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3782 
3783  meEle_pt_MTD_3_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_3_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3784  meEle_eta_MTD_3_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_3_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3785  meEle_phi_MTD_3_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_3_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3786 
3787  meEle_pt_MTD_4_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_4_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3788  meEle_eta_MTD_4_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_4_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3789  meEle_phi_MTD_4_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_4_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3790 
3791  meEle_pt_MTD_5_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_5_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3792  meEle_eta_MTD_5_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_5_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3793  meEle_phi_MTD_5_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_5_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3794 
3795  meEle_pt_MTD_6_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_6_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3796  meEle_eta_MTD_6_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_6_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3797  meEle_phi_MTD_6_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_6_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3798 
3799  meEle_pt_MTD_7_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_7_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3800  meEle_eta_MTD_7_Bkg_EE_ = ibook.book1D("Ele_eta_MTD_7_Bkg_EE", "Electron eta MTD;#eta;Counts", 32, 1.6, 3.2);
3801  meEle_phi_MTD_7_Bkg_EE_ = ibook.book1D("Ele_phi_MTD_7_Bkg_EE", "Electron phi MTD;#phi;Counts", 64, -3.2, 3.2);
3802 
3804  ibook.book1D("Ele_pT_sim_MTD_1_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3806  ibook.book1D("Ele_pT_sim_MTD_2_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3808  ibook.book1D("Ele_pT_sim_MTD_3_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3810  ibook.book1D("Ele_pT_sim_MTD_4_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3812  ibook.book1D("Ele_pT_sim_MTD_5_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3814  ibook.book1D("Ele_pT_sim_MTD_6_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3816  ibook.book1D("Ele_pT_sim_MTD_7_Bkg_EE", "Electron pT MTD;p_{T} (GeV);Counts", 30, 10, 100);
3817  }
3818 
3819  meEle_pt_MTD_4sigma_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_4sigma_Bkg_EE",
3820  "Electron pT MTD - 4 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3821  30,
3822  10,
3823  100);
3825  "Ele_eta_MTD_4sigma_Bkg_EE", "Electron eta MTD - 4 sigma compatibility - Bkg Endcapi;#eta;Counts", 32, 1.6, 3.2);
3827  "Ele_phi_MTD_4sigma_Bkg_EE", "Electron phi MTD - 4 sigma compatibility - Bkg Endcap;#phi;Counts", 64, -3.2, 3.2);
3828 
3829  meEle_pt_MTD_3sigma_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_3sigma_Bkg_EE",
3830  "Electron pT MTD - 3 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3831  30,
3832  10,
3833  100);
3835  "Ele_eta_MTD_3sigma_Bkg_EE", "Electron eta MTD - 3 sigma compatibility - Bkg Endcap;#eta;Counts", 32, 1.6, 3.2);
3837  "Ele_phi_MTD_3sigma_Bkg_EE", "Electron phi MTD - 3 sigma compatibility - Bkg Endcap;#phi;Counts", 64, -3.2, 3.2);
3838 
3839  meEle_pt_MTD_2sigma_Bkg_EE_ = ibook.book1D("Ele_pT_MTD_2sigma_Bkg_EE",
3840  "Electron pT MTD - 2 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3841  30,
3842  10,
3843  100);
3845  "Ele_eta_MTD_2sigma_Bkg_EE", "Electron eta MTD - 2 sigma compatibility - Bkg Endcap;#eta;Counts", 32, 1.6, 3.2);
3847  "Ele_phi_MTD_2sigma_Bkg_EE", "Electron phi MTD - 2 sigma compatibility - Bkg Endcap;#phi;Counts", 64, -3.2, 3.2);
3848 
3849  if (optionalPlots_) {
3851  ibook.book1D("Ele_pT_sim_MTD_4sigma_Bkg_EE",
3852  "Electron pT MTD SIM - 4 sigma compatibility - Bkg Endcap;p_{T} (GeV);Counts",
3853  30,
3854  10,
3855  100);
3857  ibook.book1D("Ele_pT_sim_MTD_3sigma_Bkg_EE",
3858  "Electron pT MTD SIM - 3 sigma compatibility - Bkg Endcap;#eta;Counts",
3859  30,
3860  10,
3861  100);
3863  ibook.book1D("Ele_pT_sim_MTD_2sigma_Bkg_EE",
3864  "Electron pT MTD SIM - 2 sigma compatibility - Bkg Endcap;#phi;Counts",
3865  30,
3866  10,
3867  100);
3868  }
3869 
3870  // defining vectors for more efficient hist filling
3871  // Promt part
3872  if (optionalPlots_) {
3894  }
3902 
3903  if (optionalPlots_) {
3925  }
3933 
3934  if (optionalPlots_) {
3956  }
3957 
3964 
3965  if (optionalPlots_) {
3987  }
3994 
3995  // For SIM CASE
3996  if (optionalPlots_) {
4018 
4028 
4050 
4060 
4068 
4071 
4081  }
4082 
4083  // Non-promt part
4084  if (optionalPlots_) {
4106  }
4114 
4115  if (optionalPlots_) {
4137  }
4145  if (optionalPlots_) {
4167  }
4174 
4175  if (optionalPlots_) {
4197  }
4204 
4205  // SIM CASE
4206  if (optionalPlots_) {
4237 
4259 
4269 
4277 
4280 
4288 
4291  }
4292 }
4293 
4294 // ------------ method fills 'descriptions' with the allowed parameters for the module ------------
4295 
4298 
4299  desc.add<std::string>("folder", "MTD/ElectronIso");
4300  desc.add<edm::InputTag>("inputTagG", edm::InputTag("generalTracks"));
4301  desc.add<edm::InputTag>("inputTag_vtx", edm::InputTag("offlinePrimaryVertices4D"));
4302  desc.add<edm::InputTag>("inputEle_EB", edm::InputTag("gedGsfElectrons"));
4303  desc.add<edm::InputTag>("inputEle_EE", edm::InputTag("ecalDrivenGsfElectronsHGC"));
4304  desc.add<edm::InputTag>("TPtoRecoTrackAssoc", edm::InputTag("trackingParticleRecoTrackAsssociation"));
4305  desc.add<edm::InputTag>("t0PID", edm::InputTag("tofPID:t0"));
4306  desc.add<edm::InputTag>("sigmat0PID", edm::InputTag("tofPID:sigmat0"));
4307  desc.add<edm::InputTag>("trackMVAQual", edm::InputTag("mtdTrackQualityMVA:mtdQualMVA"));
4308  desc.add<double>("trackMinimumPt", 1.0); // [GeV]
4309  desc.add<double>("trackMinimumEta", 1.5);
4310  desc.add<double>("trackMaximumEta", 3.2);
4311  desc.add<double>("rel_iso_cut", 0.08);
4312  desc.add<bool>("optionTrackMatchToPV", false);
4313  desc.add<bool>("option_dtToTrack", true); // default is dt with track, if false will do dt to vertex
4314  desc.add<bool>("option_plots", false);
4315  desc.add<double>("min_dR_cut", 0.01);
4316  desc.add<double>("max_dR_cut", 0.3);
4317  desc.add<double>("min_pt_cut_EB", 0.7);
4318  desc.add<double>("min_pt_cut_EE", 0.4);
4319  desc.add<double>("max_dz_cut_EB", 0.5); // PARAM
4320  desc.add<double>("max_dz_cut_EE", 0.5); // PARAM
4321  desc.add<double>("max_dz_vtx_cut", 0.5);
4322  desc.add<double>("max_dxy_vtx_cut", 0.2);
4323  desc.add<double>("min_strip_cut", 0.01);
4324  desc.add<double>("min_track_mtd_mva_cut", 0.5);
4325 
4326  descriptions.add("mtdEleIsoValid", desc);
4327 }
4328 
4330 
4331 //*/
MonitorElement * meEle_pt_MTD_2_Sig_EB_
std::vector< MonitorElement * > Ele_phi_MTD_EB_list_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_1_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_6_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_4_Bkg_EE_
MonitorElement * meEle_pt_tot_Bkg_EE_
MonitorElement * meEleISO_chIso_gen_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_6_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_1_Sig_EB_
MonitorElement * meEle_pt_sim_MTD_7_Bkg_EB_
std::vector< MonitorElement * > Ele_pT_MTD_EE_list_Significance_Bkg
std::vector< MonitorElement * > Ele_pT_MTD_EB_list_Significance_Bkg
MonitorElement * meEleISO_Ntracks_MTD_sim_3_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_7_Sig_EE_
std::vector< MonitorElement * > Ntracks_EB_list_Significance_Bkg
std::vector< MonitorElement * > Ele_pT_MTD_EE_list_Sig
MonitorElement * meEle_phi_MTD_2_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4sigma_Sig_EB_
MonitorElement * meEle_eta_gen_Bkg_EB_
std::vector< MonitorElement * > Ntracks_sim_EB_list_Bkg
MonitorElement * meEle_eta_MTD_3sigma_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4sigma_Bkg_EE_
edm::EDGetTokenT< reco::TrackCollection > GenRecTrackToken_
std::vector< MonitorElement * > rel_ch_iso_EB_list_Significance_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_sim_2sigma_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_4_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_3_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_4_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_4sigma_Bkg_EE_
std::vector< MonitorElement * > Ele_phi_MTD_EE_list_Bkg
MonitorElement * meEle_eta_noMTD_Bkg_EB_
MonitorElement * meEle_pt_MTD_1_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_2sigma_Sig_EE_
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
std::vector< MonitorElement * > Ele_pT_sim_MTD_EE_list_Sig
MonitorElement * meEle_eta_MTD_2_Bkg_EE_
MonitorElement * meEle_phi_MTD_6_Sig_EB_
MonitorElement * meEle_pt_MTD_3_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4sigma_Bkg_EB_
MonitorElement * meEle_pt_MTD_4_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_2sigma_Sig_EE_
MonitorElement * meEle_pt_MTD_3sigma_Bkg_EB_
std::vector< MonitorElement * > Ele_eta_MTD_EE_list_Bkg
MonitorElement * meEleISO_Ntracks_MTD_3_Sig_EB_
MonitorElement * meEle_phi_MTD_6_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_4sigma_Sig_EB_
MonitorElement * meEle_pt_noMTD_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_5_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_2sigma_Sig_EB_
MonitorElement * meEleISO_Ntracks_gen_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_2sigma_Sig_EB_
std::vector< MonitorElement * > Ntracks_EB_list_Bkg
MonitorElement * meEleISO_Ntracks_MTD_1_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_1_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_4sigma_Sig_EB_
MonitorElement * meEle_phi_gen_Sig_EB_
MonitorElement * meEle_eta_MTD_2_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4_Bkg_EB_
std::string folder_
MonitorElement * meEleISO_Ntracks_MTD_6_Sig_EE_
MonitorElement * meEle_eta_MTD_4sigma_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_2_Sig_EB_
MonitorElement * meEle_eta_MTD_6_Bkg_EE_
MonitorElement * meEle_eta_noMTD_Sig_EB_
MonitorElement * meEle_pt_sim_tot_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_3sigma_Sig_EB_
MonitorElement * meEle_pt_sim_MTD_6_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_2_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_7_Bkg_EE_
MonitorElement * meEle_phi_MTD_4_Bkg_EE_
static constexpr double avg_sim_PUtrack_t_err
MonitorElement * meEle_phi_MTD_3_Sig_EE_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:36
MonitorElement * meEle_phi_MTD_5_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_4_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_2sigma_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_1_Sig_EB_
MonitorElement * meEle_phi_noMTD_Bkg_EB_
MonitorElement * meEle_phi_MTD_2_Sig_EB_
edm::EDGetTokenT< edm::ValueMap< float > > t0PidToken_
MonitorElement * meEleISO_rel_chIso_MTD_7_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_2sigma_Bkg_EB_
MonitorElement * meEle_phi_MTD_3sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_5_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_4sigma_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_1_Sig_EE_
std::vector< MonitorElement * > ch_iso_EE_list_Bkg
MonitorElement * meEle_phi_gen_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_7_Sig_EB_
std::vector< MonitorElement * > ch_iso_sim_EE_list_Sig
std::vector< MonitorElement * > rel_ch_iso_EE_list_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_2_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_2sigma_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_3_Sig_EB_
MonitorElement * meEle_pt_MTD_6_Sig_EB_
std::vector< MonitorElement * > Ntracks_EE_list_Significance_Sig
MonitorElement * meEleISO_rel_chIso_MTD_3_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_3sigma_Bkg_EB_
MonitorElement * meEle_pt_MTD_2sigma_Bkg_EE_
MonitorElement * meEleISO_chIso_gen_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_2_Bkg_EB_
const float min_track_mtd_mva_cut
std::vector< MonitorElement * > Ntracks_sim_EE_list_Significance_Bkg
MonitorElement * meEle_pt_tot_Bkg_EB_
std::vector< MonitorElement * > Ntracks_sim_EB_list_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_2_Sig_EB_
const Point & position() const
position
Definition: Vertex.h:128
MonitorElement * meEle_eta_MTD_1_Bkg_EB_
edm::EDGetTokenT< reco::GsfElectronCollection > GsfElectronToken_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_1_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_4sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_5_Sig_EB_
std::vector< MonitorElement * > general_pT_Signif_list
MonitorElement * meEleISO_chIso_MTD_sim_6_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_7_Bkg_EB_
MonitorElement * meEle_eta_MTD_3_Sig_EB_
std::vector< MonitorElement * > Ele_pT_MTD_EE_list_Significance_Sig
std::vector< MonitorElement * > rel_ch_iso_EB_list_Significance_Sig
MonitorElement * meEleISO_Ntracks_MTD_sim_2sigma_Bkg_EE_
std::vector< MonitorElement * > rel_ch_iso_sim_EE_list_Sig
MonitorElement * meEleISO_rel_chIso_MTD_5_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_1_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_sim_7_Sig_EE_
MonitorElement * meEle_eta_MTD_7_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_7_Bkg_EE_
MonitorElement * meEle_phi_noMTD_Bkg_EE_
std::vector< MonitorElement * > ch_iso_EE_list_Sig
MonitorElement * meEle_eta_MTD_2_Bkg_EB_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EB_list_Significance_Bkg
MonitorElement * meEleISO_chIso_MTD_sim_3sigma_Sig_EE_
MonitorElement * meEle_pt_sim_tot_Bkg_EB_
MonitorElement * meEle_pt_MTD_7_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_7_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_4_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_4_Sig_EB_
MonitorElement * meEle_pt_MTD_7_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_6_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_2sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_2_Bkg_EE_
MonitorElement * meEle_pt_gen_Bkg_EE_
const std::vector< double > max_dt_track_cut
std::vector< MonitorElement * > Ntracks_EB_list_Significance_Sig
MonitorElement * meEle_eta_MTD_4sigma_Bkg_EE_
std::vector< MonitorElement * > Ele_eta_MTD_EB_list_Significance_Sig
MonitorElement * meEleISO_Ntracks_MTD_sim_6_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_7_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_4_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_6_Bkg_EE_
MonitorElement * meEle_pt_MTD_2_Sig_EE_
MonitorElement * meEle_phi_MTD_3sigma_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_4sigma_Bkg_EB_
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
MonitorElement * meEleISO_Ntracks_MTD_sim_6_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_4_Sig_EE_
MonitorElement * meEle_pt_MTD_5_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_5_Bkg_EE_
MonitorElement * meEle_phi_MTD_6_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_3sigma_Bkg_EB_
MonitorElement * meEle_pt_MTD_6_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_3_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_5_Sig_EB_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EE_list_Significance_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_2_Bkg_EB_
MonitorElement * meEle_phi_MTD_5_Bkg_EE_
MonitorElement * meEleISO_chIso_gen_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_3_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_3_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_2_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_2_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_2sigma_Sig_EE_
MonitorElement * meEle_phi_MTD_2_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_2_Bkg_EE_
MonitorElement * meEle_pt_MTD_2sigma_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_6_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_2sigma_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_6_Bkg_EB_
MonitorElement * meEle_no_dt_check_
MonitorElement * meEle_phi_MTD_3_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_3sigma_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_1_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_4sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_4_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_5_Sig_EB_
MonitorElement * meEle_pt_sim_MTD_4_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_4_Bkg_EE_
MonitorElement * meEle_eta_MTD_4_Bkg_EB_
MonitorElement * meEle_phi_tot_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_3_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_7_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_5_Bkg_EB_
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
MonitorElement * meEleISO_rel_chIso_MTD_2sigma_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_3sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_2_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_5_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_2sigma_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_7_Sig_EE_
MonitorElement * meEle_eta_MTD_3_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_5_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_2sigma_Bkg_EE_
edm::EDGetTokenT< edm::ValueMap< float > > trackMVAQualToken_
MonitorElement * meEle_eta_MTD_1_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_3sigma_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_2sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_gen_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_6_Sig_EE_
MonitorElement * meEle_pt_MTD_2sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_3_Bkg_EB_
static constexpr double avg_sim_sigTrk_t_err
std::vector< MonitorElement * > Ele_phi_MTD_EB_list_Significance_Bkg
MonitorElement * meEleISO_chIso_MTD_sim_4sigma_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_2_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_6_Sig_EE_
MonitorElement * meEle_pt_MTD_1_Sig_EB_
MonitorElement * meEle_eta_MTD_3sigma_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_3sigma_Bkg_EE_
MonitorElement * meEle_eta_MTD_4_Sig_EB_
MonitorElement * meEle_eta_gen_Sig_EB_
MonitorElement * meEle_eta_MTD_2_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_6_Sig_EE_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EB_list_Significance_Sig
MonitorElement * meEleISO_chIso_MTD_1_Bkg_EE_
void Fill(long long x)
MonitorElement * meEleISO_chIso_MTD_sim_2_Bkg_EB_
MonitorElement * meEle_phi_gen_Bkg_EE_
MonitorElement * meEle_eta_MTD_3sigma_Sig_EE_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EE_list_Bkg
MonitorElement * meEle_pt_MTD_5_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_3_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_1_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_1_Sig_EB_
std::vector< MonitorElement * > Ele_pT_MTD_EB_list_Bkg
MonitorElement * meEle_pt_MTD_4_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_1_Bkg_EB_
MonitorElement * meEle_phi_MTD_7_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_3sigma_Bkg_EB_
std::vector< MonitorElement * > Ele_phi_MTD_EB_list_Significance_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_3_Sig_EB_
MonitorElement * meEle_pt_noMTD_Sig_EE_
std::vector< MonitorElement * > rel_ch_iso_sim_EB_list_Significance_Bkg
MonitorElement * meEle_pt_sim_MTD_2_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_3sigma_Bkg_EE_
MonitorElement * meEle_pt_sim_tot_Sig_EE_
std::vector< MonitorElement * > rel_ch_iso_EE_list_Significance_Sig
MonitorElement * meEle_pt_MTD_1_Sig_EE_
MonitorElement * meEle_pt_tot_Sig_EB_
int iEvent
Definition: GenABIO.cc:224
MonitorElement * meEle_eta_MTD_4sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_6_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_3sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_6_Bkg_EE_
MonitorElement * meEle_pt_MTD_3_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_2sigma_Bkg_EB_
MonitorElement * meEle_phi_MTD_1_Bkg_EB_
double tError() const
error on t
Definition: Vertex.h:144
MonitorElement * meEle_phi_MTD_1_Bkg_EE_
edm::EDGetTokenT< reco::GsfElectronCollection > GsfElectronToken_EE_
std::vector< MonitorElement * > Ntracks_EE_list_Bkg
MonitorElement * meEleISO_chIso_MTD_sim_4_Bkg_EE_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::vector< MonitorElement * > Ele_eta_MTD_EE_list_Significance_Bkg
std::vector< MonitorElement * > ch_iso_sim_EB_list_Bkg
MonitorElement * meEle_pt_sim_MTD_3_Sig_EE_
MonitorElement * meEle_pt_MTD_4sigma_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_6_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_7_Sig_EB_
std::vector< MonitorElement * > Ele_eta_MTD_EB_list_Bkg
MonitorElement * meEle_avg_error_SigTrk_check_
std::vector< MonitorElement * > rel_ch_iso_sim_EB_list_Bkg
MonitorElement * meEleISO_Ntracks_gen_Sig_EE_
MonitorElement * meEleISO_rel_chIso_gen_Sig_EB_
MonitorElement * meEle_eta_MTD_3sigma_Sig_EB_
MonitorElement * meEleISO_Ntracks_Sig_EB_
std::vector< MonitorElement * > rel_ch_iso_EE_list_Sig
MonitorElement * meEle_pt_MTD_3_Sig_EE_
MonitorElement * meEleISO_rel_chIso_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_2_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_3sigma_Sig_EB_
T sqrt(T t)
Definition: SSEVec.h:19
MonitorElement * meEleISO_chIso_MTD_sim_1_Sig_EB_
std::vector< MonitorElement * > rel_ch_iso_EE_list_Significance_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_4_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_3_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_7_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_4sigma_Bkg_EE_
MonitorElement * meEle_phi_noMTD_Sig_EB_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
MonitorElement * meEleISO_chIso_MTD_5_Bkg_EE_
MonitorElement * meEle_phi_MTD_1_Sig_EE_
std::vector< MonitorElement * > ch_iso_sim_EB_list_Significance_Bkg
MonitorElement * meEle_phi_tot_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_1_Bkg_EB_
MonitorElement * meEle_pt_MTD_7_Sig_EE_
std::vector< MonitorElement * > ch_iso_sim_EB_list_Significance_Sig
MonitorElement * meEle_eta_MTD_4sigma_Sig_EE_
std::vector< MonitorElement * > Ele_eta_MTD_EE_list_Sig
MonitorElement * meEle_pt_sim_MTD_4_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_1_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_5_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_1_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_5_Bkg_EE_
const std::vector< double > max_dt_vtx_cut
MonitorElement * meEleISO_rel_chIso_MTD_3sigma_Sig_EB_
MonitorElement * meEle_eta_noMTD_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4_Sig_EB_
float trackWeight(const TREF &r) const
returns the weight with which a Track has contributed to the vertex-fit.
Definition: Vertex.h:97
MonitorElement * meEleISO_Ntracks_MTD_sim_4_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_3sigma_Sig_EE_
MonitorElement * meEle_pt_MTD_3sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_5_Bkg_EB_
MonitorElement * meEle_eta_MTD_6_Bkg_EB_
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
MonitorElement * meEle_phi_MTD_2sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_5_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_5_Bkg_EE_
std::vector< MonitorElement * > Ntracks_sim_EE_list_Sig
MonitorElement * meEleISO_chIso_MTD_sim_7_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_sim_5_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_3sigma_Bkg_EE_
MonitorElement * meEleISO_Ntracks_gen_Bkg_EB_
MonitorElement * meEle_pt_MTD_3sigma_Bkg_EE_
MonitorElement * meEle_pt_MTD_6_Bkg_EE_
const std::vector< double > eta_bins_dt_distrib
MonitorElement * meEleISO_Ntracks_MTD_7_Sig_EE_
MonitorElement * meEle_pt_MTD_7_Sig_EB_
MonitorElement * meEle_pt_MTD_2_Bkg_EB_
std::vector< MonitorElement * > Ele_pT_MTD_EB_list_Sig
MonitorElement * meEleISO_Ntracks_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_7_Sig_EB_
MonitorElement * meEle_phi_MTD_4sigma_Bkg_EE_
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
MonitorElement * meEleISO_chIso_MTD_2_Bkg_EB_
MonitorElement * meEle_eta_MTD_2sigma_Bkg_EE_
MonitorElement * meEle_pt_MTD_5_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_2_Sig_EE_
MonitorElement * meEle_eta_MTD_7_Bkg_EB_
const std::string folder_
MonitorElement * meEle_pt_MTD_1_Bkg_EE_
MonitorElement * meEle_pt_MTD_3_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_5_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_3sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4_Sig_EE_
MonitorElement * meEle_eta_tot_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_4_Bkg_EB_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EE_list_Significance_Bkg
std::vector< MonitorElement * > ch_iso_EE_list_Significance_Bkg
MonitorElement * meEleISO_chIso_MTD_3sigma_Sig_EE_
MonitorElement * meEle_pt_gen_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_2_Bkg_EB_
std::vector< MonitorElement * > rel_ch_iso_EB_list_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_3_Sig_EB_
std::vector< MonitorElement * > rel_ch_iso_sim_EE_list_Significance_Sig
MonitorElement * meEle_eta_MTD_3_Bkg_EE_
std::vector< MonitorElement * > rel_ch_iso_sim_EE_list_Significance_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_sim_1_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_1_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_3sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_sim_3sigma_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_5_Bkg_EB_
MonitorElement * meEle_phi_MTD_7_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_6_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_1_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_2sigma_Sig_EE_
MonitorElement * meEle_pt_noMTD_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_4sigma_Sig_EE_
edm::EDGetTokenT< std::vector< reco::Vertex > > RecVertexToken_
MonitorElement * meEle_pt_sim_MTD_4_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_5_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_3_Sig_EE_
MonitorElement * meEle_eta_MTD_4_Sig_EE_
MonitorElement * meEle_eta_MTD_5_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_2_Sig_EE_
MonitorElement * meEle_avg_error_PUTrk_check_
std::vector< MonitorElement * > rel_ch_iso_EB_list_Sig
MonitorElement * meEleISO_Ntracks_MTD_sim_3sigma_Sig_EB_
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
MonitorElement * meEle_phi_MTD_3sigma_Sig_EB_
MonitorElement * meEle_pt_noMTD_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_7_Sig_EB_
MonitorElement * meEleISO_rel_chIso_gen_Bkg_EB_
std::vector< MonitorElement * > Ntracks_EB_list_Sig
MonitorElement * meEleISO_Ntracks_MTD_1_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_4_Sig_EE_
MonitorElement * meEle_phi_MTD_1_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_4_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_6_Sig_EB_
edm::EDGetTokenT< edm::ValueMap< float > > Sigmat0PidToken_
MonitorElement * meEleISO_Ntracks_MTD_sim_7_Sig_EB_
MonitorElement * meEle_eta_MTD_5_Bkg_EE_
MonitorElement * meEle_phi_MTD_4_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_3_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_sim_3_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_1_Sig_EB_
MonitorElement * meEle_pt_tot_Sig_EE_
std::vector< MonitorElement * > general_eta_list
MonitorElement * meEle_pt_sim_MTD_3_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_2sigma_Bkg_EE_
MonitorElement * meEle_phi_MTD_4sigma_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_6_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_sim_4_Sig_EB_
MonitorElement * meEle_phi_MTD_3_Sig_EB_
MonitorElement * meEle_phi_MTD_2sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_1_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_5_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_1_Bkg_EE_
MonitorElement * meEle_phi_MTD_2sigma_Sig_EE_
MonitorElement * meEle_phi_MTD_4_Sig_EE_
MonitorElement * meEleISO_rel_chIso_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_3_Sig_EE_
MonitorElement * meEle_eta_tot_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_7_Bkg_EE_
MonitorElement * meEle_pt_MTD_4sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_4sigma_Bkg_EE_
std::vector< MonitorElement * > general_pT_list
MonitorElement * meEleISO_rel_chIso_Sig_EE_
std::vector< MonitorElement * > ch_iso_sim_EE_list_Significance_Bkg
MonitorElement * meEle_pt_sim_MTD_3sigma_Sig_EB_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EB_list_Sig
MonitorElement * meEle_phi_MTD_3sigma_Bkg_EB_
MonitorElement * meEle_pt_MTD_4sigma_Bkg_EB_
std::vector< MonitorElement * > ch_iso_sim_EE_list_Bkg
XYZVectorD XYZVector
spatial vector with cartesian internal representation
Definition: Vector3D.h:31
MonitorElement * meEleISO_chIso_MTD_4_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_3_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_4_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_4sigma_Sig_EE_
const std::vector< double > pT_bins_dt_distrb
MonitorElement * meEleISO_rel_chIso_MTD_sim_2_Bkg_EE_
MonitorElement * meEleISO_chIso_Bkg_EB_
std::vector< MonitorElement * > Ntracks_sim_EE_list_Significance_Sig
MonitorElement * meEle_pt_MTD_4_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_7_Bkg_EB_
MonitorElement * meEle_phi_MTD_3_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_1_Sig_EB_
MonitorElement * meEle_pt_sim_MTD_3_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_3_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_3sigma_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_6_Bkg_EB_
double t() const
t coordinate
Definition: Vertex.h:136
MonitorElement * meEleISO_Ntracks_MTD_sim_5_Bkg_EE_
MonitorElement * meEleISO_Ntracks_MTD_7_Bkg_EB_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< MonitorElement * > Ntracks_sim_EB_list_Significance_Sig
MonitorElement * meEle_pt_MTD_5_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_7_Bkg_EB_
MonitorElement * meEle_eta_MTD_3_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_3sigma_Sig_EE_
std::vector< MonitorElement * > ch_iso_EB_list_Significance_Sig
MonitorElement * meEleISO_Ntracks_MTD_6_Sig_EB_
std::vector< MonitorElement * > Ele_pT_sim_MTD_EB_list_Bkg
MonitorElement * meEle_eta_MTD_6_Sig_EB_
MonitorElement * meEle_eta_tot_Sig_EB_
MonitorElement * meEle_phi_tot_Sig_EB_
std::vector< MonitorElement * > ch_iso_sim_EE_list_Significance_Sig
MonitorElement * meEle_phi_MTD_7_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_6_Sig_EE_
MonitorElement * meEle_phi_MTD_4sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_3_Bkg_EB_
MonitorElement * meEle_pt_MTD_2sigma_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_4sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_4sigma_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_2sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_5_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_2sigma_Sig_EE_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meEle_pt_sim_MTD_5_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_6_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_5_Sig_EE_
MonitorElement * meEleISO_Ntracks_Bkg_EE_
MonitorElement * meEleISO_chIso_Sig_EE_
std::vector< MonitorElement * > ch_iso_EB_list_Significance_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_sim_6_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_4sigma_Bkg_EB_
MonitorElement * meEleISO_chIso_MTD_sim_6_Sig_EB_
MonitorElement * meEle_eta_noMTD_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_4_Bkg_EB_
MonitorElement * meEle_pt_MTD_6_Sig_EE_
MonitorElement * meEle_eta_MTD_2sigma_Bkg_EB_
HLT enums.
MonitorElement * meEle_eta_MTD_4_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_4sigma_Bkg_EB_
std::vector< MonitorElement * > ch_iso_EB_list_Sig
std::vector< MonitorElement * > Ele_eta_MTD_EB_list_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_7_Sig_EE_
MonitorElement * meEle_pt_MTD_4_Sig_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_3sigma_Bkg_EE_
std::vector< MonitorElement * > rel_ch_iso_sim_EB_list_Significance_Sig
MonitorElement * meEle_phi_gen_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_sim_2sigma_Sig_EE_
MonitorElement * meEleISO_chIso_gen_Sig_EE_
MonitorElement * meEle_avg_error_vtx_check_
MonitorElement * meEle_pt_sim_MTD_3_Sig_EB_
MonitorElement * meEle_eta_MTD_2sigma_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_3sigma_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_5_Sig_EE_
MonitorElement * meEle_eta_MTD_2sigma_Sig_EB_
const std::vector< double > max_dt_significance_cut
MonitorElement * meEle_phi_MTD_5_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_2sigma_Sig_EB_
MonitorElement * meEle_eta_MTD_7_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_2_Bkg_EE_
std::vector< MonitorElement * > Ele_eta_MTD_EE_list_Significance_Sig
MonitorElement * meEle_pt_sim_MTD_2sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_2_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_sim_1_Sig_EE_
MonitorElement * meEle_pt_MTD_3sigma_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_sim_4sigma_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_gen_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_1_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_3sigma_Bkg_EE_
MonitorElement * meEle_eta_MTD_6_Sig_EE_
MonitorElement * meEle_eta_tot_Bkg_EE_
std::vector< MonitorElement * > Ntracks_sim_EE_list_Bkg
MonitorElement * meEleISO_rel_chIso_MTD_sim_2sigma_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_4sigma_Sig_EE_
MonitorElement * meEle_eta_gen_Bkg_EE_
MonitorElement * meEle_phi_noMTD_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_5_Bkg_EB_
edm::EDGetTokenT< reco::RecoToSimCollection > recoToSimAssociationToken_
MonitorElement * meEleISO_rel_chIso_MTD_sim_7_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_6_Sig_EB_
MonitorElement * meEle_phi_tot_Bkg_EE_
MonitorElement * meEle_eta_MTD_7_Sig_EB_
MonitorElement * meEle_phi_MTD_2_Bkg_EE_
MonitorElement * meEle_pt_MTD_4sigma_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_7_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_4sigma_Sig_EB_
std::vector< MonitorElement * > rel_ch_iso_sim_EE_list_Bkg
std::vector< MonitorElement * > rel_ch_iso_sim_EB_list_Sig
MonitorElement * meEle_eta_MTD_1_Sig_EE_
MonitorElement * meEleISO_Ntracks_MTD_2_Sig_EE_
MonitorElement * meTrk_genMatch_check_
MonitorElement * meEleISO_Ntracks_MTD_sim_3_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_sim_2_Sig_EE_
MonitorElement * meEleISO_chIso_MTD_sim_4_Bkg_EB_
auto makeValid(const U &iOtherHandleType) noexcept(false)
Definition: ValidHandle.h:52
MonitorElement * meEleISO_rel_chIso_gen_Sig_EE_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
MonitorElement * meEle_pt_sim_MTD_2sigma_Bkg_EE_
MonitorElement * meEle_pt_gen_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_4sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_2_Sig_EB_
std::vector< MonitorElement * > Ele_pT_MTD_EB_list_Significance_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_3_Bkg_EE_
std::vector< MonitorElement * > ch_iso_EE_list_Significance_Sig
MonitorElement * meEleISO_rel_chIso_MTD_7_Sig_EE_
MonitorElement * meEle_eta_MTD_1_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_2_Sig_EE_
MonitorElement * meEleISO_chIso_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_2sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_7_Bkg_EB_
MonitorElement * meEle_pt_sim_MTD_4sigma_Bkg_EE_
MonitorElement * meEle_pt_sim_MTD_2_Sig_EE_
MonitorElement * meEle_phi_MTD_6_Bkg_EB_
MonitorElement * meEleISO_Ntracks_MTD_4sigma_Bkg_EB_
std::vector< MonitorElement * > Ele_eta_MTD_EB_list_Significance_Bkg
MonitorElement * meEle_phi_MTD_4_Sig_EB_
std::vector< MonitorElement * > Ele_phi_MTD_EE_list_Sig
MonitorElement * meEleISO_rel_chIso_MTD_sim_5_Sig_EE_
MonitorElement * meEleISO_rel_chIso_MTD_2_Sig_EB_
MonitorElement * meEleISO_Ntracks_MTD_sim_3_Sig_EE_
MonitorElement * meEle_phi_MTD_7_Bkg_EB_
MonitorElement * meEleISO_rel_chIso_MTD_1_Sig_EE_
MonitorElement * meEle_eta_MTD_5_Sig_EE_
MonitorElement * meEle_phi_MTD_5_Bkg_EB_
std::vector< MonitorElement * > ch_iso_EB_list_Bkg
MonitorElement * meEle_pt_sim_MTD_3sigma_Bkg_EE_
MonitorElement * meEle_pt_MTD_2_Bkg_EE_
std::vector< MonitorElement * > Ntracks_EE_list_Significance_Bkg
MonitorElement * meEle_pt_sim_tot_Sig_EB_
std::vector< MonitorElement * > Ntracks_sim_EB_list_Significance_Bkg
MonitorElement * meEleISO_rel_chIso_Bkg_EE_
MonitorElement * meEleISO_rel_chIso_MTD_sim_4sigma_Sig_EE_
edm::EDGetTokenT< reco::GenParticleCollection > GenParticleToken_
std::vector< MonitorElement * > Ele_pT_MTD_EE_list_Bkg
std::vector< MonitorElement * > Ele_phi_MTD_EB_list_Bkg
MonitorElement * meEle_phi_MTD_4sigma_Sig_EB_
std::vector< MonitorElement * > ch_iso_sim_EB_list_Sig
MtdEleIsoValidation(const edm::ParameterSet &)
std::vector< MonitorElement * > general_eta_Signif_list
MonitorElement * meEleISO_chIso_MTD_sim_4sigma_Sig_EE_
std::vector< MonitorElement * > Ele_phi_MTD_EE_list_Significance_Sig
MonitorElement * meEle_phi_MTD_2sigma_Bkg_EE_
Definition: Run.h:45
std::vector< MonitorElement * > Ele_phi_MTD_EE_list_Significance_Bkg
std::vector< MonitorElement * > Ntracks_EE_list_Sig
MonitorElement * meEle_pt_sim_MTD_3sigma_Sig_EE_
MonitorElement * meEle_pt_sim_MTD_2sigma_Sig_EB_
MonitorElement * meEleISO_chIso_MTD_4sigma_Bkg_EE_
MonitorElement * meEle_pt_gen_Sig_EB_
MonitorElement * meEle_eta_gen_Sig_EE_
MonitorElement * meEleISO_chIso_Bkg_EE_
MonitorElement * meEleISO_chIso_MTD_6_Bkg_EE_
MonitorElement * meEle_eta_MTD_5_Sig_EB_