1577 double TrigMin_ = -0.5;
1582 rate_All = iBooker.
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
1584 histonm =
"JetMET_TriggerRate_Correlation";
1585 histot =
"JetMET TriggerRate Correlation Summary;y&&!x;x&&y";
1586 correlation_All = iBooker.
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
1588 histonm =
"JetMET_NVertices";
1589 histot =
"No. of vertices";
1592 histonm =
"JetMET_PVZ";
1593 histot =
"Primary Vertex Z pos";
1594 PVZ = iBooker.
book1D(histonm.c_str(),histot.c_str(),100,-50.,50.);
1597 histonm=
"JetMET_TriggerRate_WrtMuTrigger";
1598 histot=
"JetMET TriggerRate Summary Wrt Muon Trigger ";
1599 rate_AllWrtMu = iBooker.
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
1601 histonm=
"JetMET_TriggerRate_Correlation_WrtMuTrigger";
1602 histot=
"JetMET TriggerRate Correlation Summary Wrt Muon Trigger;y&&!x;x&&y";
1603 correlation_AllWrtMu = iBooker.
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
1605 histonm=
"JetMET_TriggerRate_WrtMBTrigger";
1606 histot=
"JetMET TriggerRate Summary Wrt MB Trigger";
1607 rate_AllWrtMB = iBooker.
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
1609 histonm=
"JetMET_TriggerRate_Correlation_WrtMBTrigger";
1610 histot=
"JetMET TriggerRate Correlation Wrt MB Trigger;y&&!x;x&&y";
1611 correlation_AllWrtMB = iBooker.
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
1619 labelnm =
v.getPath();
1621 for(
int ibin=1; ibin<nbins+1; ibin++){
1622 const char * binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
1624 if(binLabel_str==labelnm)
break;
1625 if(binLabel[0]==
'\0'){
1646 double Nmin_ = -0.5;
1652 double PtMax_ = 1000.;
1656 double EtaMin_ = -5.;
1657 double EtaMax_ = 5.;
1660 double PhiMin_ = -3.5;
1661 double PhiMax_ = 3.5;
1664 double ResMin_ = -1.5;
1665 double ResMax_ = 1.5;
1684 histoname = labelname+
"_recObjN";
1685 title = labelname+
"_recObjN;Reco multiplicity()"+trigPath;
1689 histoname = labelname+
"_recObjPt";
1690 title = labelname+
"_recObjPt; Reco Pt[GeV/c]"+trigPath;
1694 histoname = labelname+
"_recObjPtBarrel";
1695 title = labelname+
"_recObjPtBarrel;Reco Pt[GeV/c]"+trigPath;
1699 histoname = labelname+
"_recObjPtEndcap";
1700 title = labelname+
"_recObjPtEndcap;Reco Pt[GeV/c]"+trigPath;
1704 histoname = labelname+
"_recObjPtForward";
1705 title = labelname+
"_recObjPtForward;Reco Pt[GeV/c]"+trigPath;
1709 histoname = labelname+
"_recObjEta";
1710 title = labelname+
"_recObjEta;Reco #eta"+trigPath;
1714 histoname = labelname+
"_recObjPhi";
1715 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
1719 histoname = labelname+
"_recObjEtaPhi";
1720 title = labelname+
"_recObjEtaPhi;Reco #eta;Reco #Phi"+trigPath;
1721 MonitorElement * EtaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
1724 histoname = labelname+
"_l1ObjPt";
1725 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
1729 histoname = labelname+
"_l1ObjEta";
1730 title = labelname+
"_l1ObjEta;L1 #eta"+trigPath;
1734 histoname = labelname+
"_l1ObjPhi";
1735 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
1739 histoname = labelname+
"_l1ObjEtaPhi";
1740 title = labelname+
"_l1ObjEtaPhi;L1 #eta;L1 #Phi"+trigPath;
1741 MonitorElement * EtaPhi_L1 = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
1744 histoname = labelname+
"_l1ObjN";
1745 title = labelname+
"_l1ObjN;L1 multiplicity"+trigPath;
1749 histoname = labelname+
"_l1ObjPtBarrel";
1750 title = labelname+
"_l1ObjPtBarrel;L1 Pt[GeV/c]"+trigPath;
1754 histoname = labelname+
"_l1ObjPtEndcap";
1755 title = labelname+
"_l1ObjPtEndcap;L1 Pt[GeV/c]"+trigPath;
1759 histoname = labelname+
"_l1ObjPtForward";
1760 title = labelname+
"_l1ObjPtForward;L1 Pt[GeV/c]"+trigPath;
1764 histoname = labelname+
"_hltObjN";
1765 title = labelname+
"_hltObjN;HLT multiplicity"+trigPath;
1769 histoname = labelname+
"_hltObjPtBarrel";
1770 title = labelname+
"_hltObjPtBarrel;HLT Pt[GeV/c]"+trigPath;
1774 histoname = labelname+
"_hltObjPtEndcap";
1775 title = labelname+
"_hltObjPtEndcap;HLT Pt[GeV/c]"+trigPath;
1779 histoname = labelname+
"_hltObjPtForward";
1780 title = labelname+
"_hltObjPtForward;HLT Pt[GeV/c]"+trigPath;
1784 histoname = labelname+
"_hltObjPt";
1785 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
1789 histoname = labelname+
"_hltObjEta";
1790 title = labelname+
"_hltObjEta;HLT #eta"+trigPath;
1794 histoname = labelname+
"_hltObjPhi";
1795 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
1799 histoname = labelname+
"_hltObjEtaPhi";
1800 title = labelname+
"_hltObjEtaPhi;HLT #eta;HLT #Phi"+trigPath;
1801 MonitorElement * EtaPhi_HLT = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
1804 histoname = labelname+
"_l1HLTPtResolution";
1805 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
1807 PtResolution_L1HLT->
getTH1();
1809 histoname = labelname+
"_l1HLTEtaResolution";
1810 title = labelname+
"_l1HLTEtaResolution;#eta(L1)-#eta(HLT)"+trigPath;
1812 EtaResolution_L1HLT->
getTH1();
1814 histoname = labelname+
"_l1HLTPhiResolution";
1815 title = labelname+
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)"+trigPath;
1817 PhiResolution_L1HLT->
getTH1();
1819 histoname = labelname+
"_l1HLTPtCorrelation";
1820 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
1821 MonitorElement * PtCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),
title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
1822 PtCorrelation_L1HLT->
getTH1();
1824 histoname = labelname+
"_l1HLTEtaCorrelation";
1825 title = labelname+
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)"+trigPath;
1826 MonitorElement * EtaCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
1827 EtaCorrelation_L1HLT->
getTH1();
1829 histoname = labelname+
"_l1HLTPhiCorrelation";
1830 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
1831 MonitorElement * PhiCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
1832 PhiCorrelation_L1HLT->
getTH1();
1834 histoname = labelname+
"_hltRecObjPtResolution";
1835 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
1837 PtResolution_HLTRecObj->
getTH1();
1839 histoname = labelname+
"_hltRecObjEtaResolution";
1840 title = labelname+
"_hltRecObjEtaResolution;#eta(HLT)-#eta(Reco)"+trigPath;
1842 EtaResolution_HLTRecObj->
getTH1();
1844 histoname = labelname+
"_hltRecObjPhiResolution";
1845 title = labelname+
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)"+trigPath;
1847 PhiResolution_HLTRecObj->
getTH1();
1849 histoname = labelname+
"_hltRecObjPtCorrelation";
1850 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
1851 MonitorElement * PtCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),
title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
1852 PtCorrelation_HLTRecObj->
getTH1();
1854 histoname = labelname+
"_hltRecObjEtaCorrelation";
1855 title = labelname+
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)"+trigPath;
1856 MonitorElement * EtaCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
1857 EtaCorrelation_HLTRecObj->
getTH1();
1859 histoname = labelname+
"_hltRecObjPhiCorrelation";
1860 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
1861 MonitorElement * PhiCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
1862 PhiCorrelation_HLTRecObj->
getTH1();
1889 EtaResolution_L1HLT,
1890 PhiResolution_L1HLT,
1891 PtResolution_HLTRecObj,
1892 EtaResolution_HLTRecObj,
1893 PhiResolution_HLTRecObj,
1894 PtCorrelation_L1HLT,
1895 EtaCorrelation_L1HLT,
1896 PhiCorrelation_L1HLT,
1897 PtCorrelation_HLTRecObj,
1898 EtaCorrelation_HLTRecObj,
1899 PhiCorrelation_HLTRecObj,
1914 histoname = labelname+
"_RecObjAveragePt";
1915 title = labelname+
"_RecObjAveragePt;Reco Average Pt[GeV/c]"+trigPath;
1919 histoname = labelname+
"_RecObjAverageEta";
1920 title = labelname+
"_RecObjAverageEta;Reco Average #eta"+trigPath;
1924 histoname = labelname+
"_RecObjPhiDifference";
1925 title = labelname+
"_RecObjPhiDifference;Reco #Delta#Phi"+trigPath;
1927 jetPhiDifference->
getTH1();
1929 histoname = labelname+
"_hltObjAveragePt";
1930 title = labelname+
"_hltObjAveragePt;HLT Average Pt[GeV/c]"+trigPath;
1934 histoname = labelname+
"_hltObjAverageEta";
1935 title = labelname+
"_hltObjAverageEta;HLT Average #eta"+trigPath;
1939 histoname = labelname+
"_hltObjPhiDifference";
1940 title = labelname+
"_hltObjPhiDifference;Reco #Delta#Phi"+trigPath;
1942 hltPhiDifference->
getTH1();
1994 histoname = labelname+
"_recObjPt";
1995 title = labelname+
"_recObjPt;Reco Pt[GeV/c]"+trigPath;
1999 histoname = labelname+
"_recObjPhi";
2000 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
2004 histoname = labelname+
"_l1ObjPt";
2005 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
2009 histoname = labelname+
"_l1ObjPhi";
2010 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
2014 histoname = labelname+
"_hltObjPt";
2015 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
2019 histoname = labelname+
"_hltObjPhi";
2020 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
2024 histoname = labelname+
"_l1HLTPtResolution";
2025 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
2027 PtResolution_L1HLT->
getTH1();
2029 histoname = labelname+
"_l1HLTPhiResolution";
2030 title = labelname+
"_l1HLTPhiResolution;#Phi(L1)-#Phi(HLT)"+trigPath;
2032 PhiResolution_L1HLT->
getTH1();
2034 histoname = labelname+
"_l1HLTPtCorrelation";
2035 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
2036 MonitorElement * PtCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),
title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
2037 PtCorrelation_L1HLT->
getTH1();
2039 histoname = labelname+
"_l1HLTPhiCorrelation";
2040 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
2041 MonitorElement * PhiCorrelation_L1HLT = iBooker.
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
2042 PhiCorrelation_L1HLT->
getTH1();
2044 histoname = labelname+
"_hltRecObjPtResolution";
2045 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
2047 PtResolution_HLTRecObj->
getTH1();
2049 histoname = labelname+
"_hltRecObjPhiResolution";
2050 title = labelname+
"_hltRecObjPhiResolution;#Phi(HLT)-#Phi(Reco)"+trigPath;
2052 PhiResolution_HLTRecObj->
getTH1();
2054 histoname = labelname+
"_hltRecObjPtCorrelation";
2055 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
2056 MonitorElement * PtCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),
title.c_str(),Ptbins_,PtMin_,PtMax_,Ptbins_,PtMin_,PtMax_);
2057 PtCorrelation_HLTRecObj->
getTH1();
2059 histoname = labelname+
"_hltRecObjPhiCorrelation";
2060 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
2061 MonitorElement * PhiCorrelation_HLTRecObj = iBooker.
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
2062 PhiCorrelation_HLTRecObj->
getTH1();
2090 PhiResolution_L1HLT,
2091 PtResolution_HLTRecObj,
2093 PhiResolution_HLTRecObj,
2094 PtCorrelation_L1HLT,
2096 PhiCorrelation_L1HLT,
2097 PtCorrelation_HLTRecObj,
2099 PhiCorrelation_HLTRecObj,
2119 double PtMax_ = 1000.;
2122 double EtaMin_ = -5.;
2123 double EtaMax_ = 5.;
2126 double PhiMin_ = -3.5;
2127 double PhiMax_ = 3.5;
2136 std::string subdirName = dirName1 + trgPathName +
"_wrt_" + trgPathNameD;
2147 histoname = labelname+
"_NumeratorPt";
2148 title = labelname+
"NumeratorPt;Calo Pt[GeV/c]";
2152 histoname = labelname+
"_NumeratorPtBarrel";
2153 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c] ";
2155 NumeratorPtBarrel->
getTH1();
2157 histoname = labelname+
"_NumeratorPtEndcap";
2158 title = labelname+
"NumeratorPtEndcap;Calo Pt[GeV/c]";
2160 NumeratorPtEndcap->
getTH1();
2162 histoname = labelname+
"_NumeratorPtForward";
2163 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
2165 NumeratorPtForward->
getTH1();
2167 histoname = labelname+
"_NumeratorEta";
2168 title = labelname+
"NumeratorEta;Calo #eta ";
2172 histoname = labelname+
"_NumeratorPhi";
2173 title = labelname+
"NumeratorPhi;Calo #Phi";
2177 histoname = labelname+
"_NumeratorEtaPhi";
2178 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
2179 MonitorElement * NumeratorEtaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2180 NumeratorEtaPhi->
getTH1();
2182 histoname = labelname+
"_NumeratorEtaBarrel";
2183 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
2185 NumeratorEtaBarrel->
getTH1();
2187 histoname = labelname+
"_NumeratorPhiBarrel";
2188 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
2190 NumeratorPhiBarrel->
getTH1();
2192 histoname = labelname+
"_NumeratorEtaEndcap";
2193 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
2195 NumeratorEtaEndcap->
getTH1();
2197 histoname = labelname+
"_NumeratorPhiEndcap";
2198 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
2200 NumeratorPhiEndcap->
getTH1();
2202 histoname = labelname+
"_NumeratorEtaForward";
2203 title = labelname+
"NumeratorEtaForward;Calo #eta ";
2205 NumeratorEtaForward->
getTH1();
2207 histoname = labelname+
"_NumeratorPhiForward";
2208 title = labelname+
"NumeratorPhiForward;Calo #Phi";
2210 NumeratorPhiForward->
getTH1();
2212 histoname = labelname+
"_NumeratorEta_LowpTcut";
2213 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
2215 NumeratorEta_LowpTcut->
getTH1();
2217 histoname = labelname+
"_NumeratorPhi_LowpTcut";
2218 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
2220 NumeratorPhi_LowpTcut->
getTH1();
2222 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
2223 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2224 MonitorElement * NumeratorEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2225 NumeratorEtaPhi_LowpTcut->
getTH1();
2227 histoname = labelname+
"_NumeratorEta_MedpTcut";
2228 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
2230 NumeratorEta_MedpTcut->
getTH1();
2232 histoname = labelname+
"_NumeratorPhi_MedpTcut";
2233 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
2235 NumeratorPhi_MedpTcut->
getTH1();
2237 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
2238 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2239 MonitorElement * NumeratorEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2240 NumeratorEtaPhi_MedpTcut->
getTH1();
2242 histoname = labelname+
"_NumeratorEta_HighpTcut";
2243 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
2245 NumeratorEta_HighpTcut->
getTH1();
2247 histoname = labelname+
"_NumeratorPhi_HighpTcut";
2248 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
2250 NumeratorPhi_HighpTcut->
getTH1();
2252 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
2253 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2254 MonitorElement * NumeratorEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2255 NumeratorEtaPhi_HighpTcut->
getTH1();
2257 histoname = labelname+
"_DenominatorPt";
2258 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
2262 histoname = labelname+
"_DenominatorPtBarrel";
2263 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
2265 DenominatorPtBarrel->
getTH1();
2267 histoname = labelname+
"_DenominatorPtEndcap";
2268 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
2270 DenominatorPtEndcap->
getTH1();
2272 histoname = labelname+
"_DenominatorPtForward";
2273 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c] ";
2275 DenominatorPtForward->
getTH1();
2277 histoname = labelname+
"_DenominatorEta";
2278 title = labelname+
"DenominatorEta;Calo #eta ";
2280 DenominatorEta->
getTH1();
2282 histoname = labelname+
"_DenominatorPhi";
2283 title = labelname+
"DenominatorPhi;Calo #Phi";
2285 DenominatorPhi->
getTH1();
2287 histoname = labelname+
"_DenominatorEtaPhi";
2288 title = labelname+
"DenominatorEtaPhi;Calo #eta; Calo #Phi";
2289 MonitorElement * DenominatorEtaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2290 DenominatorEtaPhi->
getTH1();
2292 histoname = labelname+
"_DenominatorEtaBarrel";
2293 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
2295 DenominatorEtaBarrel->
getTH1();
2297 histoname = labelname+
"_DenominatorPhiBarrel";
2298 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
2300 DenominatorPhiBarrel->
getTH1();
2302 histoname = labelname+
"_DenominatorEtaEndcap";
2303 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
2305 DenominatorEtaEndcap->
getTH1();
2307 histoname = labelname+
"_DenominatorPhiEndcap";
2308 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
2310 DenominatorPhiEndcap->
getTH1();
2312 histoname = labelname+
"_DenominatorEtaForward";
2313 title = labelname+
"DenominatorEtaForward;Calo #eta ";
2315 DenominatorEtaForward->
getTH1();
2317 histoname = labelname+
"_DenominatorPhiForward";
2318 title = labelname+
"DenominatorPhiForward;Calo #Phi";
2320 DenominatorPhiForward->
getTH1();
2322 histoname = labelname+
"_DenominatorEta_LowpTcut";
2323 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
2325 DenominatorEta_LowpTcut->
getTH1();
2327 histoname = labelname+
"_DenominatorPhi_LowpTcut";
2328 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
2330 DenominatorPhi_LowpTcut->
getTH1();
2332 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
2333 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
2334 MonitorElement * DenominatorEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2335 DenominatorEtaPhi_LowpTcut->
getTH1();
2337 histoname = labelname+
"_DenominatorEta_MedpTcut";
2338 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
2340 DenominatorEta_MedpTcut->
getTH1();
2342 histoname = labelname+
"_DenominatorPhi_MedpTcut";
2343 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
2345 DenominatorPhi_MedpTcut->
getTH1();
2347 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
2348 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
2349 MonitorElement * DenominatorEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2350 DenominatorEtaPhi_MedpTcut->
getTH1();
2352 histoname = labelname+
"_DenominatorEta_HighpTcut";
2353 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
2355 DenominatorEta_HighpTcut->
getTH1();
2357 histoname = labelname+
"_DenominatorPhi_HighpTcut";
2358 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
2360 DenominatorPhi_HighpTcut->
getTH1();
2362 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
2363 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
2364 MonitorElement * DenominatorEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2365 DenominatorEtaPhi_HighpTcut->
getTH1();
2367 histoname = labelname+
"_DeltaR";
2368 title = labelname+
"DeltaR;";
2372 histoname = labelname+
"_DeltaPhi";
2373 title = labelname+
"DeltaPhi;";
2377 histoname = labelname+
"_NumeratorPFMHT";
2378 title = labelname+
"NumeratorPFMHT;PFMHT[GeV/c]";
2380 NumeratorPFMHT->
getTH1();
2382 histoname = labelname+
"_NumeratorPFPt";
2383 title = labelname+
"NumeratorPFPt;PF Pt[GeV/c]";
2387 histoname = labelname+
"_NumeratorPFPtBarrel";
2388 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c] ";
2390 NumeratorPFPtBarrel->
getTH1();
2392 histoname = labelname+
"_NumeratorPFPtEndcap";
2393 title = labelname+
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
2395 NumeratorPFPtEndcap->
getTH1();
2397 histoname = labelname+
"_NumeratorPFPtForward";
2398 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
2400 NumeratorPFPtForward->
getTH1();
2402 histoname = labelname+
"_NumeratorPFEta";
2403 title = labelname+
"NumeratorPFEta;PF #eta ";
2405 NumeratorPFEta->
getTH1();
2407 histoname = labelname+
"_NumeratorPFPhi";
2408 title = labelname+
"NumeratorPFPhi;Calo #Phi";
2410 NumeratorPFPhi->
getTH1();
2412 histoname = labelname+
"_NumeratorPFEtaPhi";
2413 title = labelname+
"NumeratorPFEtaPhi;PF #eta;Calo #Phi";
2414 MonitorElement * NumeratorPFEtaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2415 NumeratorPFEtaPhi->
getTH1();
2417 histoname = labelname+
"_NumeratorPFEtaBarrel";
2418 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
2420 NumeratorPFEtaBarrel->
getTH1();
2422 histoname = labelname+
"_NumeratorPFPhiBarrel";
2423 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
2425 NumeratorPFPhiBarrel->
getTH1();
2427 histoname = labelname+
"_NumeratorPFEtaEndcap";
2428 title = labelname+
"NumeratorPFEtaEndcap;Calo #eta ";
2430 NumeratorPFEtaEndcap->
getTH1();
2432 histoname = labelname+
"_NumeratorPFPhiEndcap";
2433 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
2435 NumeratorPFPhiEndcap->
getTH1();
2437 histoname = labelname+
"_NumeratorPFEtaForward";
2438 title = labelname+
"NumeratorPFEtaForward;Calo #eta ";
2440 NumeratorPFEtaForward->
getTH1();
2442 histoname = labelname+
"_NumeratorPFPhiForward";
2443 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
2445 NumeratorPFPhiForward->
getTH1();
2447 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
2448 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
2450 NumeratorPFEta_LowpTcut->
getTH1();
2452 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
2453 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
2455 NumeratorPFPhi_LowpTcut->
getTH1();
2457 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
2458 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2459 MonitorElement * NumeratorPFEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2460 NumeratorPFEtaPhi_LowpTcut->
getTH1();
2462 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
2463 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
2465 NumeratorPFEta_MedpTcut->
getTH1();
2467 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
2468 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
2470 NumeratorPFPhi_MedpTcut->
getTH1();
2472 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
2473 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
2474 MonitorElement * NumeratorPFEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2475 NumeratorPFEtaPhi_MedpTcut->
getTH1();
2477 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
2478 title = labelname+
"NumeratorPFEta_HighpTcut;Calo #eta ";
2480 NumeratorPFEta_HighpTcut->
getTH1();
2482 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
2483 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
2485 NumeratorPFPhi_HighpTcut->
getTH1();
2487 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
2488 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
2489 MonitorElement * NumeratorPFEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2490 NumeratorPFEtaPhi_HighpTcut->
getTH1();
2492 histoname = labelname+
"_DenominatorPFMHT";
2493 title = labelname+
"DenominatorPFMHT;PF Pt[GeV/c]";
2495 DenominatorPFMHT->
getTH1();
2497 histoname = labelname+
"_DenominatorPFPt";
2498 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
2500 DenominatorPFPt->
getTH1();
2502 histoname = labelname+
"_DenominatorPFPtBarrel";
2503 title = labelname+
"DenominatorPFPtBarrel;Calo Pt[GeV/c]";
2505 DenominatorPFPtBarrel->
getTH1();
2507 histoname = labelname+
"_DenominatorPFPtEndcap";
2508 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
2510 DenominatorPFPtEndcap->
getTH1();
2512 histoname = labelname+
"_DenominatorPFPtForward";
2513 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c] ";
2515 DenominatorPFPtForward->
getTH1();
2517 histoname = labelname+
"_DenominatorPFEta";
2518 title = labelname+
"DenominatorPFEta;PF #eta ";
2520 DenominatorPFEta->
getTH1();
2522 histoname = labelname+
"_DenominatorPFPhi";
2523 title = labelname+
"DenominatorPFPhi;PF #Phi";
2525 DenominatorPFPhi->
getTH1();
2527 histoname = labelname+
"_DenominatorPFEtaPhi";
2528 title = labelname+
"DenominatorPFEtaPhi;PF #eta; Calo #Phi";
2529 MonitorElement * DenominatorPFEtaPhi = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2530 DenominatorPFEtaPhi->
getTH1();
2532 histoname = labelname+
"_DenominatorPFEtaBarrel";
2533 title = labelname+
"DenominatorPFEtaBarrel;Calo #eta ";
2535 DenominatorPFEtaBarrel->
getTH1();
2537 histoname = labelname+
"_DenominatorPFPhiBarrel";
2538 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
2540 DenominatorPFPhiBarrel->
getTH1();
2542 histoname = labelname+
"_DenominatorPFEtaEndcap";
2543 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
2545 DenominatorPFEtaEndcap->
getTH1();
2547 histoname = labelname+
"_DenominatorPFPhiEndcap";
2548 title = labelname+
"DenominatorPFPhiEndcap;Calo #Phi";
2550 DenominatorPFPhiEndcap->
getTH1();
2552 histoname = labelname+
"_DenominatorPFEtaForward";
2553 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
2555 DenominatorPFEtaForward->
getTH1();
2557 histoname = labelname+
"_DenominatorPFPhiForward";
2558 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
2560 DenominatorPFPhiForward->
getTH1();
2562 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
2563 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
2565 DenominatorPFEta_LowpTcut->
getTH1();
2567 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
2568 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
2570 DenominatorPFPhi_LowpTcut->
getTH1();
2572 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
2573 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
2574 MonitorElement * DenominatorPFEtaPhi_LowpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2575 DenominatorPFEtaPhi_LowpTcut->
getTH1();
2577 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
2578 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
2580 DenominatorPFEta_MedpTcut->
getTH1();
2582 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
2583 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
2585 DenominatorPFPhi_MedpTcut->
getTH1();
2587 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
2588 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;Calo #Phi";
2589 MonitorElement * DenominatorPFEtaPhi_MedpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2590 DenominatorPFEtaPhi_MedpTcut->
getTH1();
2592 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
2593 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
2595 DenominatorPFEta_HighpTcut->
getTH1();
2597 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
2598 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
2600 DenominatorPFPhi_HighpTcut->
getTH1();
2602 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
2603 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;Calo #Phi";
2604 MonitorElement * DenominatorPFEtaPhi_HighpTcut = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
2605 DenominatorPFEtaPhi_HighpTcut->
getTH1();
2607 histoname = labelname+
"_PFDeltaR";
2608 title = labelname+
"PFDeltaR;";
2612 histoname = labelname+
"_PFDeltaPhi";
2613 title = labelname+
"PFDeltaPhi;";
2617 v.setEffHistos(NumeratorPt,
2629 NumeratorEtaForward,
2630 NumeratorPhiForward,
2631 NumeratorEta_LowpTcut,
2632 NumeratorPhi_LowpTcut,
2633 NumeratorEtaPhi_LowpTcut,
2634 NumeratorEta_MedpTcut,
2635 NumeratorPhi_MedpTcut,
2636 NumeratorEtaPhi_MedpTcut,
2637 NumeratorEta_HighpTcut,
2638 NumeratorPhi_HighpTcut,
2639 NumeratorEtaPhi_HighpTcut,
2642 DenominatorPtBarrel,
2643 DenominatorPtEndcap,
2644 DenominatorPtForward,
2649 DenominatorEtaBarrel,
2650 DenominatorPhiBarrel,
2651 DenominatorEtaEndcap,
2652 DenominatorPhiEndcap,
2653 DenominatorEtaForward,
2654 DenominatorPhiForward,
2655 DenominatorEta_LowpTcut,
2656 DenominatorPhi_LowpTcut,
2657 DenominatorEtaPhi_LowpTcut,
2658 DenominatorEta_MedpTcut,
2659 DenominatorPhi_MedpTcut,
2660 DenominatorEtaPhi_MedpTcut,
2661 DenominatorEta_HighpTcut,
2662 DenominatorPhi_HighpTcut,
2663 DenominatorEtaPhi_HighpTcut,
2669 NumeratorPFPtBarrel,
2670 NumeratorPFPtEndcap,
2671 NumeratorPFPtForward,
2675 NumeratorPFEtaBarrel,
2676 NumeratorPFPhiBarrel,
2677 NumeratorPFEtaEndcap,
2678 NumeratorPFPhiEndcap,
2679 NumeratorPFEtaForward,
2680 NumeratorPFPhiForward,
2681 NumeratorPFEta_LowpTcut,
2682 NumeratorPFPhi_LowpTcut,
2683 NumeratorPFEtaPhi_LowpTcut,
2684 NumeratorPFEta_MedpTcut,
2685 NumeratorPFPhi_MedpTcut,
2686 NumeratorPFEtaPhi_MedpTcut,
2687 NumeratorPFEta_HighpTcut,
2688 NumeratorPFPhi_HighpTcut,
2689 NumeratorPFEtaPhi_HighpTcut,
2692 DenominatorPFPtBarrel,
2693 DenominatorPFPtEndcap,
2694 DenominatorPFPtForward,
2697 DenominatorPFEtaPhi,
2698 DenominatorPFEtaBarrel,
2699 DenominatorPFPhiBarrel,
2700 DenominatorPFEtaEndcap,
2701 DenominatorPFPhiEndcap,
2702 DenominatorPFEtaForward,
2703 DenominatorPFPhiForward,
2704 DenominatorPFEta_LowpTcut,
2705 DenominatorPFPhi_LowpTcut,
2706 DenominatorPFEtaPhi_LowpTcut,
2707 DenominatorPFEta_MedpTcut,
2708 DenominatorPFPhi_MedpTcut,
2709 DenominatorPFEtaPhi_MedpTcut,
2710 DenominatorPFEta_HighpTcut,
2711 DenominatorPFPhi_HighpTcut,
2712 DenominatorPFEtaPhi_HighpTcut,
2721 histoname = labelname+
"_NumeratorAvrgPt";
2722 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c]";
2726 histoname = labelname+
"_NumeratorAvrgEta";
2727 title = labelname+
"NumeratorAvrgEta;Calo #eta";
2731 histoname = labelname+
"_DenominatorAvrgPt";
2732 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
2736 histoname = labelname+
"_DenominatorAvrgEta";
2737 title = labelname+
"DenominatorAvrgEta;Calo #eta";
2739 DenominatorEta->
getTH1();
2741 histoname = labelname+
"_DeltaR";
2742 title = labelname+
"DeltaR;";
2746 histoname = labelname+
"_DeltaPhi";
2747 title = labelname+
"DeltaPhi;";
2752 histoname = labelname+
"_NumeratorAvrgPFPt";
2753 title = labelname+
"NumeratorAvrgPFPt;PF Pt[GeV/c]";
2757 histoname = labelname+
"_NumeratorAvrgPFEta";
2758 title = labelname+
"NumeratorAvrgPFEta;PF #eta";
2760 NumeratorPFEta->
getTH1();
2762 histoname = labelname+
"_DenominatorAvrgPFPt";
2763 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
2765 DenominatorPFPt->
getTH1();
2767 histoname = labelname+
"_DenominatorAvrgPFEta";
2768 title = labelname+
"DenominatorAvrgPFEta;PF #eta";
2770 DenominatorPFEta->
getTH1();
2772 histoname = labelname+
"_PFDeltaR";
2773 title = labelname+
"PFDeltaR;";
2777 histoname = labelname+
"_PFDeltaPhi";
2778 title = labelname+
"PFDeltaPhi;";
2782 v.setEffHistos( dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2783 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2784 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2785 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2786 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2787 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2788 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2789 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2790 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2791 dummy, dummy, dummy, dummy
2797 histoname = labelname+
"_NumeratorPt";
2798 if(
v.getPath().find(
"HLT_PFMET")==std::string::npos)
2799 title = labelname+
"NumeratorPt; CaloMET[GeV/c]";
2801 title = labelname+
"NumeratorPt; PFMET[GeV/c]";
2805 histoname = labelname+
"_NumeratorPhi";
2806 title = labelname+
"NumeratorPhi; #Phi";
2810 histoname = labelname+
"_DenominatorPt";
2811 if(
v.getPath().find(
"HLT_PFMET")==std::string::npos)
2812 title = labelname+
"DenominatorPt; CaloMET[GeV/c]";
2814 title = labelname+
"DenominatorPt; PFMET[GeV/c]";
2818 histoname = labelname+
"_DenominatorPhi";
2819 title = labelname+
"DenominatorPhi; #Phi";
2821 DenominatorPhi->
getTH1();
2823 v.setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
2824 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2825 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, dummy, dummy,
2826 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2827 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2828 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2829 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2830 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2831 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
2832 dummy, dummy, dummy, dummy
2847 double PtMax_ = 1000.;
2848 double EtaMin_ = -5.;
2849 double EtaMax_ = 5.;
2850 double PhiMin_ = -3.14159;
2851 double PhiMax_ = 3.14159;
2856 for(
auto &
v : hltPathsAll_){
2866 histoname = labelname+
"_TriggerSummary";
2867 title = labelname+
"Summary of trigger levels";
2870 std::vector<std::string>
trigger;
2871 trigger.emplace_back(
"Nevt");
2872 trigger.emplace_back(
"L1 failed");
2873 trigger.emplace_back(
"L1 & HLT failed");
2874 trigger.emplace_back(
"L1 failed but not HLT");
2875 trigger.emplace_back(
"L1 passed");
2876 trigger.emplace_back(
"L1 & HLT passed");
2877 trigger.emplace_back(
"L1 passed but not HLT");
2879 for(
unsigned int i =0;
i < trigger.size();
i++)
2882 if((
v.getTriggerType() ==
"SingleJet_Trigger")){
2883 histoname = labelname+
"_JetPt";
2884 title = labelname+
"Leading jet pT;Pt[GeV/c]";
2888 histoname = labelname+
"_JetEtaVsPt";
2889 title = labelname+
"Leading jet #eta vs pT;#eta;Pt[GeV/c]";
2890 MonitorElement * JetEtaVsPt = iBooker.
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Ptbins_,PtMin_,PtMax_);
2893 histoname = labelname+
"_JetPhiVsPt";
2894 title = labelname+
"Leading jet #Phi vs pT;#Phi;Pt[GeV/c]";
2895 MonitorElement * JetPhiVsPt = iBooker.
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Ptbins_,PtMin_,PtMax_);
2898 v.setDgnsHistos( TriggerSummary, dummy, JetPt, JetEtaVsPt, JetPhiVsPt, dummy, dummy, dummy, dummy, dummy, dummy);
2901 if((
v.getTriggerType() ==
"DiJet_Trigger")){
2902 histoname = labelname+
"_JetSize";
2903 title = labelname+
"Jet Size;multiplicity";
2907 histoname = labelname+
"_AvergPt";
2908 title = labelname+
"Average Pt;Pt[GeV/c]";
2912 histoname = labelname+
"_AvergEta";
2913 title = labelname+
"Average Eta;#eta";
2917 histoname = labelname+
"_PhiDifference";
2918 title = labelname+
"#Delta#Phi;#Delta#Phi";
2922 histoname = labelname+
"_Pt3Jet";
2923 title = labelname+
"Pt of 3rd Jet;Pt[GeV/c]";
2927 histoname = labelname+
"_Pt12VsPt3Jet";
2928 title = labelname+
"Pt of 3rd Jet vs Average Pt of leading jets;Avergage Pt[GeV/c]; Pt of 3rd Jet [GeV/c]";
2932 histoname = labelname+
"_Pt12VsPhi12";
2933 title = labelname+
"Average Pt of leading jets vs #Delta#Phi between leading jets;Avergage Pt[GeV/c]; #Delta#Phi";
2934 MonitorElement * Pt12Phi12 = iBooker.
book2D(histoname.c_str(),
title.c_str(),Ptbins_,PtMin_,PtMax_,Phibins_,PhiMin_,PhiMax_);
2937 v.setDgnsHistos( TriggerSummary, JetSize, dummy, dummy, dummy, Pt12, Eta12, Phi12, Pt3, Pt12Pt3, Pt12Phi12);
2940 if((
v.getTriggerType() ==
"MET_Trigger")){
2941 histoname = labelname+
"_MET";
2942 title = labelname+
"MET;Pt[GeV/c]";
2946 v.setDgnsHistos(TriggerSummary, dummy, MET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
2949 if((
v.getTriggerType() ==
"TET_Trigger")){
2950 histoname = labelname+
"_TET";
2951 title = labelname+
"TET;Pt[GeV/c]";
2955 v.setDgnsHistos(TriggerSummary, dummy, TET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
PathInfoCollection hltPathsAllTriggerSummary_
static const std::string removeVersion(const std::string &trigger)
MonitorElement * NVertices
void setCurrentFolder(std::string const &fullpath)
MonitorElement * correlation_AllWrtMu
MonitorElement * book1D(Args &&...args)
MonitorElement * book2D(Args &&...args)
PathInfoCollection hltPathsAll_
MonitorElement * correlation_AllWrtMB
MonitorElement * correlation_All
MonitorElement * rate_AllWrtMB
MonitorElement * bookFloat(Args &&...args)
MonitorElement * rate_AllWrtMu
MonitorElement * rate_All
PathInfoCollection hltPathsEff_