1631 iBooker.setCurrentFolder(
dirname_);
1640 double TrigMin_ = -0.5;
1644 std::string histot =
"JetMET TriggerRate Summary";
1645 rate_All = iBooker.book1D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_);
1647 histonm =
"JetMET_TriggerRate_Correlation";
1648 histot =
"JetMET TriggerRate Correlation Summary;y&&!x;x&&y";
1650 iBooker.book2D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_, TrigBins_, TrigMin_, TrigMax_);
1652 histonm =
"JetMET_NVertices";
1653 histot =
"No. of vertices";
1654 NVertices = iBooker.book1D(histonm.c_str(), histot.c_str(), 100, 0, 50);
1656 histonm =
"JetMET_PVZ";
1657 histot =
"Primary Vertex Z pos";
1658 PVZ = iBooker.book1D(histonm.c_str(), histot.c_str(), 100, -50., 50.);
1661 histonm =
"JetMET_TriggerRate_WrtMuTrigger";
1662 histot =
"JetMET TriggerRate Summary Wrt Muon Trigger ";
1663 rate_AllWrtMu = iBooker.book1D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_);
1665 histonm =
"JetMET_TriggerRate_Correlation_WrtMuTrigger";
1666 histot =
"JetMET TriggerRate Correlation Summary Wrt Muon Trigger;y&&!x;x&&y";
1668 histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_, TrigBins_, TrigMin_, TrigMax_);
1670 histonm =
"JetMET_TriggerRate_WrtMBTrigger";
1671 histot =
"JetMET TriggerRate Summary Wrt MB Trigger";
1672 rate_AllWrtMB = iBooker.book1D(histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_);
1674 histonm =
"JetMET_TriggerRate_Correlation_WrtMBTrigger";
1675 histot =
"JetMET TriggerRate Correlation Wrt MB Trigger;y&&!x;x&&y";
1677 histonm.c_str(), histot.c_str(), TrigBins_, TrigMin_, TrigMax_, TrigBins_, TrigMin_, TrigMax_);
1685 labelnm =
v.getPath();
1687 for (
int ibin = 1; ibin <
nbins + 1; ibin++) {
1688 const char* binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
1690 if (binLabel_str == labelnm)
1692 if (binLabel[0] ==
'\0') {
1713 double Nmin_ = -0.5;
1720 double PtMax_ = 1000.;
1725 double EtaMin_ = -5.;
1726 double EtaMax_ = 5.;
1729 double PhiMin_ = -3.5;
1730 double PhiMax_ = 3.5;
1733 double ResMin_ = -1.5;
1734 double ResMax_ = 1.5;
1742 iBooker.setCurrentFolder(subdirName);
1749 dummy = iBooker.bookFloat(
"dummy");
1752 histoname = labelname +
"_recObjN";
1753 title = labelname +
"_recObjN;Reco multiplicity()" + trigPath;
1757 histoname = labelname +
"_recObjPt";
1758 title = labelname +
"_recObjPt; Reco Pt[GeV/c]" + trigPath;
1759 MonitorElement* Pt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1762 histoname = labelname +
"_recObjPtBarrel";
1763 title = labelname +
"_recObjPtBarrel;Reco Pt[GeV/c]" + trigPath;
1764 MonitorElement* PtBarrel = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1767 histoname = labelname +
"_recObjPtEndcap";
1768 title = labelname +
"_recObjPtEndcap;Reco Pt[GeV/c]" + trigPath;
1769 MonitorElement* PtEndcap = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1772 histoname = labelname +
"_recObjPtForward";
1773 title = labelname +
"_recObjPtForward;Reco Pt[GeV/c]" + trigPath;
1774 MonitorElement* PtForward = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1777 histoname = labelname +
"_recObjEta";
1778 title = labelname +
"_recObjEta;Reco #eta" + trigPath;
1779 MonitorElement* Eta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
1782 histoname = labelname +
"_recObjPhi";
1783 title = labelname +
"_recObjPhi;Reco #Phi" + trigPath;
1787 histoname = labelname +
"_recObjEtaPhi";
1788 title = labelname +
"_recObjEtaPhi;Reco #eta;Reco #Phi" + trigPath;
1790 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
1793 histoname = labelname +
"_l1ObjPt";
1794 title = labelname +
"_l1ObjPt;L1 Pt[GeV/c]" + trigPath;
1795 MonitorElement* Pt_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1798 histoname = labelname +
"_l1ObjEta";
1799 title = labelname +
"_l1ObjEta;L1 #eta" + trigPath;
1800 MonitorElement* Eta_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
1803 histoname = labelname +
"_l1ObjPhi";
1804 title = labelname +
"_l1ObjPhi;L1 #Phi" + trigPath;
1805 MonitorElement* Phi_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
1808 histoname = labelname +
"_l1ObjEtaPhi";
1809 title = labelname +
"_l1ObjEtaPhi;L1 #eta;L1 #Phi" + trigPath;
1811 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
1814 histoname = labelname +
"_l1ObjN";
1815 title = labelname +
"_l1ObjN;L1 multiplicity" + trigPath;
1816 MonitorElement* N_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Nbins_, Nmin_, Nmax_);
1819 histoname = labelname +
"_l1ObjPtBarrel";
1820 title = labelname +
"_l1ObjPtBarrel;L1 Pt[GeV/c]" + trigPath;
1821 MonitorElement* PtBarrel_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1824 histoname = labelname +
"_l1ObjPtEndcap";
1825 title = labelname +
"_l1ObjPtEndcap;L1 Pt[GeV/c]" + trigPath;
1826 MonitorElement* PtEndcap_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1829 histoname = labelname +
"_l1ObjPtForward";
1830 title = labelname +
"_l1ObjPtForward;L1 Pt[GeV/c]" + trigPath;
1831 MonitorElement* PtForward_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1834 histoname = labelname +
"_hltObjN";
1835 title = labelname +
"_hltObjN;HLT multiplicity" + trigPath;
1836 MonitorElement* N_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Nbins_, Nmin_, Nmax_);
1839 histoname = labelname +
"_hltObjPtBarrel";
1840 title = labelname +
"_hltObjPtBarrel;HLT Pt[GeV/c]" + trigPath;
1841 MonitorElement* PtBarrel_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1844 histoname = labelname +
"_hltObjPtEndcap";
1845 title = labelname +
"_hltObjPtEndcap;HLT Pt[GeV/c]" + trigPath;
1846 MonitorElement* PtEndcap_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1849 histoname = labelname +
"_hltObjPtForward";
1850 title = labelname +
"_hltObjPtForward;HLT Pt[GeV/c]" + trigPath;
1851 MonitorElement* PtForward_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1854 histoname = labelname +
"_hltObjPt";
1855 title = labelname +
"_hltObjPt;HLT Pt[GeV/c]" + trigPath;
1856 MonitorElement* Pt_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
1859 histoname = labelname +
"_hltObjEta";
1860 title = labelname +
"_hltObjEta;HLT #eta" + trigPath;
1861 MonitorElement* Eta_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
1864 histoname = labelname +
"_hltObjPhi";
1865 title = labelname +
"_hltObjPhi;HLT #Phi" + trigPath;
1866 MonitorElement* Phi_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
1869 histoname = labelname +
"_hltObjEtaPhi";
1870 title = labelname +
"_hltObjEtaPhi;HLT #eta;HLT #Phi" + trigPath;
1872 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
1875 histoname = labelname +
"_l1HLTPtResolution";
1876 title = labelname +
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)" + trigPath;
1878 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1879 PtResolution_L1HLT->
getTH1();
1881 histoname = labelname +
"_l1HLTEtaResolution";
1882 title = labelname +
"_l1HLTEtaResolution;#eta(L1)-#eta(HLT)" + trigPath;
1884 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1885 EtaResolution_L1HLT->
getTH1();
1887 histoname = labelname +
"_l1HLTPhiResolution";
1888 title = labelname +
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)" + trigPath;
1890 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1891 PhiResolution_L1HLT->
getTH1();
1893 histoname = labelname +
"_l1HLTPtCorrelation";
1894 title = labelname +
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]" + trigPath;
1896 iBooker.book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
1897 PtCorrelation_L1HLT->
getTH1();
1899 histoname = labelname +
"_l1HLTEtaCorrelation";
1900 title = labelname +
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)" + trigPath;
1902 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Etabins_, EtaMin_, EtaMax_);
1903 EtaCorrelation_L1HLT->
getTH1();
1905 histoname = labelname +
"_l1HLTPhiCorrelation";
1906 title = labelname +
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)" + trigPath;
1908 iBooker.book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
1909 PhiCorrelation_L1HLT->
getTH1();
1911 histoname = labelname +
"_hltRecObjPtResolution";
1912 title = labelname +
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)" + trigPath;
1914 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1915 PtResolution_HLTRecObj->
getTH1();
1917 histoname = labelname +
"_hltRecObjEtaResolution";
1918 title = labelname +
"_hltRecObjEtaResolution;#eta(HLT)-#eta(Reco)" + trigPath;
1920 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1921 EtaResolution_HLTRecObj->
getTH1();
1923 histoname = labelname +
"_hltRecObjPhiResolution";
1924 title = labelname +
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)" + trigPath;
1926 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
1927 PhiResolution_HLTRecObj->
getTH1();
1929 histoname = labelname +
"_hltRecObjPtCorrelation";
1930 title = labelname +
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]" + trigPath;
1932 iBooker.book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
1933 PtCorrelation_HLTRecObj->
getTH1();
1935 histoname = labelname +
"_hltRecObjEtaCorrelation";
1936 title = labelname +
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)" + trigPath;
1938 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Etabins_, EtaMin_, EtaMax_);
1939 EtaCorrelation_HLTRecObj->
getTH1();
1941 histoname = labelname +
"_hltRecObjPhiCorrelation";
1942 title = labelname +
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)" + trigPath;
1944 iBooker.book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
1945 PhiCorrelation_HLTRecObj->
getTH1();
1972 EtaResolution_L1HLT,
1973 PhiResolution_L1HLT,
1974 PtResolution_HLTRecObj,
1975 EtaResolution_HLTRecObj,
1976 PhiResolution_HLTRecObj,
1977 PtCorrelation_L1HLT,
1978 EtaCorrelation_L1HLT,
1979 PhiCorrelation_L1HLT,
1980 PtCorrelation_HLTRecObj,
1981 EtaCorrelation_HLTRecObj,
1982 PhiCorrelation_HLTRecObj,
1995 histoname = labelname +
"_RecObjAveragePt";
1996 title = labelname +
"_RecObjAveragePt;Reco Average Pt[GeV/c]" + trigPath;
1997 MonitorElement* jetAveragePt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2000 histoname = labelname +
"_RecObjAverageEta";
2001 title = labelname +
"_RecObjAverageEta;Reco Average #eta" + trigPath;
2002 MonitorElement* jetAverageEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2005 histoname = labelname +
"_RecObjPhiDifference";
2006 title = labelname +
"_RecObjPhiDifference;Reco #Delta#Phi" + trigPath;
2008 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2009 jetPhiDifference->
getTH1();
2011 histoname = labelname +
"_hltObjAveragePt";
2012 title = labelname +
"_hltObjAveragePt;HLT Average Pt[GeV/c]" + trigPath;
2013 MonitorElement* hltAveragePt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2016 histoname = labelname +
"_hltObjAverageEta";
2017 title = labelname +
"_hltObjAverageEta;HLT Average #eta" + trigPath;
2018 MonitorElement* hltAverageEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2021 histoname = labelname +
"_hltObjPhiDifference";
2022 title = labelname +
"_hltObjPhiDifference;Reco #Delta#Phi" + trigPath;
2024 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2025 hltPhiDifference->
getTH1();
2075 histoname = labelname +
"_recObjPt";
2076 title = labelname +
"_recObjPt;Reco Pt[GeV/c]" + trigPath;
2077 MonitorElement* Pt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2080 histoname = labelname +
"_recObjPhi";
2081 title = labelname +
"_recObjPhi;Reco #Phi" + trigPath;
2085 histoname = labelname +
"_l1ObjPt";
2086 title = labelname +
"_l1ObjPt;L1 Pt[GeV/c]" + trigPath;
2087 MonitorElement* Pt_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2090 histoname = labelname +
"_l1ObjPhi";
2091 title = labelname +
"_l1ObjPhi;L1 #Phi" + trigPath;
2092 MonitorElement* Phi_L1 = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2095 histoname = labelname +
"_hltObjPt";
2096 title = labelname +
"_hltObjPt;HLT Pt[GeV/c]" + trigPath;
2097 MonitorElement* Pt_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2100 histoname = labelname +
"_hltObjPhi";
2101 title = labelname +
"_hltObjPhi;HLT #Phi" + trigPath;
2102 MonitorElement* Phi_HLT = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2105 histoname = labelname +
"_l1HLTPtResolution";
2106 title = labelname +
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)" + trigPath;
2108 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2109 PtResolution_L1HLT->
getTH1();
2111 histoname = labelname +
"_l1HLTPhiResolution";
2112 title = labelname +
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)" + trigPath;
2114 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2115 PhiResolution_L1HLT->
getTH1();
2117 histoname = labelname +
"_l1HLTPtCorrelation";
2118 title = labelname +
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]" + trigPath;
2120 iBooker.book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
2121 PtCorrelation_L1HLT->
getTH1();
2123 histoname = labelname +
"_l1HLTPhiCorrelation";
2124 title = labelname +
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)" + trigPath;
2126 iBooker.book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
2127 PhiCorrelation_L1HLT->
getTH1();
2129 histoname = labelname +
"_hltRecObjPtResolution";
2130 title = labelname +
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)" + trigPath;
2132 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2133 PtResolution_HLTRecObj->
getTH1();
2135 histoname = labelname +
"_hltRecObjPhiResolution";
2136 title = labelname +
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)" + trigPath;
2138 iBooker.book1D(histoname.c_str(),
title.c_str(), Resbins_, ResMin_, ResMax_);
2139 PhiResolution_HLTRecObj->
getTH1();
2141 histoname = labelname +
"_hltRecObjPtCorrelation";
2142 title = labelname +
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]" + trigPath;
2144 iBooker.book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
2145 PtCorrelation_HLTRecObj->
getTH1();
2147 histoname = labelname +
"_hltRecObjPhiCorrelation";
2148 title = labelname +
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)" + trigPath;
2150 iBooker.book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Phibins_, PhiMin_, PhiMax_);
2151 PhiCorrelation_HLTRecObj->
getTH1();
2179 PhiResolution_L1HLT,
2180 PtResolution_HLTRecObj,
2182 PhiResolution_HLTRecObj,
2183 PtCorrelation_L1HLT,
2185 PhiCorrelation_L1HLT,
2186 PtCorrelation_HLTRecObj,
2188 PhiCorrelation_HLTRecObj,
2208 double PtMax_ = 1000.;
2211 double EtaMin_ = -5.;
2212 double EtaMax_ = 5.;
2215 double PhiMin_ = -3.5;
2216 double PhiMax_ = 3.5;
2225 std::string subdirName = dirName1 + trgPathName +
"_wrt_" + trgPathNameD;
2226 iBooker.setCurrentFolder(subdirName);
2232 dummy = iBooker.bookFloat(
"dummy");
2235 histoname = labelname +
"_NumeratorPt";
2236 title = labelname +
"NumeratorPt;Calo Pt[GeV/c]";
2237 MonitorElement* NumeratorPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2240 histoname = labelname +
"_NumeratorPtBarrel";
2241 title = labelname +
"NumeratorPtBarrel;Calo Pt[GeV/c] ";
2242 MonitorElement* NumeratorPtBarrel = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2243 NumeratorPtBarrel->
getTH1();
2245 histoname = labelname +
"_NumeratorPtEndcap";
2246 title = labelname +
"NumeratorPtEndcap;Calo Pt[GeV/c]";
2247 MonitorElement* NumeratorPtEndcap = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2248 NumeratorPtEndcap->
getTH1();
2250 histoname = labelname +
"_NumeratorPtForward";
2251 title = labelname +
"NumeratorPtForward;Calo Pt[GeV/c]";
2253 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2254 NumeratorPtForward->
getTH1();
2256 histoname = labelname +
"_NumeratorEta";
2257 title = labelname +
"NumeratorEta;Calo #eta ";
2258 MonitorElement* NumeratorEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2261 histoname = labelname +
"_NumeratorPhi";
2262 title = labelname +
"NumeratorPhi;Calo #Phi";
2263 MonitorElement* NumeratorPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2266 histoname = labelname +
"_NumeratorEtaPhi";
2267 title = labelname +
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
2269 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2270 NumeratorEtaPhi->
getTH1();
2272 histoname = labelname +
"_NumeratorEtaBarrel";
2273 title = labelname +
"NumeratorEtaBarrel;Calo #eta ";
2275 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2276 NumeratorEtaBarrel->
getTH1();
2278 histoname = labelname +
"_NumeratorPhiBarrel";
2279 title = labelname +
"NumeratorPhiBarrel;Calo #Phi";
2281 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2282 NumeratorPhiBarrel->
getTH1();
2284 histoname = labelname +
"_NumeratorEtaEndcap";
2285 title = labelname +
"NumeratorEtaEndcap;Calo #eta ";
2287 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2288 NumeratorEtaEndcap->
getTH1();
2290 histoname = labelname +
"_NumeratorPhiEndcap";
2291 title = labelname +
"NumeratorPhiEndcap;Calo #Phi";
2293 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2294 NumeratorPhiEndcap->
getTH1();
2296 histoname = labelname +
"_NumeratorEtaForward";
2297 title = labelname +
"NumeratorEtaForward;Calo #eta ";
2299 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2300 NumeratorEtaForward->
getTH1();
2302 histoname = labelname +
"_NumeratorPhiForward";
2303 title = labelname +
"NumeratorPhiForward;Calo #Phi";
2305 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2306 NumeratorPhiForward->
getTH1();
2308 histoname = labelname +
"_NumeratorEta_LowpTcut";
2309 title = labelname +
"NumeratorEta_LowpTcut;Calo #eta ";
2311 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2312 NumeratorEta_LowpTcut->
getTH1();
2314 histoname = labelname +
"_NumeratorPhi_LowpTcut";
2315 title = labelname +
"NumeratorPhi_LowpTcut;Calo #Phi";
2317 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2318 NumeratorPhi_LowpTcut->
getTH1();
2320 histoname = labelname +
"_NumeratorEtaPhi_LowpTcut";
2321 title = labelname +
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2323 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2324 NumeratorEtaPhi_LowpTcut->
getTH1();
2326 histoname = labelname +
"_NumeratorEta_MedpTcut";
2327 title = labelname +
"NumeratorEta_MedpTcut;Calo #eta ";
2329 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2330 NumeratorEta_MedpTcut->
getTH1();
2332 histoname = labelname +
"_NumeratorPhi_MedpTcut";
2333 title = labelname +
"NumeratorPhi_MedpTcut;Calo #Phi";
2335 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2336 NumeratorPhi_MedpTcut->
getTH1();
2338 histoname = labelname +
"_NumeratorEtaPhi_MedpTcut";
2339 title = labelname +
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2341 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2342 NumeratorEtaPhi_MedpTcut->
getTH1();
2344 histoname = labelname +
"_NumeratorEta_HighpTcut";
2345 title = labelname +
"NumeratorEta_HighpTcut;Calo #eta ";
2347 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2348 NumeratorEta_HighpTcut->
getTH1();
2350 histoname = labelname +
"_NumeratorPhi_HighpTcut";
2351 title = labelname +
"NumeratorPhi_HighpTcut;Calo #Phi";
2353 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2354 NumeratorPhi_HighpTcut->
getTH1();
2356 histoname = labelname +
"_NumeratorEtaPhi_HighpTcut";
2357 title = labelname +
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2359 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2360 NumeratorEtaPhi_HighpTcut->
getTH1();
2362 histoname = labelname +
"_DenominatorPt";
2363 title = labelname +
"DenominatorPt;Calo Pt[GeV/c]";
2364 MonitorElement* DenominatorPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2367 histoname = labelname +
"_DenominatorPtBarrel";
2368 title = labelname +
"DenominatorPtBarrel;Calo Pt[GeV/c]";
2370 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2371 DenominatorPtBarrel->
getTH1();
2373 histoname = labelname +
"_DenominatorPtEndcap";
2374 title = labelname +
"DenominatorPtEndcap;Calo Pt[GeV/c]";
2376 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2377 DenominatorPtEndcap->
getTH1();
2379 histoname = labelname +
"_DenominatorPtForward";
2380 title = labelname +
"DenominatorPtForward;Calo Pt[GeV/c] ";
2382 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2383 DenominatorPtForward->
getTH1();
2385 histoname = labelname +
"_DenominatorEta";
2386 title = labelname +
"DenominatorEta;Calo #eta ";
2387 MonitorElement* DenominatorEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2388 DenominatorEta->
getTH1();
2390 histoname = labelname +
"_DenominatorPhi";
2391 title = labelname +
"DenominatorPhi;Calo #Phi";
2392 MonitorElement* DenominatorPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2393 DenominatorPhi->
getTH1();
2395 histoname = labelname +
"_DenominatorEtaPhi";
2396 title = labelname +
"DenominatorEtaPhi;Calo #eta; Calo #Phi";
2398 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2399 DenominatorEtaPhi->
getTH1();
2401 histoname = labelname +
"_DenominatorEtaBarrel";
2402 title = labelname +
"DenominatorEtaBarrel;Calo #eta ";
2404 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2405 DenominatorEtaBarrel->
getTH1();
2407 histoname = labelname +
"_DenominatorPhiBarrel";
2408 title = labelname +
"DenominatorPhiBarrel;Calo #Phi";
2410 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2411 DenominatorPhiBarrel->
getTH1();
2413 histoname = labelname +
"_DenominatorEtaEndcap";
2414 title = labelname +
"DenominatorEtaEndcap;Calo #eta ";
2416 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2417 DenominatorEtaEndcap->
getTH1();
2419 histoname = labelname +
"_DenominatorPhiEndcap";
2420 title = labelname +
"DenominatorPhiEndcap;Calo #Phi";
2422 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2423 DenominatorPhiEndcap->
getTH1();
2425 histoname = labelname +
"_DenominatorEtaForward";
2426 title = labelname +
"DenominatorEtaForward;Calo #eta ";
2428 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2429 DenominatorEtaForward->
getTH1();
2431 histoname = labelname +
"_DenominatorPhiForward";
2432 title = labelname +
"DenominatorPhiForward;Calo #Phi";
2434 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2435 DenominatorPhiForward->
getTH1();
2437 histoname = labelname +
"_DenominatorEta_LowpTcut";
2438 title = labelname +
"DenominatorEta_LowpTcut;Calo #eta ";
2440 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2441 DenominatorEta_LowpTcut->
getTH1();
2443 histoname = labelname +
"_DenominatorPhi_LowpTcut";
2444 title = labelname +
"DenominatorPhi_LowpTcut;Calo #Phi";
2446 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2447 DenominatorPhi_LowpTcut->
getTH1();
2449 histoname = labelname +
"_DenominatorEtaPhi_LowpTcut";
2450 title = labelname +
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2452 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2453 DenominatorEtaPhi_LowpTcut->
getTH1();
2455 histoname = labelname +
"_DenominatorEta_MedpTcut";
2456 title = labelname +
"DenominatorEta_MedpTcut;Calo #eta ";
2458 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2459 DenominatorEta_MedpTcut->
getTH1();
2461 histoname = labelname +
"_DenominatorPhi_MedpTcut";
2462 title = labelname +
"DenominatorPhi_MedpTcut;Calo #Phi";
2464 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2465 DenominatorPhi_MedpTcut->
getTH1();
2467 histoname = labelname +
"_DenominatorEtaPhi_MedpTcut";
2468 title = labelname +
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2470 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2471 DenominatorEtaPhi_MedpTcut->
getTH1();
2473 histoname = labelname +
"_DenominatorEta_HighpTcut";
2474 title = labelname +
"DenominatorEta_HighpTcut;Calo #eta ";
2476 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2477 DenominatorEta_HighpTcut->
getTH1();
2479 histoname = labelname +
"_DenominatorPhi_HighpTcut";
2480 title = labelname +
"DenominatorPhi_HighpTcut;Calo #Phi";
2482 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2483 DenominatorPhi_HighpTcut->
getTH1();
2485 histoname = labelname +
"_DenominatorEtaPhi_HighpTcut";
2486 title = labelname +
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2488 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2489 DenominatorEtaPhi_HighpTcut->
getTH1();
2491 histoname = labelname +
"_DeltaR";
2492 title = labelname +
"DeltaR;";
2496 histoname = labelname +
"_DeltaPhi";
2497 title = labelname +
"DeltaPhi;";
2501 histoname = labelname +
"_NumeratorPFMHT";
2502 title = labelname +
"NumeratorPFMHT;PFMHT[GeV/c]";
2503 MonitorElement* NumeratorPFMHT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2504 NumeratorPFMHT->
getTH1();
2506 histoname = labelname +
"_NumeratorPFPt";
2507 title = labelname +
"NumeratorPFPt;PF Pt[GeV/c]";
2508 MonitorElement* NumeratorPFPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2511 histoname = labelname +
"_NumeratorPFPtBarrel";
2512 title = labelname +
"NumeratorPFPtBarrel;PF Pt[GeV/c] ";
2514 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2515 NumeratorPFPtBarrel->
getTH1();
2517 histoname = labelname +
"_NumeratorPFPtEndcap";
2518 title = labelname +
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
2520 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2521 NumeratorPFPtEndcap->
getTH1();
2523 histoname = labelname +
"_NumeratorPFPtForward";
2524 title = labelname +
"NumeratorPFPtForward;PF Pt[GeV/c]";
2526 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2527 NumeratorPFPtForward->
getTH1();
2529 histoname = labelname +
"_NumeratorPFEta";
2530 title = labelname +
"NumeratorPFEta;PF #eta ";
2531 MonitorElement* NumeratorPFEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2532 NumeratorPFEta->
getTH1();
2534 histoname = labelname +
"_NumeratorPFPhi";
2535 title = labelname +
"NumeratorPFPhi;Calo #Phi";
2536 MonitorElement* NumeratorPFPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2537 NumeratorPFPhi->
getTH1();
2539 histoname = labelname +
"_NumeratorPFEtaPhi";
2540 title = labelname +
"NumeratorPFEtaPhi;PF #eta;Calo #Phi";
2542 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2543 NumeratorPFEtaPhi->
getTH1();
2545 histoname = labelname +
"_NumeratorPFEtaBarrel";
2546 title = labelname +
"NumeratorPFEtaBarrel;PF #eta ";
2548 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2549 NumeratorPFEtaBarrel->
getTH1();
2551 histoname = labelname +
"_NumeratorPFPhiBarrel";
2552 title = labelname +
"NumeratorPFPhiBarrel;PF #Phi";
2554 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2555 NumeratorPFPhiBarrel->
getTH1();
2557 histoname = labelname +
"_NumeratorPFEtaEndcap";
2558 title = labelname +
"NumeratorPFEtaEndcap;Calo #eta ";
2560 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2561 NumeratorPFEtaEndcap->
getTH1();
2563 histoname = labelname +
"_NumeratorPFPhiEndcap";
2564 title = labelname +
"NumeratorPFPhiEndcap;PF #Phi";
2566 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2567 NumeratorPFPhiEndcap->
getTH1();
2569 histoname = labelname +
"_NumeratorPFEtaForward";
2570 title = labelname +
"NumeratorPFEtaForward;Calo #eta ";
2572 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2573 NumeratorPFEtaForward->
getTH1();
2575 histoname = labelname +
"_NumeratorPFPhiForward";
2576 title = labelname +
"NumeratorPFPhiForward;PF #Phi";
2578 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2579 NumeratorPFPhiForward->
getTH1();
2581 histoname = labelname +
"_NumeratorPFEta_LowpTcut";
2582 title = labelname +
"NumeratorPFEta_LowpTcut;PF #eta ";
2584 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2585 NumeratorPFEta_LowpTcut->
getTH1();
2587 histoname = labelname +
"_NumeratorPFPhi_LowpTcut";
2588 title = labelname +
"NumeratorPFPhi_LowpTcut;PF #Phi";
2590 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2591 NumeratorPFPhi_LowpTcut->
getTH1();
2593 histoname = labelname +
"_NumeratorPFEtaPhi_LowpTcut";
2594 title = labelname +
"NumeratorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2596 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2597 NumeratorPFEtaPhi_LowpTcut->
getTH1();
2599 histoname = labelname +
"_NumeratorPFEta_MedpTcut";
2600 title = labelname +
"NumeratorPFEta_MedpTcut;PF #eta ";
2602 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2603 NumeratorPFEta_MedpTcut->
getTH1();
2605 histoname = labelname +
"_NumeratorPFPhi_MedpTcut";
2606 title = labelname +
"NumeratorPFPhi_MedpTcut;PF #Phi";
2608 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2609 NumeratorPFPhi_MedpTcut->
getTH1();
2611 histoname = labelname +
"_NumeratorPFEtaPhi_MedpTcut";
2612 title = labelname +
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
2614 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2615 NumeratorPFEtaPhi_MedpTcut->
getTH1();
2617 histoname = labelname +
"_NumeratorPFEta_HighpTcut";
2618 title = labelname +
"NumeratorPFEta_HighpTcut;Calo #eta ";
2620 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2621 NumeratorPFEta_HighpTcut->
getTH1();
2623 histoname = labelname +
"_NumeratorPFPhi_HighpTcut";
2624 title = labelname +
"NumeratorPFPhi_HighpTcut;PF #Phi";
2626 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2627 NumeratorPFPhi_HighpTcut->
getTH1();
2629 histoname = labelname +
"_NumeratorPFEtaPhi_HighpTcut";
2630 title = labelname +
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
2632 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2633 NumeratorPFEtaPhi_HighpTcut->
getTH1();
2635 histoname = labelname +
"_DenominatorPFMHT";
2636 title = labelname +
"DenominatorPFMHT;PF Pt[GeV/c]";
2637 MonitorElement* DenominatorPFMHT = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2638 DenominatorPFMHT->
getTH1();
2640 histoname = labelname +
"_DenominatorPFPt";
2641 title = labelname +
"DenominatorPFPt;PF Pt[GeV/c]";
2642 MonitorElement* DenominatorPFPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2643 DenominatorPFPt->
getTH1();
2645 histoname = labelname +
"_DenominatorPFPtBarrel";
2646 title = labelname +
"DenominatorPFPtBarrel;Calo Pt[GeV/c]";
2648 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2649 DenominatorPFPtBarrel->
getTH1();
2651 histoname = labelname +
"_DenominatorPFPtEndcap";
2652 title = labelname +
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
2654 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2655 DenominatorPFPtEndcap->
getTH1();
2657 histoname = labelname +
"_DenominatorPFPtForward";
2658 title = labelname +
"DenominatorPFPtForward;PF Pt[GeV/c] ";
2660 iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2661 DenominatorPFPtForward->
getTH1();
2663 histoname = labelname +
"_DenominatorPFEta";
2664 title = labelname +
"DenominatorPFEta;PF #eta ";
2666 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2667 DenominatorPFEta->
getTH1();
2669 histoname = labelname +
"_DenominatorPFPhi";
2670 title = labelname +
"DenominatorPFPhi;PF #Phi";
2672 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2673 DenominatorPFPhi->
getTH1();
2675 histoname = labelname +
"_DenominatorPFEtaPhi";
2676 title = labelname +
"DenominatorPFEtaPhi;PF #eta; Calo #Phi";
2678 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2679 DenominatorPFEtaPhi->
getTH1();
2681 histoname = labelname +
"_DenominatorPFEtaBarrel";
2682 title = labelname +
"DenominatorPFEtaBarrel;Calo #eta ";
2684 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2685 DenominatorPFEtaBarrel->
getTH1();
2687 histoname = labelname +
"_DenominatorPFPhiBarrel";
2688 title = labelname +
"DenominatorPFPhiBarrel;PF #Phi";
2690 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2691 DenominatorPFPhiBarrel->
getTH1();
2693 histoname = labelname +
"_DenominatorPFEtaEndcap";
2694 title = labelname +
"DenominatorPFEtaEndcap;PF #eta ";
2696 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2697 DenominatorPFEtaEndcap->
getTH1();
2699 histoname = labelname +
"_DenominatorPFPhiEndcap";
2700 title = labelname +
"DenominatorPFPhiEndcap;Calo #Phi";
2702 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2703 DenominatorPFPhiEndcap->
getTH1();
2705 histoname = labelname +
"_DenominatorPFEtaForward";
2706 title = labelname +
"DenominatorPFEtaForward;PF #eta ";
2708 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2709 DenominatorPFEtaForward->
getTH1();
2711 histoname = labelname +
"_DenominatorPFPhiForward";
2712 title = labelname +
"DenominatorPFPhiForward;PF #Phi";
2714 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2715 DenominatorPFPhiForward->
getTH1();
2717 histoname = labelname +
"_DenominatorPFEta_LowpTcut";
2718 title = labelname +
"DenominatorPFEta_LowpTcut;PF #eta ";
2720 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2721 DenominatorPFEta_LowpTcut->
getTH1();
2723 histoname = labelname +
"_DenominatorPFPhi_LowpTcut";
2724 title = labelname +
"DenominatorPFPhi_LowpTcut;PF #Phi";
2726 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2727 DenominatorPFPhi_LowpTcut->
getTH1();
2729 histoname = labelname +
"_DenominatorPFEtaPhi_LowpTcut";
2730 title = labelname +
"DenominatorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2732 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2733 DenominatorPFEtaPhi_LowpTcut->
getTH1();
2735 histoname = labelname +
"_DenominatorPFEta_MedpTcut";
2736 title = labelname +
"DenominatorPFEta_MedpTcut;PF #eta ";
2738 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2739 DenominatorPFEta_MedpTcut->
getTH1();
2741 histoname = labelname +
"_DenominatorPFPhi_MedpTcut";
2742 title = labelname +
"DenominatorPFPhi_MedpTcut;PF #Phi";
2744 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2745 DenominatorPFPhi_MedpTcut->
getTH1();
2747 histoname = labelname +
"_DenominatorPFEtaPhi_MedpTcut";
2748 title = labelname +
"DenominatorPFEtaPhi_MedpTcut;PF #eta;Calo #Phi";
2750 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2751 DenominatorPFEtaPhi_MedpTcut->
getTH1();
2753 histoname = labelname +
"_DenominatorPFEta_HighpTcut";
2754 title = labelname +
"DenominatorPFEta_HighpTcut;PF #eta ";
2756 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2757 DenominatorPFEta_HighpTcut->
getTH1();
2759 histoname = labelname +
"_DenominatorPFPhi_HighpTcut";
2760 title = labelname +
"DenominatorPFPhi_HighpTcut;PF #Phi";
2762 iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
2763 DenominatorPFPhi_HighpTcut->
getTH1();
2765 histoname = labelname +
"_DenominatorPFEtaPhi_HighpTcut";
2766 title = labelname +
"DenominatorPFEtaPhi_HighpTcut;PF #eta;Calo #Phi";
2768 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Phibins_, PhiMin_, PhiMax_);
2769 DenominatorPFEtaPhi_HighpTcut->
getTH1();
2771 histoname = labelname +
"_PFDeltaR";
2772 title = labelname +
"PFDeltaR;";
2773 MonitorElement* PFDeltaR = iBooker.book1D(histoname.c_str(),
title.c_str(), 100, 0., 1.5);
2776 histoname = labelname +
"_PFDeltaPhi";
2777 title = labelname +
"PFDeltaPhi;";
2778 MonitorElement* PFDeltaPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), 500, -5.0, 5.0);
2781 v.setEffHistos(NumeratorPt,
2793 NumeratorEtaForward,
2794 NumeratorPhiForward,
2795 NumeratorEta_LowpTcut,
2796 NumeratorPhi_LowpTcut,
2797 NumeratorEtaPhi_LowpTcut,
2798 NumeratorEta_MedpTcut,
2799 NumeratorPhi_MedpTcut,
2800 NumeratorEtaPhi_MedpTcut,
2801 NumeratorEta_HighpTcut,
2802 NumeratorPhi_HighpTcut,
2803 NumeratorEtaPhi_HighpTcut,
2806 DenominatorPtBarrel,
2807 DenominatorPtEndcap,
2808 DenominatorPtForward,
2813 DenominatorEtaBarrel,
2814 DenominatorPhiBarrel,
2815 DenominatorEtaEndcap,
2816 DenominatorPhiEndcap,
2817 DenominatorEtaForward,
2818 DenominatorPhiForward,
2819 DenominatorEta_LowpTcut,
2820 DenominatorPhi_LowpTcut,
2821 DenominatorEtaPhi_LowpTcut,
2822 DenominatorEta_MedpTcut,
2823 DenominatorPhi_MedpTcut,
2824 DenominatorEtaPhi_MedpTcut,
2825 DenominatorEta_HighpTcut,
2826 DenominatorPhi_HighpTcut,
2827 DenominatorEtaPhi_HighpTcut,
2833 NumeratorPFPtBarrel,
2834 NumeratorPFPtEndcap,
2835 NumeratorPFPtForward,
2839 NumeratorPFEtaBarrel,
2840 NumeratorPFPhiBarrel,
2841 NumeratorPFEtaEndcap,
2842 NumeratorPFPhiEndcap,
2843 NumeratorPFEtaForward,
2844 NumeratorPFPhiForward,
2845 NumeratorPFEta_LowpTcut,
2846 NumeratorPFPhi_LowpTcut,
2847 NumeratorPFEtaPhi_LowpTcut,
2848 NumeratorPFEta_MedpTcut,
2849 NumeratorPFPhi_MedpTcut,
2850 NumeratorPFEtaPhi_MedpTcut,
2851 NumeratorPFEta_HighpTcut,
2852 NumeratorPFPhi_HighpTcut,
2853 NumeratorPFEtaPhi_HighpTcut,
2856 DenominatorPFPtBarrel,
2857 DenominatorPFPtEndcap,
2858 DenominatorPFPtForward,
2861 DenominatorPFEtaPhi,
2862 DenominatorPFEtaBarrel,
2863 DenominatorPFPhiBarrel,
2864 DenominatorPFEtaEndcap,
2865 DenominatorPFPhiEndcap,
2866 DenominatorPFEtaForward,
2867 DenominatorPFPhiForward,
2868 DenominatorPFEta_LowpTcut,
2869 DenominatorPFPhi_LowpTcut,
2870 DenominatorPFEtaPhi_LowpTcut,
2871 DenominatorPFEta_MedpTcut,
2872 DenominatorPFPhi_MedpTcut,
2873 DenominatorPFEtaPhi_MedpTcut,
2874 DenominatorPFEta_HighpTcut,
2875 DenominatorPFPhi_HighpTcut,
2876 DenominatorPFEtaPhi_HighpTcut,
2883 histoname = labelname +
"_NumeratorAvrgPt";
2884 title = labelname +
"NumeratorAvrgPt;Calo Pt[GeV/c]";
2885 MonitorElement* NumeratorPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2888 histoname = labelname +
"_NumeratorAvrgEta";
2889 title = labelname +
"NumeratorAvrgEta;Calo #eta";
2890 MonitorElement* NumeratorEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2893 histoname = labelname +
"_DenominatorAvrgPt";
2894 title = labelname +
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
2895 MonitorElement* DenominatorPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2898 histoname = labelname +
"_DenominatorAvrgEta";
2899 title = labelname +
"DenominatorAvrgEta;Calo #eta";
2900 MonitorElement* DenominatorEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2901 DenominatorEta->
getTH1();
2903 histoname = labelname +
"_DeltaR";
2904 title = labelname +
"DeltaR;";
2908 histoname = labelname +
"_DeltaPhi";
2909 title = labelname +
"DeltaPhi;";
2914 histoname = labelname +
"_NumeratorAvrgPFPt";
2915 title = labelname +
"NumeratorAvrgPFPt;PF Pt[GeV/c]";
2916 MonitorElement* NumeratorPFPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2919 histoname = labelname +
"_NumeratorAvrgPFEta";
2920 title = labelname +
"NumeratorAvrgPFEta;PF #eta";
2921 MonitorElement* NumeratorPFEta = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2922 NumeratorPFEta->
getTH1();
2924 histoname = labelname +
"_DenominatorAvrgPFPt";
2925 title = labelname +
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
2926 MonitorElement* DenominatorPFPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
2927 DenominatorPFPt->
getTH1();
2929 histoname = labelname +
"_DenominatorAvrgPFEta";
2930 title = labelname +
"DenominatorAvrgPFEta;PF #eta";
2932 iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
2933 DenominatorPFEta->
getTH1();
2935 histoname = labelname +
"_PFDeltaR";
2936 title = labelname +
"PFDeltaR;";
2937 MonitorElement* PFDeltaR = iBooker.book1D(histoname.c_str(),
title.c_str(), 100, 0., 1.5);
2940 histoname = labelname +
"_PFDeltaPhi";
2941 title = labelname +
"PFDeltaPhi;";
2942 MonitorElement* PFDeltaPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), 500, -5., 5.);
3042 histoname = labelname +
"_NumeratorPt";
3043 if (
v.getPath().find(
"HLT_PFMET") == std::string::npos)
3044 title = labelname +
"NumeratorPt; CaloMET[GeV/c]";
3046 title = labelname +
"NumeratorPt; PFMET[GeV/c]";
3047 MonitorElement* NumeratorPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
3050 histoname = labelname +
"_NumeratorPhi";
3051 title = labelname +
"NumeratorPhi; #Phi";
3052 MonitorElement* NumeratorPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
3055 histoname = labelname +
"_DenominatorPt";
3056 if (
v.getPath().find(
"HLT_PFMET") == std::string::npos)
3057 title = labelname +
"DenominatorPt; CaloMET[GeV/c]";
3059 title = labelname +
"DenominatorPt; PFMET[GeV/c]";
3060 MonitorElement* DenominatorPt = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
3063 histoname = labelname +
"_DenominatorPhi";
3064 title = labelname +
"DenominatorPhi; #Phi";
3065 MonitorElement* DenominatorPhi = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
3066 DenominatorPhi->
getTH1();
3068 v.setEffHistos(NumeratorPt,
3175 double PtMax_ = 1000.;
3176 double EtaMin_ = -5.;
3177 double EtaMax_ = 5.;
3178 double PhiMin_ = -3.14159;
3179 double PhiMax_ = 3.14159;
3186 dummy = iBooker.bookFloat(
"dummy");
3191 iBooker.setCurrentFolder(dirName4_ +
v.getPath());
3193 histoname = labelname +
"_TriggerSummary";
3194 title = labelname +
"Summary of trigger levels";
3197 std::vector<std::string>
trigger;
3199 trigger.emplace_back(
"L1 failed");
3200 trigger.emplace_back(
"L1 & HLT failed");
3201 trigger.emplace_back(
"L1 failed but not HLT");
3202 trigger.emplace_back(
"L1 passed");
3203 trigger.emplace_back(
"L1 & HLT passed");
3204 trigger.emplace_back(
"L1 passed but not HLT");
3206 for (
unsigned int i = 0;
i <
trigger.size();
i++)
3209 if ((
v.getTriggerType() ==
"SingleJet_Trigger")) {
3210 histoname = labelname +
"_JetPt";
3211 title = labelname +
"Leading jet pT;Pt[GeV/c]";
3215 histoname = labelname +
"_JetEtaVsPt";
3216 title = labelname +
"Leading jet #eta vs pT;#eta;Pt[GeV/c]";
3218 iBooker.book2D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_, Ptbins_, PtMin_, PtMax_);
3221 histoname = labelname +
"_JetPhiVsPt";
3222 title = labelname +
"Leading jet #Phi vs pT;#Phi;Pt[GeV/c]";
3224 iBooker.book2D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_, Ptbins_, PtMin_, PtMax_);
3228 TriggerSummary,
dummy, JetPt, JetEtaVsPt, JetPhiVsPt,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy);
3231 if ((
v.getTriggerType() ==
"DiJet_Trigger")) {
3232 histoname = labelname +
"_JetSize";
3233 title = labelname +
"Jet Size;multiplicity";
3234 MonitorElement* JetSize = iBooker.book1D(histoname.c_str(),
title.c_str(), Nbins_, Nmin_, Nmax_);
3237 histoname = labelname +
"_AvergPt";
3238 title = labelname +
"Average Pt;Pt[GeV/c]";
3239 MonitorElement* Pt12 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
3242 histoname = labelname +
"_AvergEta";
3243 title = labelname +
"Average Eta;#eta";
3244 MonitorElement* Eta12 = iBooker.book1D(histoname.c_str(),
title.c_str(), Etabins_, EtaMin_, EtaMax_);
3247 histoname = labelname +
"_PhiDifference";
3248 title = labelname +
"#Delta#Phi;#Delta#Phi";
3249 MonitorElement* Phi12 = iBooker.book1D(histoname.c_str(),
title.c_str(), Phibins_, PhiMin_, PhiMax_);
3252 histoname = labelname +
"_Pt3Jet";
3253 title = labelname +
"Pt of 3rd Jet;Pt[GeV/c]";
3254 MonitorElement* Pt3 = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
3257 histoname = labelname +
"_Pt12VsPt3Jet";
3258 title = labelname +
"Pt of 3rd Jet vs Average Pt of leading jets;Avergage Pt[GeV/c]; Pt of 3rd Jet [GeV/c]";
3260 iBooker.book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Ptbins_, PtMin_, PtMax_);
3263 histoname = labelname +
"_Pt12VsPhi12";
3265 "Average Pt of leading jets vs #Delta#Phi between leading jets;Avergage Pt[GeV/c]; #Delta#Phi";
3267 iBooker.book2D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_, Phibins_, PhiMin_, PhiMax_);
3270 v.setDgnsHistos(
TriggerSummary, JetSize,
dummy,
dummy,
dummy, Pt12, Eta12, Phi12, Pt3, Pt12Pt3, Pt12Phi12);
3273 if ((
v.getTriggerType() ==
"MET_Trigger")) {
3274 histoname = labelname +
"_MET";
3275 title = labelname +
"MET;Pt[GeV/c]";
3279 v.setDgnsHistos(
TriggerSummary,
dummy,
MET,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy);
3282 if ((
v.getTriggerType() ==
"TET_Trigger")) {
3283 histoname = labelname +
"_TET";
3284 title = labelname +
"TET;Pt[GeV/c]";
3285 MonitorElement* TET = iBooker.book1D(histoname.c_str(),
title.c_str(), Ptbins_, PtMin_, PtMax_);
3288 v.setDgnsHistos(
TriggerSummary,
dummy, TET,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy,
dummy);