2704 LogDebug(
"HLTJetMETDQMSource") <<
"HLTConfigProvider failed to initialize.";
2720 for (
unsigned int i=0;
i!=
n; ++
i) {
2721 bool denomFound =
false;
2722 bool numFound =
false;
2723 bool mbFound =
false;
2724 bool muFound =
false;
2730 std::vector<std::string>::const_iterator controlPathname =
pathFilter_.begin();
2731 for(;controlPathname!=
pathFilter_.end(); ++controlPathname){
2732 if(pathname.find((*controlPathname)) != std::string::npos){
2737 if(checkPath==
false)
continue;
2740 std::vector<std::string>::const_iterator rejectPathname =
pathRejectKeyword_.begin();
2742 if(pathname.find((*rejectPathname)) != std::string::npos){
2747 if(checkPath==
false)
continue;
2755 unsigned int usedPrescale = 1;
2756 unsigned int objectType = 0;
2761 if(pathname.find(
"Jet") != std::string::npos
2762 && !(pathname.find(
"DoubleJet") != std::string::npos)
2763 && !(pathname.find(
"DiJet") != std::string::npos)
2764 && !(pathname.find(
"DiPFJet") != std::string::npos)
2765 && !(pathname.find(
"BTag") != std::string::npos)
2766 && !(pathname.find(
"Mu") != std::string::npos)
2767 && !(pathname.find(
"Fwd") != std::string::npos)){
2768 triggerType =
"SingleJet_Trigger";
2771 if(pathname.find(
"DiJet") != std::string::npos
2772 || pathname.find(
"DiPFJet") != std::string::npos
2773 || pathname.find(
"DoubleJet") != std::string::npos){
2774 triggerType =
"DiJet_Trigger";
2777 if(pathname.find(
"MET") != std::string::npos){
2778 triggerType =
"MET_Trigger";
2781 if(pathname.find(
"HT") != std::string::npos) {
2782 triggerType =
"TET_Trigger";
2788 && !(pathname.find(
"DiJet") != std::string::npos)
2789 && !(pathname.find(
"DiPFJet") != std::string::npos)
2790 && !(pathname.find(
"DoubleJet") != std::string::npos)){
2796 && ((pathname.find(
"DiJet") != std::string::npos)
2797 || (pathname.find(
"DiPFJet") != std::string::npos))){
2818 for (
unsigned int i=0;
i!=
n; ++
i){
2820 if(HLTname == pathname) numFound =
true;
2821 if(HLTname == dpathname) denomFound =
true;
2822 if(HLTname.find(
MBTrigPaths_[0]) != std::string::npos) mbFound =
true;
2823 if(HLTname.find(
MuonTrigPaths_[0]) != std::string::npos) muFound =
true;
2833 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2842 filtername = *numpathmodule;
2858 if(objectType != 0 && denomFound){
2860 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2869 Denomfiltername = *numpathmodule;
2873 if(objectType != 0 && numFound){
2875 cout<<
"=Pathname= "<<pathname
2876 <<
" | =Denompath= "<<dpathname
2877 <<
" | =Filtername= "<<filtername
2878 <<
" | =Denomfiltername= "<<Denomfiltername
2879 <<
" | =L1pathname= "<<l1pathname
2880 <<
" | =ObjectType= "<<objectType<<endl;
2881 if(!((pathname.find(
"HT") != std::string::npos) || (pathname.find(
"Quad") != std::string::npos))){
2882 hltPathsAll_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname, filtername, Denomfiltername,
processname_, objectType, triggerType));
2883 if(muFound)
hltPathsAllWrtMu_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2884 filtername, Denomfiltername,
processname_, objectType, triggerType));
2885 if(muFound)
hltPathsEffWrtMu_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2886 filtername, Denomfiltername,
processname_, objectType, triggerType));
2887 if(mbFound)
hltPathsEffWrtMB_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2888 filtername, Denomfiltername,
processname_, objectType, triggerType));
2890 filtername, Denomfiltername,
processname_, objectType, triggerType));
2893 filtername, Denomfiltername,
processname_, objectType, triggerType));
2897 if (
verbose_)
cout <<
"get names for efficicncy------------------"<< endl;
2902 unsigned int usedPrescale = 1;
2903 unsigned int objectType = 0;
2907 for (std::vector<std::pair<std::string, std::string> >::iterator custompathnamepair =
custompathnamepairs_.begin();
2910 std::string dpathname = custompathnamepair->second;
2911 bool numFound =
false;
2912 bool denomFound =
false;
2914 for (
unsigned int i=0;
i!=
n; ++
i) {
2916 if(HLTname.find(pathname)!=std::string::npos){numFound =
true; pathname = HLTname;}
2917 if(HLTname.find(dpathname)!=std::string::npos){denomFound =
true; dpathname = HLTname;}
2919 if(numFound && denomFound){
2920 if (pathname.find(
"Jet") != std::string::npos
2921 && !(pathname.find(
"DiJet") != std::string::npos)
2922 && !(pathname.find(
"DiPFJet") != std::string::npos)
2923 && !(pathname.find(
"DoubleJet") != std::string::npos)
2924 && !(pathname.find(
"BTag") != std::string::npos)
2925 && !(pathname.find(
"Mu") != std::string::npos)
2926 && !(pathname.find(
"Fwd") != std::string::npos)){
2927 triggerType =
"SingleJet_Trigger";
2930 if (pathname.find(
"DiJet") != std::string::npos
2931 || pathname.find(
"DiPFJet") != std::string::npos
2932 || pathname.find(
"DoubleJet") != std::string::npos ){
2933 triggerType =
"DiJet_Trigger";
2936 if (pathname.find(
"MET") != std::string::npos ){
2937 triggerType =
"MET_Trigger";
2940 if (pathname.find(
"TET") != std::string::npos ){
2941 triggerType =
"TET_Trigger";
2947 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2956 filtername = *numpathmodule;
2959 if(objectType != 0){
2961 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2970 Denomfiltername = *numpathmodule;
2974 <<
"==denompath=="<<dpathname
2975 <<
"==filtername=="<<filtername
2976 <<
"==denomfiltername=="<<Denomfiltername
2977 <<
"==l1pathname=="<<l1pathname
2978 <<
"==objectType=="<<objectType<<endl;
2979 hltPathsEff_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2980 filtername, Denomfiltername,
processname_, objectType, triggerType));
2986 if(
verbose_)
cout<<
"== end hltPathsEff_.push_back ======" << endl;
2996 double TrigMin_ = -0.5;
3001 rate_All =
dbe->
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
3003 histonm =
"JetMET_TriggerRate_Correlation";
3004 histot =
"JetMET TriggerRate Correlation Summary;y&&!x;x&&y";
3005 correlation_All =
dbe->
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
3007 histonm =
"JetMET_NVertices";
3008 histot =
"No. of vertices";
3011 histonm =
"JetMET_PVZ";
3012 histot =
"Primary Vertex Z pos";
3013 PVZ =
dbe->
book1D(histonm.c_str(),histot.c_str(),100,-50.,50.);
3016 histonm=
"JetMET_TriggerRate_WrtMuTrigger";
3017 histot=
"JetMET TriggerRate Summary Wrt Muon Trigger ";
3020 histonm=
"JetMET_TriggerRate_Correlation_WrtMuTrigger";
3021 histot=
"JetMET TriggerRate Correlation Summary Wrt Muon Trigger;y&&!x;x&&y";
3024 histonm=
"JetMET_TriggerRate_WrtMBTrigger";
3025 histot=
"JetMET TriggerRate Summary Wrt MB Trigger";
3028 histonm=
"JetMET_TriggerRate_Correlation_WrtMBTrigger";
3029 histot=
"JetMET TriggerRate Correlation Wrt MB Trigger;y&&!x;x&&y";
3038 labelnm =
v->getPath();
3040 for(
int ibin=1; ibin<nbins+1; ibin++){
3041 const char * binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
3043 if(binLabel_str.compare(labelnm)==0)
break;
3044 if(binLabel[0]==
'\0'){
3071 double PtMax_ = 1000.;
3075 double EtaMin_ = -5.;
3076 double EtaMax_ = 5.;
3079 double PhiMin_ = -3.5;
3080 double PhiMax_ = 3.5;
3083 double ResMin_ = -1.5;
3084 double ResMax_ = 1.5;
3101 if(
v->getObjectType() ==
trigger::TriggerJet &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
3103 histoname = labelname+
"_recObjN";
3104 title = labelname+
"_recObjN;Reco multiplicity()"+trigPath;
3108 histoname = labelname+
"_recObjPt";
3109 title = labelname+
"_recObjPt; Reco Pt[GeV/c]"+trigPath;
3113 histoname = labelname+
"_recObjPtBarrel";
3114 title = labelname+
"_recObjPtBarrel;Reco Pt[GeV/c]"+trigPath;
3118 histoname = labelname+
"_recObjPtEndcap";
3119 title = labelname+
"_recObjPtEndcap;Reco Pt[GeV/c]"+trigPath;
3123 histoname = labelname+
"_recObjPtForward";
3124 title = labelname+
"_recObjPtForward;Reco Pt[GeV/c]"+trigPath;
3128 histoname = labelname+
"_recObjEta";
3129 title = labelname+
"_recObjEta;Reco #eta"+trigPath;
3133 histoname = labelname+
"_recObjPhi";
3134 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3138 histoname = labelname+
"_recObjEtaPhi";
3139 title = labelname+
"_recObjEtaPhi;Reco #eta;Reco #Phi"+trigPath;
3143 histoname = labelname+
"_l1ObjPt";
3144 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3148 histoname = labelname+
"_l1ObjEta";
3149 title = labelname+
"_l1ObjEta;L1 #eta"+trigPath;
3153 histoname = labelname+
"_l1ObjPhi";
3154 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3158 histoname = labelname+
"_l1ObjEtaPhi";
3159 title = labelname+
"_l1ObjEtaPhi;L1 #eta;L1 #Phi"+trigPath;
3163 histoname = labelname+
"_l1ObjN";
3164 title = labelname+
"_l1ObjN;L1 multiplicity"+trigPath;
3168 histoname = labelname+
"_l1ObjPtBarrel";
3169 title = labelname+
"_l1ObjPtBarrel;L1 Pt[GeV/c]"+trigPath;
3173 histoname = labelname+
"_l1ObjPtEndcap";
3174 title = labelname+
"_l1ObjPtEndcap;L1 Pt[GeV/c]"+trigPath;
3178 histoname = labelname+
"_l1ObjPtForward";
3179 title = labelname+
"_l1ObjPtForward;L1 Pt[GeV/c]"+trigPath;
3183 histoname = labelname+
"_hltObjN";
3184 title = labelname+
"_hltObjN;HLT multiplicity"+trigPath;
3188 histoname = labelname+
"_hltObjPtBarrel";
3189 title = labelname+
"_hltObjPtBarrel;HLT Pt[GeV/c]"+trigPath;
3193 histoname = labelname+
"_hltObjPtEndcap";
3194 title = labelname+
"_hltObjPtEndcap;HLT Pt[GeV/c]"+trigPath;
3198 histoname = labelname+
"_hltObjPtForward";
3199 title = labelname+
"_hltObjPtForward;HLT Pt[GeV/c]"+trigPath;
3203 histoname = labelname+
"_hltObjPt";
3204 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3208 histoname = labelname+
"_hltObjEta";
3209 title = labelname+
"_hltObjEta;HLT #eta"+trigPath;
3213 histoname = labelname+
"_hltObjPhi";
3214 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3218 histoname = labelname+
"_hltObjEtaPhi";
3219 title = labelname+
"_hltObjEtaPhi;HLT #eta;HLT #Phi"+trigPath;
3223 histoname = labelname+
"_l1HLTPtResolution";
3224 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3226 PtResolution_L1HLT->
getTH1();
3228 histoname = labelname+
"_l1HLTEtaResolution";
3229 title = labelname+
"_l1HLTEtaResolution;(#eta(L1)-#eta(HLT))/#eta(L1)"+trigPath;
3231 EtaResolution_L1HLT->
getTH1();
3233 histoname = labelname+
"_l1HLTPhiResolution";
3234 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3236 PhiResolution_L1HLT->
getTH1();
3238 histoname = labelname+
"_l1HLTPtCorrelation";
3239 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3241 PtCorrelation_L1HLT->
getTH1();
3243 histoname = labelname+
"_l1HLTEtaCorrelation";
3244 title = labelname+
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)"+trigPath;
3245 MonitorElement * EtaCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3246 EtaCorrelation_L1HLT->
getTH1();
3248 histoname = labelname+
"_l1HLTPhiCorrelation";
3249 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3250 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3251 PhiCorrelation_L1HLT->
getTH1();
3253 histoname = labelname+
"_hltRecObjPtResolution";
3254 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3256 PtResolution_HLTRecObj->
getTH1();
3258 histoname = labelname+
"_hltRecObjEtaResolution";
3259 title = labelname+
"_hltRecObjEtaResolution;(#eta(HLT)-#eta(Reco))/#eta(HLT)"+trigPath;
3261 EtaResolution_HLTRecObj->
getTH1();
3263 histoname = labelname+
"_hltRecObjPhiResolution";
3264 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3266 PhiResolution_HLTRecObj->
getTH1();
3268 histoname = labelname+
"_hltRecObjPtCorrelation";
3269 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3271 PtCorrelation_HLTRecObj->
getTH1();
3273 histoname = labelname+
"_hltRecObjEtaCorrelation";
3274 title = labelname+
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)"+trigPath;
3275 MonitorElement * EtaCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3276 EtaCorrelation_HLTRecObj->
getTH1();
3278 histoname = labelname+
"_hltRecObjPhiCorrelation";
3279 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3280 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3281 PhiCorrelation_HLTRecObj->
getTH1();
3308 EtaResolution_L1HLT,
3309 PhiResolution_L1HLT,
3310 PtResolution_HLTRecObj,
3311 EtaResolution_HLTRecObj,
3312 PhiResolution_HLTRecObj,
3313 PtCorrelation_L1HLT,
3314 EtaCorrelation_L1HLT,
3315 PhiCorrelation_L1HLT,
3316 PtCorrelation_HLTRecObj,
3317 EtaCorrelation_HLTRecObj,
3318 PhiCorrelation_HLTRecObj,
3333 histoname = labelname+
"_RecObjAveragePt";
3334 title = labelname+
"_RecObjAveragePt;Reco Average Pt[GeV/c]"+trigPath;
3338 histoname = labelname+
"_RecObjAverageEta";
3339 title = labelname+
"_RecObjAverageEta;Reco Average #eta"+trigPath;
3343 histoname = labelname+
"_RecObjPhiDifference";
3344 title = labelname+
"_RecObjPhiDifference;Reco #Delta#Phi"+trigPath;
3346 jetPhiDifference->
getTH1();
3348 histoname = labelname+
"_hltObjAveragePt";
3349 title = labelname+
"_hltObjAveragePt;HLT Average Pt[GeV/c]"+trigPath;
3353 histoname = labelname+
"_hltObjAverageEta";
3354 title = labelname+
"_hltObjAverageEta;HLT Average #eta"+trigPath;
3358 histoname = labelname+
"_hltObjPhiDifference";
3359 title = labelname+
"_hltObjPhiDifference;Reco #Delta#Phi"+trigPath;
3361 hltPhiDifference->
getTH1();
3413 histoname = labelname+
"_recObjPt";
3414 title = labelname+
"_recObjPt;Reco Pt[GeV/c]"+trigPath;
3418 histoname = labelname+
"_recObjPhi";
3419 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3423 histoname = labelname+
"_l1ObjPt";
3424 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3428 histoname = labelname+
"_l1ObjPhi";
3429 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3433 histoname = labelname+
"_hltObjPt";
3434 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3438 histoname = labelname+
"_hltObjPhi";
3439 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3443 histoname = labelname+
"_l1HLTPtResolution";
3444 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3446 PtResolution_L1HLT->
getTH1();
3448 histoname = labelname+
"_l1HLTPhiResolution";
3449 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3451 PhiResolution_L1HLT->
getTH1();
3453 histoname = labelname+
"_l1HLTPtCorrelation";
3454 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3456 PtCorrelation_L1HLT->
getTH1();
3458 histoname = labelname+
"_l1HLTPhiCorrelation";
3459 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3460 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3461 PhiCorrelation_L1HLT->
getTH1();
3463 histoname = labelname+
"_hltRecObjPtResolution";
3464 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3466 PtResolution_HLTRecObj->
getTH1();
3468 histoname = labelname+
"_hltRecObjPhiResolution";
3469 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3471 PhiResolution_HLTRecObj->
getTH1();
3473 histoname = labelname+
"_hltRecObjPtCorrelation";
3474 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3476 PtCorrelation_HLTRecObj->
getTH1();
3478 histoname = labelname+
"_hltRecObjPhiCorrelation";
3479 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3480 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3481 PhiCorrelation_HLTRecObj->
getTH1();
3509 PhiResolution_L1HLT,
3510 PtResolution_HLTRecObj,
3512 PhiResolution_HLTRecObj,
3513 PtCorrelation_L1HLT,
3515 PhiCorrelation_L1HLT,
3516 PtCorrelation_HLTRecObj,
3518 PhiCorrelation_HLTRecObj,
3541 double PtMax_ = 1000.;
3544 double EtaMin_ = -5.;
3545 double EtaMax_ = 5.;
3548 double PhiMin_ = -3.5;
3549 double PhiMax_ = 3.5;
3552 double ResMin_ = -1.5;
3553 double ResMax_ = 1.5;
3571 if(
v->getObjectType() ==
trigger::TriggerJet &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
3573 histoname = labelname+
"_recObjN";
3574 title = labelname+
"_recObjN;Reco multiplicity()"+trigPath;
3578 histoname = labelname+
"_recObjPt";
3579 title = labelname+
"_recObjPt; Reco Pt[GeV/c]"+trigPath;
3583 histoname = labelname+
"_recObjPtBarrel";
3584 title = labelname+
"_recObjPtBarrel;Reco Pt[GeV/c]"+trigPath;
3588 histoname = labelname+
"_recObjPtEndcap";
3589 title = labelname+
"_recObjPtEndcap;Reco Pt[GeV/c]"+trigPath;
3593 histoname = labelname+
"_recObjPtForward";
3594 title = labelname+
"_recObjPtForward;Reco Pt[GeV/c]"+trigPath;
3598 histoname = labelname+
"_recObjEta";
3599 title = labelname+
"_recObjEta;Reco #eta"+trigPath;
3603 histoname = labelname+
"_recObjPhi";
3604 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3608 histoname = labelname+
"_recObjEtaPhi";
3609 title = labelname+
"_recObjEtaPhi;Reco #eta;Reco #Phi"+trigPath;
3613 histoname = labelname+
"_l1ObjN";
3614 title = labelname+
"_l1ObjN;L1 multiplicity"+trigPath;
3618 histoname = labelname+
"_l1ObjPt";
3619 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3623 histoname = labelname+
"_l1ObjPtBarrel";
3624 title = labelname+
"_l1ObjPtBarrel;L1 Pt[GeV/c]"+trigPath;
3628 histoname = labelname+
"_l1ObjPtEndcap";
3629 title = labelname+
"_l1ObjPtEndcap;L1 Pt[GeV/c]"+trigPath;
3633 histoname = labelname+
"_l1ObjPtForward";
3634 title = labelname+
"_l1ObjPtForward;L1 Pt[GeV/c]"+trigPath;
3638 histoname = labelname+
"_l1ObjEta";
3639 title = labelname+
"_l1ObjEta;L1 #eta"+trigPath;
3643 histoname = labelname+
"_l1ObjPhi";
3644 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3648 histoname = labelname+
"_l1ObjEtaPhi";
3649 title = labelname+
"_l1ObjEtaPhi;L1 #eta;L1 #Phi"+trigPath;
3653 histoname = labelname+
"_hltObjN";
3654 title = labelname+
"_hltObjN;HLT multiplicity"+trigPath;
3658 histoname = labelname+
"_hltObjPt";
3659 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3663 histoname = labelname+
"_hltObjPtBarrel";
3664 title = labelname+
"_hltObjPtBarrel;HLT Pt[GeV/c]"+trigPath;
3668 histoname = labelname+
"_hltObjPtEndcap";
3669 title = labelname+
"_hltObjPtEndcap;HLT Pt[GeV/c]"+trigPath;
3673 histoname = labelname+
"_hltObjPtForward";
3674 title = labelname+
"_hltObjPtForward;HLT Pt[GeV/c]"+trigPath;
3678 histoname = labelname+
"_hltObjEta";
3679 title = labelname+
"_hltObjEta;HLT #eta"+trigPath;
3683 histoname = labelname+
"_hltObjPhi";
3684 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3688 histoname = labelname+
"_hltObjEtaPhi";
3689 title = labelname+
"_hltObjEtaPhi;HLT #eta;HLT #Phi"+trigPath;
3693 histoname = labelname+
"_l1HLTPtResolution";
3694 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3696 PtResolution_L1HLT->
getTH1();
3698 histoname = labelname+
"_l1HLTEtaResolution";
3699 title = labelname+
"_l1HLTEtaResolution;(#eta(L1)-#eta(HLT))/#eta(L1)"+trigPath;
3701 EtaResolution_L1HLT->
getTH1();
3703 histoname = labelname+
"_l1HLTPhiResolution";
3704 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3706 PhiResolution_L1HLT->
getTH1();
3708 histoname = labelname+
"_l1HLTPtCorrelation";
3709 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3711 PtCorrelation_L1HLT->
getTH1();
3713 histoname = labelname+
"_l1HLTEtaCorrelation";
3714 title = labelname+
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)"+trigPath;
3715 MonitorElement * EtaCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3716 EtaCorrelation_L1HLT->
getTH1();
3718 histoname = labelname+
"_l1HLTPhiCorrelation";
3719 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3720 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3721 PhiCorrelation_L1HLT->
getTH1();
3723 histoname = labelname+
"_hltRecObjPtResolution";
3724 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3726 PtResolution_HLTRecObj->
getTH1();
3728 histoname = labelname+
"_hltRecObjEtaResolution";
3729 title = labelname+
"_hltRecObjEtaResolution;(#eta(HLT)-#eta(Reco))/#eta(HLT)"+trigPath;
3731 EtaResolution_HLTRecObj->
getTH1();
3733 histoname = labelname+
"_hltRecObjPhiResolution";
3734 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3736 PhiResolution_HLTRecObj->
getTH1();
3738 histoname = labelname+
"_hltRecObjPtCorrelation";
3739 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3741 PtCorrelation_HLTRecObj->
getTH1();
3743 histoname = labelname+
"_hltRecObjEtaCorrelation";
3744 title = labelname+
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)"+trigPath;
3745 MonitorElement * EtaCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3746 EtaCorrelation_HLTRecObj->
getTH1();
3748 histoname = labelname+
"_hltRecObjPhiCorrelation";
3749 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3750 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3751 PhiCorrelation_HLTRecObj->
getTH1();
3778 EtaResolution_L1HLT,
3779 PhiResolution_L1HLT,
3780 PtResolution_HLTRecObj,
3781 EtaResolution_HLTRecObj,
3782 PhiResolution_HLTRecObj,
3783 PtCorrelation_L1HLT,
3784 EtaCorrelation_L1HLT,
3785 PhiCorrelation_L1HLT,
3786 PtCorrelation_HLTRecObj,
3787 EtaCorrelation_HLTRecObj,
3788 PhiCorrelation_HLTRecObj,
3803 histoname = labelname+
"_RecObjAveragePt";
3804 title = labelname+
"_RecObjAveragePt;Reco Average Pt[GeV/c]"+trigPath;
3808 histoname = labelname+
"_RecObjAverageEta";
3809 title = labelname+
"_RecObjAverageEta;Reco Average #eta"+trigPath;
3813 histoname = labelname+
"_RecObjPhiDifference";
3814 title = labelname+
"_RecObjPhiDifference;Reco #Delta#Phi"+trigPath;
3816 jetPhiDifference->
getTH1();
3818 histoname = labelname+
"_hltObjAveragePt";
3819 title = labelname+
"_hltObjAveragePt;HLT Average Pt[GeV/c]"+trigPath;
3823 histoname = labelname+
"_hltObjAverageEta";
3824 title = labelname+
"_hltObjAverageEta;HLT Average #eta"+trigPath;
3828 histoname = labelname+
"_hltObjPhiDifference";
3829 title = labelname+
"_hltObjPhiDifference;Reco #Delta#Phi"+trigPath;
3831 hltPhiDifference->
getTH1();
3883 histoname = labelname+
"_recObjPt";
3884 title = labelname+
"_recObjPt;Reco Pt[GeV/c]"+trigPath;
3888 histoname = labelname+
"_recObjPhi";
3889 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3893 histoname = labelname+
"_l1ObjPt";
3894 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3898 histoname = labelname+
"_l1ObjPhi";
3899 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3903 histoname = labelname+
"_hltObjPt";
3904 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3908 histoname = labelname+
"_hltObjPhi";
3909 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3913 histoname = labelname+
"_l1HLTPtResolution";
3914 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3916 PtResolution_L1HLT->
getTH1();
3918 histoname = labelname+
"_l1HLTPhiResolution";
3919 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3921 PhiResolution_L1HLT->
getTH1();
3923 histoname = labelname+
"_l1HLTPtCorrelation";
3924 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3926 PtCorrelation_L1HLT->
getTH1();
3928 histoname = labelname+
"_l1HLTPhiCorrelation";
3929 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3930 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3931 PhiCorrelation_L1HLT->
getTH1();
3933 histoname = labelname+
"_hltRecObjPtResolution";
3934 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3936 PtResolution_HLTRecObj->
getTH1();
3938 histoname = labelname+
"_hltRecObjPhiResolution";
3939 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3941 PhiResolution_HLTRecObj->
getTH1();
3943 histoname = labelname+
"_hltRecObjPtCorrelation";
3944 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3946 PtCorrelation_HLTRecObj->
getTH1();
3948 histoname = labelname+
"_hltRecObjPhiCorrelation";
3949 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3950 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3951 PhiCorrelation_HLTRecObj->
getTH1();
3979 PhiResolution_L1HLT,
3980 PtResolution_HLTRecObj,
3982 PhiResolution_HLTRecObj,
3983 PtCorrelation_L1HLT,
3985 PhiCorrelation_L1HLT,
3986 PtCorrelation_HLTRecObj,
3988 PhiCorrelation_HLTRecObj,
4008 double PtMax_ = 1000.;
4011 double EtaMin_ = -5.;
4012 double EtaMax_ = 5.;
4015 double PhiMin_ = -3.5;
4016 double PhiMax_ = 3.5;
4025 std::string subdirName = dirName1 + trgPathName +
"_wrt_" + trgPathNameD;
4033 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
4035 histoname = labelname+
"_NumeratorPt";
4036 title = labelname+
"NumeratorPt;Calo Pt[GeV/c]";
4040 histoname = labelname+
"_NumeratorPtBarrel";
4041 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c] ";
4043 NumeratorPtBarrel->
getTH1();
4045 histoname = labelname+
"_NumeratorPtEndcap";
4046 title = labelname+
"NumeratorPtEndcap;Calo Pt[GeV/c]";
4048 NumeratorPtEndcap->
getTH1();
4050 histoname = labelname+
"_NumeratorPtForward";
4051 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
4053 NumeratorPtForward->
getTH1();
4055 histoname = labelname+
"_NumeratorEta";
4056 title = labelname+
"NumeratorEta;Calo #eta ";
4060 histoname = labelname+
"_NumeratorPhi";
4061 title = labelname+
"NumeratorPhi;Calo #Phi";
4065 histoname = labelname+
"_NumeratorEtaPhi";
4066 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
4068 NumeratorEtaPhi->
getTH1();
4070 histoname = labelname+
"_NumeratorEtaBarrel";
4071 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
4073 NumeratorEtaBarrel->
getTH1();
4075 histoname = labelname+
"_NumeratorPhiBarrel";
4076 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
4078 NumeratorPhiBarrel->
getTH1();
4080 histoname = labelname+
"_NumeratorEtaEndcap";
4081 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
4083 NumeratorEtaEndcap->
getTH1();
4085 histoname = labelname+
"_NumeratorPhiEndcap";
4086 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
4088 NumeratorPhiEndcap->
getTH1();
4090 histoname = labelname+
"_NumeratorEtaForward";
4091 title = labelname+
"NumeratorEtaForward;Calo #eta ";
4093 NumeratorEtaForward->
getTH1();
4095 histoname = labelname+
"_NumeratorPhiForward";
4096 title = labelname+
"NumeratorPhiForward;Calo #Phi";
4098 NumeratorPhiForward->
getTH1();
4100 histoname = labelname+
"_NumeratorEta_LowpTcut";
4101 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
4103 NumeratorEta_LowpTcut->
getTH1();
4105 histoname = labelname+
"_NumeratorPhi_LowpTcut";
4106 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
4108 NumeratorPhi_LowpTcut->
getTH1();
4110 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
4111 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4112 MonitorElement * NumeratorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4113 NumeratorEtaPhi_LowpTcut->
getTH1();
4115 histoname = labelname+
"_NumeratorEta_MedpTcut";
4116 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
4118 NumeratorEta_MedpTcut->
getTH1();
4120 histoname = labelname+
"_NumeratorPhi_MedpTcut";
4121 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
4123 NumeratorPhi_MedpTcut->
getTH1();
4125 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
4126 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4127 MonitorElement * NumeratorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4128 NumeratorEtaPhi_MedpTcut->
getTH1();
4130 histoname = labelname+
"_NumeratorEta_HighpTcut";
4131 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
4133 NumeratorEta_HighpTcut->
getTH1();
4135 histoname = labelname+
"_NumeratorPhi_HighpTcut";
4136 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
4138 NumeratorPhi_HighpTcut->
getTH1();
4140 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
4141 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4142 MonitorElement * NumeratorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4143 NumeratorEtaPhi_HighpTcut->
getTH1();
4145 histoname = labelname+
"_DenominatorPt";
4146 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
4150 histoname = labelname+
"_DenominatorPtBarrel";
4151 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
4153 DenominatorPtBarrel->
getTH1();
4155 histoname = labelname+
"_DenominatorPtEndcap";
4156 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
4158 DenominatorPtEndcap->
getTH1();
4160 histoname = labelname+
"_DenominatorPtForward";
4161 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c] ";
4163 DenominatorPtForward->
getTH1();
4165 histoname = labelname+
"_DenominatorEta";
4166 title = labelname+
"DenominatorEta;Calo #eta ";
4168 DenominatorEta->
getTH1();
4170 histoname = labelname+
"_DenominatorPhi";
4171 title = labelname+
"DenominatorPhi;Calo #Phi";
4173 DenominatorPhi->
getTH1();
4175 histoname = labelname+
"_DenominatorEtaPhi";
4176 title = labelname+
"DenominatorEtaPhi;Calo #eta; Calo #Phi";
4178 DenominatorEtaPhi->
getTH1();
4180 histoname = labelname+
"_DenominatorEtaBarrel";
4181 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
4183 DenominatorEtaBarrel->
getTH1();
4185 histoname = labelname+
"_DenominatorPhiBarrel";
4186 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
4188 DenominatorPhiBarrel->
getTH1();
4190 histoname = labelname+
"_DenominatorEtaEndcap";
4191 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
4193 DenominatorEtaEndcap->
getTH1();
4195 histoname = labelname+
"_DenominatorPhiEndcap";
4196 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
4198 DenominatorPhiEndcap->
getTH1();
4200 histoname = labelname+
"_DenominatorEtaForward";
4201 title = labelname+
"DenominatorEtaForward;Calo #eta ";
4203 DenominatorEtaForward->
getTH1();
4205 histoname = labelname+
"_DenominatorPhiForward";
4206 title = labelname+
"DenominatorPhiForward;Calo #Phi";
4208 DenominatorPhiForward->
getTH1();
4210 histoname = labelname+
"_DenominatorEta_LowpTcut";
4211 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
4213 DenominatorEta_LowpTcut->
getTH1();
4215 histoname = labelname+
"_DenominatorPhi_LowpTcut";
4216 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
4218 DenominatorPhi_LowpTcut->
getTH1();
4220 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
4221 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4222 MonitorElement * DenominatorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4223 DenominatorEtaPhi_LowpTcut->
getTH1();
4225 histoname = labelname+
"_DenominatorEta_MedpTcut";
4226 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
4228 DenominatorEta_MedpTcut->
getTH1();
4230 histoname = labelname+
"_DenominatorPhi_MedpTcut";
4231 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
4233 DenominatorPhi_MedpTcut->
getTH1();
4235 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
4236 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4237 MonitorElement * DenominatorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4238 DenominatorEtaPhi_MedpTcut->
getTH1();
4240 histoname = labelname+
"_DenominatorEta_HighpTcut";
4241 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
4243 DenominatorEta_HighpTcut->
getTH1();
4245 histoname = labelname+
"_DenominatorPhi_HighpTcut";
4246 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
4248 DenominatorPhi_HighpTcut->
getTH1();
4250 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
4251 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4252 MonitorElement * DenominatorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4253 DenominatorEtaPhi_HighpTcut->
getTH1();
4255 histoname = labelname+
"_DeltaR";
4256 title = labelname+
"DeltaR;";
4260 histoname = labelname+
"_DeltaPhi";
4261 title = labelname+
"DeltaPhi;";
4265 histoname = labelname+
"_NumeratorPFMHT";
4266 title = labelname+
"NumeratorPFMHT;PFMHT[GeV/c]";
4268 NumeratorPFMHT->
getTH1();
4270 histoname = labelname+
"_NumeratorPFPt";
4271 title = labelname+
"NumeratorPFPt;PF Pt[GeV/c]";
4275 histoname = labelname+
"_NumeratorPFPtBarrel";
4276 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c] ";
4278 NumeratorPFPtBarrel->
getTH1();
4280 histoname = labelname+
"_NumeratorPFPtEndcap";
4281 title = labelname+
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
4283 NumeratorPFPtEndcap->
getTH1();
4285 histoname = labelname+
"_NumeratorPFPtForward";
4286 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
4288 NumeratorPFPtForward->
getTH1();
4290 histoname = labelname+
"_NumeratorPFEta";
4291 title = labelname+
"NumeratorPFEta;PF #eta ";
4293 NumeratorPFEta->
getTH1();
4295 histoname = labelname+
"_NumeratorPFPhi";
4296 title = labelname+
"NumeratorPFPhi;Calo #Phi";
4298 NumeratorPFPhi->
getTH1();
4300 histoname = labelname+
"_NumeratorPFEtaPhi";
4301 title = labelname+
"NumeratorPFEtaPhi;PF #eta;Calo #Phi";
4303 NumeratorPFEtaPhi->
getTH1();
4305 histoname = labelname+
"_NumeratorPFEtaBarrel";
4306 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
4308 NumeratorPFEtaBarrel->
getTH1();
4310 histoname = labelname+
"_NumeratorPFPhiBarrel";
4311 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
4313 NumeratorPFPhiBarrel->
getTH1();
4315 histoname = labelname+
"_NumeratorPFEtaEndcap";
4316 title = labelname+
"NumeratorPFEtaEndcap;Calo #eta ";
4318 NumeratorPFEtaEndcap->
getTH1();
4320 histoname = labelname+
"_NumeratorPFPhiEndcap";
4321 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
4323 NumeratorPFPhiEndcap->
getTH1();
4325 histoname = labelname+
"_NumeratorPFEtaForward";
4326 title = labelname+
"NumeratorPFEtaForward;Calo #eta ";
4328 NumeratorPFEtaForward->
getTH1();
4330 histoname = labelname+
"_NumeratorPFPhiForward";
4331 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
4333 NumeratorPFPhiForward->
getTH1();
4335 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
4336 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
4338 NumeratorPFEta_LowpTcut->
getTH1();
4340 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
4341 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
4343 NumeratorPFPhi_LowpTcut->
getTH1();
4345 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
4346 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
4347 MonitorElement * NumeratorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4348 NumeratorPFEtaPhi_LowpTcut->
getTH1();
4350 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
4351 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
4353 NumeratorPFEta_MedpTcut->
getTH1();
4355 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
4356 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
4358 NumeratorPFPhi_MedpTcut->
getTH1();
4360 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
4361 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
4362 MonitorElement * NumeratorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4363 NumeratorPFEtaPhi_MedpTcut->
getTH1();
4365 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
4366 title = labelname+
"NumeratorPFEta_HighpTcut;Calo #eta ";
4368 NumeratorPFEta_HighpTcut->
getTH1();
4370 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
4371 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
4373 NumeratorPFPhi_HighpTcut->
getTH1();
4375 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
4376 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
4377 MonitorElement * NumeratorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4378 NumeratorPFEtaPhi_HighpTcut->
getTH1();
4380 histoname = labelname+
"_DenominatorPFMHT";
4381 title = labelname+
"DenominatorPFMHT;PF Pt[GeV/c]";
4383 DenominatorPFMHT->
getTH1();
4385 histoname = labelname+
"_DenominatorPFPt";
4386 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
4388 DenominatorPFPt->
getTH1();
4390 histoname = labelname+
"_DenominatorPFPtBarrel";
4391 title = labelname+
"DenominatorPFPtBarrel;Calo Pt[GeV/c]";
4393 DenominatorPFPtBarrel->
getTH1();
4395 histoname = labelname+
"_DenominatorPFPtEndcap";
4396 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
4398 DenominatorPFPtEndcap->
getTH1();
4400 histoname = labelname+
"_DenominatorPFPtForward";
4401 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c] ";
4403 DenominatorPFPtForward->
getTH1();
4405 histoname = labelname+
"_DenominatorPFEta";
4406 title = labelname+
"DenominatorPFEta;PF #eta ";
4408 DenominatorPFEta->
getTH1();
4410 histoname = labelname+
"_DenominatorPFPhi";
4411 title = labelname+
"DenominatorPFPhi;PF #Phi";
4413 DenominatorPFPhi->
getTH1();
4415 histoname = labelname+
"_DenominatorPFEtaPhi";
4416 title = labelname+
"DenominatorPFEtaPhi;PF #eta; Calo #Phi";
4418 DenominatorPFEtaPhi->
getTH1();
4420 histoname = labelname+
"_DenominatorPFEtaBarrel";
4421 title = labelname+
"DenominatorPFEtaBarrel;Calo #eta ";
4423 DenominatorPFEtaBarrel->
getTH1();
4425 histoname = labelname+
"_DenominatorPFPhiBarrel";
4426 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
4428 DenominatorPFPhiBarrel->
getTH1();
4430 histoname = labelname+
"_DenominatorPFEtaEndcap";
4431 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
4433 DenominatorPFEtaEndcap->
getTH1();
4435 histoname = labelname+
"_DenominatorPFPhiEndcap";
4436 title = labelname+
"DenominatorPFPhiEndcap;Calo #Phi";
4438 DenominatorPFPhiEndcap->
getTH1();
4440 histoname = labelname+
"_DenominatorPFEtaForward";
4441 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
4443 DenominatorPFEtaForward->
getTH1();
4445 histoname = labelname+
"_DenominatorPFPhiForward";
4446 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
4448 DenominatorPFPhiForward->
getTH1();
4450 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
4451 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
4453 DenominatorPFEta_LowpTcut->
getTH1();
4455 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
4456 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
4458 DenominatorPFPhi_LowpTcut->
getTH1();
4460 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
4461 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
4462 MonitorElement * DenominatorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4463 DenominatorPFEtaPhi_LowpTcut->
getTH1();
4465 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
4466 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
4468 DenominatorPFEta_MedpTcut->
getTH1();
4470 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
4471 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
4473 DenominatorPFPhi_MedpTcut->
getTH1();
4475 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
4476 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;Calo #Phi";
4477 MonitorElement * DenominatorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4478 DenominatorPFEtaPhi_MedpTcut->
getTH1();
4480 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
4481 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
4483 DenominatorPFEta_HighpTcut->
getTH1();
4485 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
4486 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
4488 DenominatorPFPhi_HighpTcut->
getTH1();
4490 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
4491 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;Calo #Phi";
4492 MonitorElement * DenominatorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4493 DenominatorPFEtaPhi_HighpTcut->
getTH1();
4495 histoname = labelname+
"_PFDeltaR";
4496 title = labelname+
"PFDeltaR;";
4500 histoname = labelname+
"_PFDeltaPhi";
4501 title = labelname+
"PFDeltaPhi;";
4505 v->setEffHistos(NumeratorPt,
4517 NumeratorEtaForward,
4518 NumeratorPhiForward,
4519 NumeratorEta_LowpTcut,
4520 NumeratorPhi_LowpTcut,
4521 NumeratorEtaPhi_LowpTcut,
4522 NumeratorEta_MedpTcut,
4523 NumeratorPhi_MedpTcut,
4524 NumeratorEtaPhi_MedpTcut,
4525 NumeratorEta_HighpTcut,
4526 NumeratorPhi_HighpTcut,
4527 NumeratorEtaPhi_HighpTcut,
4530 DenominatorPtBarrel,
4531 DenominatorPtEndcap,
4532 DenominatorPtForward,
4537 DenominatorEtaBarrel,
4538 DenominatorPhiBarrel,
4539 DenominatorEtaEndcap,
4540 DenominatorPhiEndcap,
4541 DenominatorEtaForward,
4542 DenominatorPhiForward,
4543 DenominatorEta_LowpTcut,
4544 DenominatorPhi_LowpTcut,
4545 DenominatorEtaPhi_LowpTcut,
4546 DenominatorEta_MedpTcut,
4547 DenominatorPhi_MedpTcut,
4548 DenominatorEtaPhi_MedpTcut,
4549 DenominatorEta_HighpTcut,
4550 DenominatorPhi_HighpTcut,
4551 DenominatorEtaPhi_HighpTcut,
4557 NumeratorPFPtBarrel,
4558 NumeratorPFPtEndcap,
4559 NumeratorPFPtForward,
4563 NumeratorPFEtaBarrel,
4564 NumeratorPFPhiBarrel,
4565 NumeratorPFEtaEndcap,
4566 NumeratorPFPhiEndcap,
4567 NumeratorPFEtaForward,
4568 NumeratorPFPhiForward,
4569 NumeratorPFEta_LowpTcut,
4570 NumeratorPFPhi_LowpTcut,
4571 NumeratorPFEtaPhi_LowpTcut,
4572 NumeratorPFEta_MedpTcut,
4573 NumeratorPFPhi_MedpTcut,
4574 NumeratorPFEtaPhi_MedpTcut,
4575 NumeratorPFEta_HighpTcut,
4576 NumeratorPFPhi_HighpTcut,
4577 NumeratorPFEtaPhi_HighpTcut,
4580 DenominatorPFPtBarrel,
4581 DenominatorPFPtEndcap,
4582 DenominatorPFPtForward,
4585 DenominatorPFEtaPhi,
4586 DenominatorPFEtaBarrel,
4587 DenominatorPFPhiBarrel,
4588 DenominatorPFEtaEndcap,
4589 DenominatorPFPhiEndcap,
4590 DenominatorPFEtaForward,
4591 DenominatorPFPhiForward,
4592 DenominatorPFEta_LowpTcut,
4593 DenominatorPFPhi_LowpTcut,
4594 DenominatorPFEtaPhi_LowpTcut,
4595 DenominatorPFEta_MedpTcut,
4596 DenominatorPFPhi_MedpTcut,
4597 DenominatorPFEtaPhi_MedpTcut,
4598 DenominatorPFEta_HighpTcut,
4599 DenominatorPFPhi_HighpTcut,
4600 DenominatorPFEtaPhi_HighpTcut,
4607 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
4609 histoname = labelname+
"_NumeratorAvrgPt";
4610 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c]";
4614 histoname = labelname+
"_NumeratorAvrgEta";
4615 title = labelname+
"NumeratorAvrgEta;Calo #eta";
4619 histoname = labelname+
"_DenominatorAvrgPt";
4620 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
4624 histoname = labelname+
"_DenominatorAvrgEta";
4625 title = labelname+
"DenominatorAvrgEta;Calo #eta";
4627 DenominatorEta->
getTH1();
4629 histoname = labelname+
"_DeltaR";
4630 title = labelname+
"DeltaR;";
4634 histoname = labelname+
"_DeltaPhi";
4635 title = labelname+
"DeltaPhi;";
4640 histoname = labelname+
"_NumeratorAvrgPFPt";
4641 title = labelname+
"NumeratorAvrgPFPt;PF Pt[GeV/c]";
4645 histoname = labelname+
"_NumeratorAvrgPFEta";
4646 title = labelname+
"NumeratorAvrgPFEta;PF #eta";
4648 NumeratorPFEta->
getTH1();
4650 histoname = labelname+
"_DenominatorAvrgPFPt";
4651 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
4653 DenominatorPFPt->
getTH1();
4655 histoname = labelname+
"_DenominatorAvrgPFEta";
4656 title = labelname+
"DenominatorAvrgPFEta;PF #eta";
4658 DenominatorPFEta->
getTH1();
4660 histoname = labelname+
"_PFDeltaR";
4661 title = labelname+
"PFDeltaR;";
4665 histoname = labelname+
"_PFDeltaPhi";
4666 title = labelname+
"PFDeltaPhi;";
4670 v->setEffHistos( dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4671 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4672 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4673 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4674 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4675 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4676 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4677 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4678 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4679 dummy, dummy, dummy, dummy
4685 histoname = labelname+
"_NumeratorPt";
4686 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
4687 title = labelname+
"NumeratorPt; CaloMET[GeV/c]";
4689 title = labelname+
"NumeratorPt; PFMET[GeV/c]";
4693 histoname = labelname+
"_NumeratorPhi";
4694 title = labelname+
"NumeratorPhi; #Phi";
4698 histoname = labelname+
"_DenominatorPt";
4699 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
4700 title = labelname+
"DenominatorPt; CaloMET[GeV/c]";
4702 title = labelname+
"DenominatorPt; PFMET[GeV/c]";
4706 histoname = labelname+
"_DenominatorPhi";
4707 title = labelname+
"DenominatorPhi; #Phi";
4709 DenominatorPhi->
getTH1();
4711 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
4712 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4713 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, dummy, dummy,
4714 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4715 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4716 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4717 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4718 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4719 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4720 dummy, dummy, dummy, dummy
4741 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
4743 histoname = labelname+
"_NumeratorPt";
4744 title = labelname+
"NumeratorPt;Pt[GeV/c]";
4748 histoname = labelname+
"_NumeratorPtBarrel";
4749 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c]";
4751 NumeratorPtBarrel->
getTH1();
4753 histoname = labelname+
"_NumeratorPtEndcap";
4754 title = labelname+
"NumeratorPtEndcap;Calo Pt[GeV/c]";
4756 NumeratorPtEndcap->
getTH1();
4758 histoname = labelname+
"_NumeratorPtForward";
4759 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
4761 NumeratorPtForward->
getTH1();
4763 histoname = labelname+
"_NumeratorEta";
4764 title = labelname+
"NumeratorEta;Calo #eta ";
4768 histoname = labelname+
"_NumeratorPhi";
4769 title = labelname+
"NumeratorPhi;Calo #Phi";
4773 histoname = labelname+
"_NumeratorEtaPhi";
4774 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
4776 NumeratorEtaPhi->
getTH1();
4778 histoname = labelname+
"_NumeratorEtaBarrel";
4779 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
4781 NumeratorEtaBarrel->
getTH1();
4783 histoname = labelname+
"_NumeratorPhiBarrel";
4784 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
4786 NumeratorPhiBarrel->
getTH1();
4788 histoname = labelname+
"_NumeratorEtaEndcap";
4789 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
4791 NumeratorEtaEndcap->
getTH1();
4793 histoname = labelname+
"_NumeratorPhiEndcap";
4794 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
4796 NumeratorPhiEndcap->
getTH1();
4798 histoname = labelname+
"_NumeratorEtaForward";
4799 title = labelname+
"NumeratorEtaForward;Calo #eta ";
4801 NumeratorEtaForward->
getTH1();
4803 histoname = labelname+
"_NumeratorPhiForward";
4804 title = labelname+
"NumeratorPhiForward;Calo #Phi";
4806 NumeratorPhiForward->
getTH1();
4808 histoname = labelname+
"_NumeratorEta_LowpTcut";
4809 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
4811 NumeratorEta_LowpTcut->
getTH1();
4813 histoname = labelname+
"_NumeratorPhi_LowpTcut";
4814 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
4816 NumeratorPhi_LowpTcut->
getTH1();
4818 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
4819 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4820 MonitorElement * NumeratorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4821 NumeratorEtaPhi_LowpTcut->
getTH1();
4823 histoname = labelname+
"_NumeratorEta_MedpTcut";
4824 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
4826 NumeratorEta_MedpTcut->
getTH1();
4828 histoname = labelname+
"_NumeratorPhi_MedpTcut";
4829 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
4831 NumeratorPhi_MedpTcut->
getTH1();
4833 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
4834 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4835 MonitorElement * NumeratorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4836 NumeratorEtaPhi_MedpTcut->
getTH1();
4838 histoname = labelname+
"_NumeratorEta_HighpTcut";
4839 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
4841 NumeratorEta_HighpTcut->
getTH1();
4843 histoname = labelname+
"_NumeratorPhi_HighpTcut";
4844 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
4846 NumeratorPhi_HighpTcut->
getTH1();
4848 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
4849 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4850 MonitorElement * NumeratorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4851 NumeratorEtaPhi_HighpTcut->
getTH1();
4853 histoname = labelname+
"_DenominatorPt";
4854 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
4858 histoname = labelname+
"_DenominatorPtBarrel";
4859 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
4861 DenominatorPtBarrel->
getTH1();
4863 histoname = labelname+
"_DenominatorPtEndcap";
4864 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
4866 DenominatorPtEndcap->
getTH1();
4868 histoname = labelname+
"_DenominatorPtForward";
4869 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c] ";
4871 DenominatorPtForward->
getTH1();
4873 histoname = labelname+
"_DenominatorEta";
4874 title = labelname+
"DenominatorEta;Calo #eta";
4876 DenominatorEta->
getTH1();
4878 histoname = labelname+
"_DenominatorPhi";
4879 title = labelname+
"DenominatorPhi;Calo #Phi";
4881 DenominatorPhi->
getTH1();
4883 histoname = labelname+
"_DenominatorEtaPhi";
4884 title = labelname+
"DenominatorEtaPhi;Calo #eta (IC5);Calo #Phi ";
4886 DenominatorEtaPhi->
getTH1();
4888 histoname = labelname+
"_DenominatorEtaBarrel";
4889 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
4891 DenominatorEtaBarrel->
getTH1();
4893 histoname = labelname+
"_DenominatorPhiBarrel";
4894 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
4896 DenominatorPhiBarrel->
getTH1();
4898 histoname = labelname+
"_DenominatorEtaEndcap";
4899 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
4901 DenominatorEtaEndcap->
getTH1();
4903 histoname = labelname+
"_DenominatorPhiEndcap";
4904 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
4906 DenominatorPhiEndcap->
getTH1();
4908 histoname = labelname+
"_DenominatorEtaForward";
4909 title = labelname+
"DenominatorEtaForward;Calo #eta ";
4911 DenominatorEtaForward->
getTH1();
4913 histoname = labelname+
"_DenominatorPhiForward";
4914 title = labelname+
"DenominatorPhiForward;Calo #Phi";
4916 DenominatorPhiForward->
getTH1();
4918 histoname = labelname+
"_DenominatorEta_LowpTcut";
4919 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
4921 DenominatorEta_LowpTcut->
getTH1();
4923 histoname = labelname+
"_DenominatorPhi_LowpTcut";
4924 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
4926 DenominatorPhi_LowpTcut->
getTH1();
4928 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
4929 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4930 MonitorElement * DenominatorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4931 DenominatorEtaPhi_LowpTcut->
getTH1();
4933 histoname = labelname+
"_DenominatorEta_MedpTcut";
4934 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
4936 DenominatorEta_MedpTcut->
getTH1();
4938 histoname = labelname+
"_DenominatorPhi_MedpTcut";
4939 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
4941 DenominatorPhi_MedpTcut->
getTH1();
4943 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
4944 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4945 MonitorElement * DenominatorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4946 DenominatorEtaPhi_MedpTcut->
getTH1();
4948 histoname = labelname+
"_DenominatorEta_HighpTcut";
4949 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
4951 DenominatorEta_HighpTcut->
getTH1();
4953 histoname = labelname+
"_DenominatorPhi_HighpTcut";
4954 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
4956 DenominatorPhi_HighpTcut->
getTH1();
4958 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
4959 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4960 MonitorElement * DenominatorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4961 DenominatorEtaPhi_HighpTcut->
getTH1();
4963 histoname = labelname+
"_DeltaR";
4964 title = labelname+
"DeltaR;";
4968 histoname = labelname+
"_DeltaPhi";
4969 title = labelname+
"DeltaPhi;";
4973 histoname = labelname+
"_NumeratorPFPt";
4974 title = labelname+
"NumeratorPFPt;PFPt[GeV/c]";
4978 histoname = labelname+
"_NumeratorPFMHT";
4979 title = labelname+
"NumeratorPFMHT;PFMHT[GeV/c]";
4981 NumeratorPFMHT->
getTH1();
4983 histoname = labelname+
"_NumeratorPFPtBarrel";
4984 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c]";
4986 NumeratorPFPtBarrel->
getTH1();
4988 histoname = labelname+
"_NumeratorPFPtEndcap";
4989 title = labelname+
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
4991 NumeratorPFPtEndcap->
getTH1();
4993 histoname = labelname+
"_NumeratorPFPtForward";
4994 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
4996 NumeratorPFPtForward->
getTH1();
4998 histoname = labelname+
"_NumeratorPFEta";
4999 title = labelname+
"NumeratorPFEta;PF #eta ";
5001 NumeratorPFEta->
getTH1();
5003 histoname = labelname+
"_NumeratorPFPhi";
5004 title = labelname+
"NumeratorPFPhi;PF #Phi";
5006 NumeratorPFPhi->
getTH1();
5008 histoname = labelname+
"_NumeratorPFEtaPhi";
5009 title = labelname+
"NumeratorPFEtaPhi;PF #eta;PF #Phi";
5011 NumeratorPFEtaPhi->
getTH1();
5013 histoname = labelname+
"_NumeratorPFEtaBarrel";
5014 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
5016 NumeratorPFEtaBarrel->
getTH1();
5018 histoname = labelname+
"_NumeratorPFPhiBarrel";
5019 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
5021 NumeratorPFPhiBarrel->
getTH1();
5023 histoname = labelname+
"_NumeratorPFEtaEndcap";
5024 title = labelname+
"NumeratorPFEtaEndcap;PF #eta ";
5026 NumeratorPFEtaEndcap->
getTH1();
5028 histoname = labelname+
"_NumeratorPFPhiEndcap";
5029 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
5031 NumeratorPFPhiEndcap->
getTH1();
5033 histoname = labelname+
"_NumeratorPFEtaForward";
5034 title = labelname+
"NumeratorPFEtaForward;PF #eta ";
5036 NumeratorPFEtaForward->
getTH1();
5038 histoname = labelname+
"_NumeratorPFPhiForward";
5039 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
5041 NumeratorPFPhiForward->
getTH1();
5043 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
5044 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
5046 NumeratorPFEta_LowpTcut->
getTH1();
5048 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
5049 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
5051 NumeratorPFPhi_LowpTcut->
getTH1();
5053 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
5054 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5055 MonitorElement * NumeratorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5056 NumeratorPFEtaPhi_LowpTcut->
getTH1();
5058 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
5059 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
5061 NumeratorPFEta_MedpTcut->
getTH1();
5063 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
5064 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
5066 NumeratorPFPhi_MedpTcut->
getTH1();
5068 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
5069 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5070 MonitorElement * NumeratorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5071 NumeratorPFEtaPhi_MedpTcut->
getTH1();
5073 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
5074 title = labelname+
"NumeratorPFEta_HighpTcut;PF #eta ";
5076 NumeratorPFEta_HighpTcut->
getTH1();
5078 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
5079 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
5081 NumeratorPFPhi_HighpTcut->
getTH1();
5083 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
5084 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5085 MonitorElement * NumeratorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5086 NumeratorPFEtaPhi_HighpTcut->
getTH1();
5088 histoname = labelname+
"_DenominatorPFMHT";
5089 title = labelname+
"DenominatorPFMHT;PF Pt[GeV/c]";
5091 DenominatorPFMHT->
getTH1();
5093 histoname = labelname+
"_DenominatorPFPt";
5094 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
5096 DenominatorPFPt->
getTH1();
5098 histoname = labelname+
"_DenominatorPFPtBarrel";
5099 title = labelname+
"DenominatorPFPtBarrel;PF Pt[GeV/c]";
5101 DenominatorPFPtBarrel->
getTH1();
5103 histoname = labelname+
"_DenominatorPFPtEndcap";
5104 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
5106 DenominatorPFPtEndcap->
getTH1();
5108 histoname = labelname+
"_DenominatorPFPtForward";
5109 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c] ";
5111 DenominatorPFPtForward->
getTH1();
5113 histoname = labelname+
"_DenominatorPFEta";
5114 title = labelname+
"DenominatorPFEta;PF #eta";
5116 DenominatorPFEta->
getTH1();
5118 histoname = labelname+
"_DenominatorPFPhi";
5119 title = labelname+
"DenominatorPFPhi;PF #Phi";
5121 DenominatorPFPhi->
getTH1();
5123 histoname = labelname+
"_DenominatorPFEtaPhi";
5124 title = labelname+
"DenominatorPFEtaPhi;PF #eta (IC5);PF #Phi ";
5126 DenominatorPFEtaPhi->
getTH1();
5128 histoname = labelname+
"_DenominatorPFEtaBarrel";
5129 title = labelname+
"DenominatorPFEtaBarrel;PF #eta ";
5131 DenominatorPFEtaBarrel->
getTH1();
5133 histoname = labelname+
"_DenominatorPFPhiBarrel";
5134 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
5136 DenominatorPFPhiBarrel->
getTH1();
5138 histoname = labelname+
"_DenominatorPFEtaEndcap";
5139 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
5141 DenominatorPFEtaEndcap->
getTH1();
5143 histoname = labelname+
"_DenominatorPFPhiEndcap";
5144 title = labelname+
"DenominatorPFPhiEndcap;PF #Phi";
5146 DenominatorPFPhiEndcap->
getTH1();
5148 histoname = labelname+
"_DenominatorPFEtaForward";
5149 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
5151 DenominatorPFEtaForward->
getTH1();
5153 histoname = labelname+
"_DenominatorPFPhiForward";
5154 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
5156 DenominatorPFPhiForward->
getTH1();
5158 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
5159 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
5161 DenominatorPFEta_LowpTcut->
getTH1();
5163 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
5164 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
5166 DenominatorPFPhi_LowpTcut->
getTH1();
5168 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
5169 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5170 MonitorElement * DenominatorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5171 DenominatorPFEtaPhi_LowpTcut->
getTH1();
5173 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
5174 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
5176 DenominatorPFEta_MedpTcut->
getTH1();
5178 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
5179 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
5181 DenominatorPFPhi_MedpTcut->
getTH1();
5183 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
5184 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5185 MonitorElement * DenominatorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5186 DenominatorPFEtaPhi_MedpTcut->
getTH1();
5188 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
5189 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
5191 DenominatorPFEta_HighpTcut->
getTH1();
5193 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
5194 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
5196 DenominatorPFPhi_HighpTcut->
getTH1();
5198 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
5199 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5200 MonitorElement * DenominatorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5201 DenominatorPFEtaPhi_HighpTcut->
getTH1();
5203 histoname = labelname+
"_PFDeltaR";
5204 title = labelname+
"PFDeltaR;";
5208 histoname = labelname+
"_PFDeltaPhi";
5209 title = labelname+
"PFDeltaPhi;";
5213 v->setEffHistos(NumeratorPt,
5225 NumeratorEtaForward,
5226 NumeratorPhiForward,
5227 NumeratorEta_LowpTcut,
5228 NumeratorPhi_LowpTcut,
5229 NumeratorEtaPhi_LowpTcut,
5230 NumeratorEta_MedpTcut,
5231 NumeratorPhi_MedpTcut,
5232 NumeratorEtaPhi_MedpTcut,
5233 NumeratorEta_HighpTcut,
5234 NumeratorPhi_HighpTcut,
5235 NumeratorEtaPhi_HighpTcut,
5238 DenominatorPtBarrel,
5239 DenominatorPtEndcap,
5240 DenominatorPtForward,
5245 DenominatorEtaBarrel,
5246 DenominatorPhiBarrel,
5247 DenominatorEtaEndcap,
5248 DenominatorPhiEndcap,
5249 DenominatorEtaForward,
5250 DenominatorPhiForward,
5251 DenominatorEta_LowpTcut,
5252 DenominatorPhi_LowpTcut,
5253 DenominatorEtaPhi_LowpTcut,
5254 DenominatorEta_MedpTcut,
5255 DenominatorPhi_MedpTcut,
5256 DenominatorEtaPhi_MedpTcut,
5257 DenominatorEta_HighpTcut,
5258 DenominatorPhi_HighpTcut,
5259 DenominatorEtaPhi_HighpTcut,
5266 NumeratorPFPtBarrel,
5267 NumeratorPFPtEndcap,
5268 NumeratorPFPtForward,
5272 NumeratorPFEtaBarrel,
5273 NumeratorPFPhiBarrel,
5274 NumeratorPFEtaEndcap,
5275 NumeratorPFPhiEndcap,
5276 NumeratorPFEtaForward,
5277 NumeratorPFPhiForward,
5278 NumeratorPFEta_LowpTcut,
5279 NumeratorPFPhi_LowpTcut,
5280 NumeratorPFEtaPhi_LowpTcut,
5281 NumeratorPFEta_MedpTcut,
5282 NumeratorPFPhi_MedpTcut,
5283 NumeratorPFEtaPhi_MedpTcut,
5284 NumeratorPFEta_HighpTcut,
5285 NumeratorPFPhi_HighpTcut,
5286 NumeratorPFEtaPhi_HighpTcut,
5289 DenominatorPFPtBarrel,
5290 DenominatorPFPtEndcap,
5291 DenominatorPFPtForward,
5294 DenominatorPFEtaPhi,
5295 DenominatorPFEtaBarrel,
5296 DenominatorPFPhiBarrel,
5297 DenominatorPFEtaEndcap,
5298 DenominatorPFPhiEndcap,
5299 DenominatorPFEtaForward,
5300 DenominatorPFPhiForward,
5301 DenominatorPFEta_LowpTcut,
5302 DenominatorPFPhi_LowpTcut,
5303 DenominatorPFEtaPhi_LowpTcut,
5304 DenominatorPFEta_MedpTcut,
5305 DenominatorPFPhi_MedpTcut,
5306 DenominatorPFEtaPhi_MedpTcut,
5307 DenominatorPFEta_HighpTcut,
5308 DenominatorPFPhi_HighpTcut,
5309 DenominatorPFEtaPhi_HighpTcut,
5315 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
5317 histoname = labelname+
"_NumeratorAvrgPt";
5318 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c] ";
5322 histoname = labelname+
"_NumeratorAvrgEta";
5323 title = labelname+
"NumeratorAvrgEta;Calo #eta";
5327 histoname = labelname+
"_DenominatorAvrgPt";
5328 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c]";
5332 histoname = labelname+
"_DenominatorAvrgEta";
5333 title = labelname+
"DenominatorAvrgEta;Calo #eta ";
5335 DenominatorEta->
getTH1();
5337 histoname = labelname+
"_DeltaR";
5338 title = labelname+
"DeltaR;";
5342 histoname = labelname+
"_DeltaPhi";
5343 title = labelname+
"DeltaPhi;";
5347 histoname = labelname+
"_NumeratorAvrgPFPt";
5348 title = labelname+
"NumeratorAvrgPFPt;PF Pt[GeV/c] ";
5352 histoname = labelname+
"_NumeratorAvrgPFEta";
5353 title = labelname+
"NumeratorAvrgPFEta;PF #eta";
5355 NumeratorPFEta->
getTH1();
5357 histoname = labelname+
"_DenominatorAvrgPFPt";
5358 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c]";
5360 DenominatorPFPt->
getTH1();
5362 histoname = labelname+
"_DenominatorAvrgPFEta";
5363 title = labelname+
"DenominatorAvrgPFEta;PF #eta ";
5365 DenominatorPFEta->
getTH1();
5367 histoname = labelname+
"_PFDeltaR";
5368 title = labelname+
"PFDeltaR;";
5372 histoname = labelname+
"_PFDeltaPhi";
5373 title = labelname+
"PFDeltaPhi;";
5377 v->setEffHistos( dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5378 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5379 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5380 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5381 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5382 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5383 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5384 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5385 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5386 dummy, dummy, dummy, dummy
5392 histoname = labelname+
"_NumeratorPt";
5393 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
5394 title = labelname+
"NumeratorPt; CaloMET[GeV/c]";
5396 title = labelname+
"NumeratorPt; PFMET[GeV/c]";
5400 histoname = labelname+
"_NumeratorPhi";
5401 title = labelname+
"NumeratorPhi; #Phi";
5405 histoname = labelname+
"_DenominatorPt";
5406 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
5407 title = labelname+
"DenominatorPt; CaloMET[GeV/c]";
5409 title = labelname+
"DenominatorPt; PFMET[GeV/c]";
5413 histoname = labelname+
"_DenominatorPhi";
5414 title = labelname+
"DenominatorPhi; #Phi";
5416 DenominatorPhi->
getTH1();
5418 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
5419 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5420 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, dummy, dummy,
5421 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5422 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5423 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5424 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5425 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5426 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5427 dummy, dummy, dummy, dummy
5449 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
5451 histoname = labelname+
"_NumeratorPt";
5452 title = labelname+
"NumeratorPt;Calo Pt[GeV/c] ";
5456 histoname = labelname+
"_NumeratorPtBarrel";
5457 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c]";
5459 NumeratorPtBarrel->
getTH1();
5461 histoname = labelname+
"_NumeratorPtEndcap";
5462 title = labelname+
"NumeratorPtEndcap; Calo Pt[GeV/c] ";
5464 NumeratorPtEndcap->
getTH1();
5466 histoname = labelname+
"_NumeratorPtForward";
5467 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
5469 NumeratorPtForward->
getTH1();
5471 histoname = labelname+
"_NumeratorEta";
5472 title = labelname+
"NumeratorEta;Calo #eta ";
5476 histoname = labelname+
"_NumeratorPhi";
5477 title = labelname+
"NumeratorPhi;Calo #Phi";
5481 histoname = labelname+
"_NumeratorEtaPhi";
5482 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi ";
5484 NumeratorEtaPhi->
getTH1();
5486 histoname = labelname+
"_NumeratorEtaBarrel";
5487 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
5489 NumeratorEtaBarrel->
getTH1();
5491 histoname = labelname+
"_NumeratorPhiBarrel";
5492 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
5494 NumeratorPhiBarrel->
getTH1();
5496 histoname = labelname+
"_NumeratorEtaEndcap";
5497 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
5499 NumeratorEtaEndcap->
getTH1();
5501 histoname = labelname+
"_NumeratorPhiEndcap";
5502 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
5504 NumeratorPhiEndcap->
getTH1();
5506 histoname = labelname+
"_NumeratorEtaForward";
5507 title = labelname+
"NumeratorEtaForward;Calo #eta ";
5509 NumeratorEtaForward->
getTH1();
5511 histoname = labelname+
"_NumeratorPhiForward";
5512 title = labelname+
"NumeratorPhiForward;Calo #Phi";
5514 NumeratorPhiForward->
getTH1();
5516 histoname = labelname+
"_NumeratorEta_LowpTcut";
5517 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
5519 NumeratorEta_LowpTcut->
getTH1();
5521 histoname = labelname+
"_NumeratorPhi_LowpTcut";
5522 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
5524 NumeratorPhi_LowpTcut->
getTH1();
5526 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
5527 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
5528 MonitorElement * NumeratorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5529 NumeratorEtaPhi_LowpTcut->
getTH1();
5531 histoname = labelname+
"_NumeratorEta_MedpTcut";
5532 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
5534 NumeratorEta_MedpTcut->
getTH1();
5536 histoname = labelname+
"_NumeratorPhi_MedpTcut";
5537 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
5539 NumeratorPhi_MedpTcut->
getTH1();
5541 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
5542 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
5543 MonitorElement * NumeratorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5544 NumeratorEtaPhi_MedpTcut->
getTH1();
5546 histoname = labelname+
"_NumeratorEta_HighpTcut";
5547 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
5549 NumeratorEta_HighpTcut->
getTH1();
5551 histoname = labelname+
"_NumeratorPhi_HighpTcut";
5552 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
5554 NumeratorPhi_HighpTcut->
getTH1();
5556 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
5557 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
5558 MonitorElement * NumeratorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5559 NumeratorEtaPhi_HighpTcut->
getTH1();
5561 histoname = labelname+
"_DenominatorPt";
5562 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
5566 histoname = labelname+
"_DenominatorPtBarrel";
5567 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
5569 DenominatorPtBarrel->
getTH1();
5571 histoname = labelname+
"_DenominatorPtEndcap";
5572 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
5574 DenominatorPtEndcap->
getTH1();
5576 histoname = labelname+
"_DenominatorPtForward";
5577 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c]";
5579 DenominatorPtForward->
getTH1();
5581 histoname = labelname+
"_DenominatorEta";
5582 title = labelname+
"DenominatorEta;Calo #eta ";
5584 DenominatorEta->
getTH1();
5586 histoname = labelname+
"_DenominatorPhi";
5587 title = labelname+
"DenominatorPhi;Calo #Phi";
5589 DenominatorPhi->
getTH1();
5591 histoname = labelname+
"_DenominatorEtaPhi";
5592 title = labelname+
"DenominatorEtaPhi;Calo #eta ;Calo #Phi ";
5594 DenominatorEtaPhi->
getTH1();
5596 histoname = labelname+
"_DenominatorEtaBarrel";
5597 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
5599 DenominatorEtaBarrel->
getTH1();
5601 histoname = labelname+
"_DenominatorPhiBarrel";
5602 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
5604 DenominatorPhiBarrel->
getTH1();
5606 histoname = labelname+
"_DenominatorEtaEndcap";
5607 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
5609 DenominatorEtaEndcap->
getTH1();
5611 histoname = labelname+
"_DenominatorPhiEndcap";
5612 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
5614 DenominatorPhiEndcap->
getTH1();
5616 histoname = labelname+
"_DenominatorEtaForward";
5617 title = labelname+
"DenominatorEtaForward;Calo #eta ";
5619 DenominatorEtaForward->
getTH1();
5621 histoname = labelname+
"_DenominatorPhiForward";
5622 title = labelname+
"DenominatorPhiForward;Calo #Phi";
5624 DenominatorPhiForward->
getTH1();
5626 histoname = labelname+
"_DenominatorEta_LowpTcut";
5627 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
5629 DenominatorEta_LowpTcut->
getTH1();
5631 histoname = labelname+
"_DenominatorPhi_LowpTcut";
5632 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
5634 DenominatorPhi_LowpTcut->
getTH1();
5636 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
5637 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
5638 MonitorElement * DenominatorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5639 DenominatorEtaPhi_LowpTcut->
getTH1();
5641 histoname = labelname+
"_DenominatorEta_MedpTcut";
5642 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
5644 DenominatorEta_MedpTcut->
getTH1();
5646 histoname = labelname+
"_DenominatorPhi_MedpTcut";
5647 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
5649 DenominatorPhi_MedpTcut->
getTH1();
5651 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
5652 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
5653 MonitorElement * DenominatorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5654 DenominatorEtaPhi_MedpTcut->
getTH1();
5656 histoname = labelname+
"_DenominatorEta_HighpTcut";
5657 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
5659 DenominatorEta_HighpTcut->
getTH1();
5661 histoname = labelname+
"_DenominatorPhi_HighpTcut";
5662 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
5664 DenominatorPhi_HighpTcut->
getTH1();
5666 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
5667 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
5668 MonitorElement * DenominatorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5669 DenominatorEtaPhi_HighpTcut->
getTH1();
5671 histoname = labelname+
"_DeltaR";
5672 title = labelname+
"DeltaR;";
5676 histoname = labelname+
"_DeltaPhi";
5677 title = labelname+
"DeltaPhi;";
5681 histoname = labelname+
"_NumeratorPFPt";
5682 title = labelname+
"NumeratorPFPt;PF Pt[GeV/c] ";
5686 histoname = labelname+
"_NumeratorPFMHT";
5687 title = labelname+
"NumeratorPFPt;PFMHT[GeV/c] ";
5689 NumeratorPFMHT->
getTH1();
5691 histoname = labelname+
"_NumeratorPFPtBarrel";
5692 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c]";
5694 NumeratorPFPtBarrel->
getTH1();
5696 histoname = labelname+
"_NumeratorPFPtEndcap";
5697 title = labelname+
"NumeratorPFPtEndcap; PF Pt[GeV/c] ";
5699 NumeratorPFPtEndcap->
getTH1();
5701 histoname = labelname+
"_NumeratorPFPtForward";
5702 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
5704 NumeratorPFPtForward->
getTH1();
5706 histoname = labelname+
"_NumeratorPFEta";
5707 title = labelname+
"NumeratorPFEta;PF #eta ";
5709 NumeratorPFEta->
getTH1();
5711 histoname = labelname+
"_NumeratorPFPhi";
5712 title = labelname+
"NumeratorPFPhi;PF #Phi";
5714 NumeratorPFPhi->
getTH1();
5716 histoname = labelname+
"_NumeratorPFEtaPhi";
5717 title = labelname+
"NumeratorPFEtaPhi;PF #eta;PF #Phi ";
5719 NumeratorPFEtaPhi->
getTH1();
5721 histoname = labelname+
"_NumeratorPFEtaBarrel";
5722 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
5724 NumeratorPFEtaBarrel->
getTH1();
5726 histoname = labelname+
"_NumeratorPFPhiBarrel";
5727 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
5729 NumeratorPFPhiBarrel->
getTH1();
5731 histoname = labelname+
"_NumeratorPFEtaEndcap";
5732 title = labelname+
"NumeratorPFEtaEndcap;PF #eta ";
5734 NumeratorPFEtaEndcap->
getTH1();
5736 histoname = labelname+
"_NumeratorPFPhiEndcap";
5737 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
5739 NumeratorPFPhiEndcap->
getTH1();
5741 histoname = labelname+
"_NumeratorPFEtaForward";
5742 title = labelname+
"NumeratorPFEtaForward;PF #eta ";
5744 NumeratorPFEtaForward->
getTH1();
5746 histoname = labelname+
"_NumeratorPFPhiForward";
5747 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
5749 NumeratorPFPhiForward->
getTH1();
5751 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
5752 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
5754 NumeratorPFEta_LowpTcut->
getTH1();
5756 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
5757 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
5759 NumeratorPFPhi_LowpTcut->
getTH1();
5761 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
5762 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5763 MonitorElement * NumeratorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5764 NumeratorPFEtaPhi_LowpTcut->
getTH1();
5766 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
5767 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
5769 NumeratorPFEta_MedpTcut->
getTH1();
5771 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
5772 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
5774 NumeratorPFPhi_MedpTcut->
getTH1();
5776 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
5777 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5778 MonitorElement * NumeratorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5779 NumeratorPFEtaPhi_MedpTcut->
getTH1();
5781 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
5782 title = labelname+
"NumeratorPFEta_HighpTcut;PF #eta ";
5784 NumeratorPFEta_HighpTcut->
getTH1();
5786 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
5787 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
5789 NumeratorPFPhi_HighpTcut->
getTH1();
5791 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
5792 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5793 MonitorElement * NumeratorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5794 NumeratorPFEtaPhi_HighpTcut->
getTH1();
5796 histoname = labelname+
"_DenominatorPFMHT";
5797 title = labelname+
"DenominatorPFMHT;PFMHT[GeV/c]";
5799 DenominatorPFMHT->
getTH1();
5801 histoname = labelname+
"_DenominatorPFPt";
5802 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
5804 DenominatorPFPt->
getTH1();
5806 histoname = labelname+
"_DenominatorPFPtBarrel";
5807 title = labelname+
"DenominatorPFPtBarrel;PF Pt[GeV/c]";
5809 DenominatorPFPtBarrel->
getTH1();
5811 histoname = labelname+
"_DenominatorPFPtEndcap";
5812 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
5814 DenominatorPFPtEndcap->
getTH1();
5816 histoname = labelname+
"_DenominatorPFPtForward";
5817 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c]";
5819 DenominatorPFPtForward->
getTH1();
5821 histoname = labelname+
"_DenominatorPFEta";
5822 title = labelname+
"DenominatorPFEta;PF #eta ";
5824 DenominatorPFEta->
getTH1();
5826 histoname = labelname+
"_DenominatorPFPhi";
5827 title = labelname+
"DenominatorPFPhi;PF #Phi";
5829 DenominatorPFPhi->
getTH1();
5831 histoname = labelname+
"_DenominatorPFEtaPhi";
5832 title = labelname+
"DenominatorPFEtaPhi;PF #eta ;PF #Phi ";
5834 DenominatorPFEtaPhi->
getTH1();
5836 histoname = labelname+
"_DenominatorPFEtaBarrel";
5837 title = labelname+
"DenominatorPFEtaBarrel;PF #eta ";
5839 DenominatorPFEtaBarrel->
getTH1();
5841 histoname = labelname+
"_DenominatorPFPhiBarrel";
5842 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
5844 DenominatorPFPhiBarrel->
getTH1();
5846 histoname = labelname+
"_DenominatorPFEtaEndcap";
5847 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
5849 DenominatorPFEtaEndcap->
getTH1();
5851 histoname = labelname+
"_DenominatorPFPhiEndcap";
5852 title = labelname+
"DenominatorPFPhiEndcap;PF #Phi";
5854 DenominatorPFPhiEndcap->
getTH1();
5856 histoname = labelname+
"_DenominatorPFEtaForward";
5857 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
5859 DenominatorPFEtaForward->
getTH1();
5861 histoname = labelname+
"_DenominatorPFPhiForward";
5862 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
5864 DenominatorPFPhiForward->
getTH1();
5866 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
5867 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
5869 DenominatorPFEta_LowpTcut->
getTH1();
5871 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
5872 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
5874 DenominatorPFPhi_LowpTcut->
getTH1();
5876 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
5877 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5878 MonitorElement * DenominatorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5879 DenominatorPFEtaPhi_LowpTcut->
getTH1();
5881 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
5882 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
5884 DenominatorPFEta_MedpTcut->
getTH1();
5886 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
5887 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
5889 DenominatorPFPhi_MedpTcut->
getTH1();
5891 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
5892 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5893 MonitorElement * DenominatorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5894 DenominatorPFEtaPhi_MedpTcut->
getTH1();
5896 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
5897 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
5899 DenominatorPFEta_HighpTcut->
getTH1();
5901 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
5902 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
5904 DenominatorPFPhi_HighpTcut->
getTH1();
5906 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
5907 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5908 MonitorElement * DenominatorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5909 DenominatorPFEtaPhi_HighpTcut->
getTH1();
5911 histoname = labelname+
"_PFDeltaR";
5912 title = labelname+
"PFDeltaR;";
5916 histoname = labelname+
"_PFDeltaPhi";
5917 title = labelname+
"PFDeltaPhi;";
5921 v->setEffHistos(NumeratorPt,
5933 NumeratorEtaForward,
5934 NumeratorPhiForward,
5935 NumeratorEta_LowpTcut,
5936 NumeratorPhi_LowpTcut,
5937 NumeratorEtaPhi_LowpTcut,
5938 NumeratorEta_MedpTcut,
5939 NumeratorPhi_MedpTcut,
5940 NumeratorEtaPhi_MedpTcut,
5941 NumeratorEta_HighpTcut,
5942 NumeratorPhi_HighpTcut,
5943 NumeratorEtaPhi_HighpTcut,
5946 DenominatorPtBarrel,
5947 DenominatorPtEndcap,
5948 DenominatorPtForward,
5953 DenominatorEtaBarrel,
5954 DenominatorPhiBarrel,
5955 DenominatorEtaEndcap,
5956 DenominatorPhiEndcap,
5957 DenominatorEtaForward,
5958 DenominatorPhiForward,
5959 DenominatorEta_LowpTcut,
5960 DenominatorPhi_LowpTcut,
5961 DenominatorEtaPhi_LowpTcut,
5962 DenominatorEta_MedpTcut,
5963 DenominatorPhi_MedpTcut,
5964 DenominatorEtaPhi_MedpTcut,
5965 DenominatorEta_HighpTcut,
5966 DenominatorPhi_HighpTcut,
5967 DenominatorEtaPhi_HighpTcut,
5973 NumeratorPFPtBarrel,
5974 NumeratorPFPtEndcap,
5975 NumeratorPFPtForward,
5979 NumeratorPFEtaBarrel,
5980 NumeratorPFPhiBarrel,
5981 NumeratorPFEtaEndcap,
5982 NumeratorPFPhiEndcap,
5983 NumeratorPFEtaForward,
5984 NumeratorPFPhiForward,
5985 NumeratorPFEta_LowpTcut,
5986 NumeratorPFPhi_LowpTcut,
5987 NumeratorPFEtaPhi_LowpTcut,
5988 NumeratorPFEta_MedpTcut,
5989 NumeratorPFPhi_MedpTcut,
5990 NumeratorPFEtaPhi_MedpTcut,
5991 NumeratorPFEta_HighpTcut,
5992 NumeratorPFPhi_HighpTcut,
5993 NumeratorPFEtaPhi_HighpTcut,
5996 DenominatorPFPtBarrel,
5997 DenominatorPFPtEndcap,
5998 DenominatorPFPtForward,
6001 DenominatorPFEtaPhi,
6002 DenominatorPFEtaBarrel,
6003 DenominatorPFPhiBarrel,
6004 DenominatorPFEtaEndcap,
6005 DenominatorPFPhiEndcap,
6006 DenominatorPFEtaForward,
6007 DenominatorPFPhiForward,
6008 DenominatorPFEta_LowpTcut,
6009 DenominatorPFPhi_LowpTcut,
6010 DenominatorPFEtaPhi_LowpTcut,
6011 DenominatorPFEta_MedpTcut,
6012 DenominatorPFPhi_MedpTcut,
6013 DenominatorPFEtaPhi_MedpTcut,
6014 DenominatorPFEta_HighpTcut,
6015 DenominatorPFPhi_HighpTcut,
6016 DenominatorPFEtaPhi_HighpTcut,
6023 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
6025 histoname = labelname+
"_NumeratorAvrgPt";
6026 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c] ";
6030 histoname = labelname+
"_NumeratorAvrgEta";
6031 title = labelname+
"NumeratorAvrgEta;Calo #eta ";
6035 histoname = labelname+
"_DenominatorAvrgPt";
6036 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
6040 histoname = labelname+
"_DenominatorAvrgEta";
6041 title = labelname+
"DenominatorAvrgEta;Calo #eta ";
6043 DenominatorEta->
getTH1();
6045 histoname = labelname+
"_DeltaR";
6046 title = labelname+
"DeltaR;";
6050 histoname = labelname+
"_DeltaPhi";
6051 title = labelname+
"DeltaPhi;";
6055 histoname = labelname+
"_NumeratorAvrgPFPt";
6056 title = labelname+
"NumeratorAvrgPFPt;PF pT [GeV/c] ";
6060 histoname = labelname+
"_NumeratorAvrgPFEta";
6061 title = labelname+
"NumeratorAvrgPFEta;PF #eta ";
6063 NumeratorPFEta->
getTH1();
6065 histoname = labelname+
"_DenominatorAvrgPFPt";
6066 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
6068 DenominatorPFPt->
getTH1();
6070 histoname = labelname+
"_DenominatorAvrgPFEta";
6071 title = labelname+
"DenominatorAvrgPFEta;PF #eta ";
6073 DenominatorPFEta->
getTH1();
6075 histoname = labelname+
"_PFDeltaR";
6076 title = labelname+
"PFDeltaR;";
6080 histoname = labelname+
"_PFDeltaPhi";
6081 title = labelname+
"PFDeltaPhi;";
6085 v->setEffHistos( dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6086 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6087 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6088 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6089 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6090 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6091 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6092 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6093 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6094 dummy, dummy, dummy, dummy
6100 histoname = labelname+
"_NumeratorPt";
6101 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
6102 title = labelname+
"NumeratorPt;CaloMET[GeV/c]";
6104 title = labelname+
"NumeratorPt;PFMET[GeV/c]";
6108 histoname = labelname+
"_NumeratorPhi";
6109 title = labelname+
"NumeratorPhi;#Phi";
6113 histoname = labelname+
"_DenominatorPt";
6114 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
6115 title = labelname+
"DenominatorPt;CaloMET[GeV/c]";
6117 title = labelname+
"DenominatorPt;PFMET[GeV/c]";
6121 histoname = labelname+
"_DenominatorPhi";
6122 title = labelname+
"DenominatorPhi;#Phi";
6124 DenominatorPhi->
getTH1();
6126 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
6127 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6128 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, dummy, dummy,
6129 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6130 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6131 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6132 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6133 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6134 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6135 dummy, dummy, dummy, dummy
6153 double PtMax_ = 1000.;
6154 double EtaMin_ = -5.;
6155 double EtaMax_ = 5.;
6156 double PhiMin_ = -3.14159;
6157 double PhiMax_ = 3.14159;
6170 histoname = labelname+
"_TriggerSummary";
6171 title = labelname+
"Summary of trigger levels";
6174 std::vector<std::string> trigger;
6175 trigger.push_back(
"Nevt");
6176 trigger.push_back(
"L1 failed");
6177 trigger.push_back(
"L1 & HLT failed");
6178 trigger.push_back(
"L1 failed but not HLT");
6179 trigger.push_back(
"L1 passed");
6180 trigger.push_back(
"L1 & HLT passed");
6181 trigger.push_back(
"L1 passed but not HLT");
6183 for(
unsigned int i =0;
i < trigger.size();
i++)
6186 if((
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
6187 histoname = labelname+
"_JetPt";
6188 title = labelname+
"Leading jet pT;Pt[GeV/c]";
6192 histoname = labelname+
"_JetEtaVsPt";
6193 title = labelname+
"Leading jet #eta vs pT;#eta;Pt[GeV/c]";
6197 histoname = labelname+
"_JetPhiVsPt";
6198 title = labelname+
"Leading jet #Phi vs pT;#Phi;Pt[GeV/c]";
6202 v->setDgnsHistos( TriggerSummary, dummy, JetPt, JetEtaVsPt, JetPhiVsPt, dummy, dummy, dummy, dummy, dummy, dummy);
6205 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
6206 histoname = labelname+
"_JetSize";
6207 title = labelname+
"Jet Size;multiplicity";
6211 histoname = labelname+
"_AvergPt";
6212 title = labelname+
"Average Pt;Pt[GeV/c]";
6216 histoname = labelname+
"_AvergEta";
6217 title = labelname+
"Average Eta;#eta";
6221 histoname = labelname+
"_PhiDifference";
6222 title = labelname+
"#Delta#Phi;#Delta#Phi";
6226 histoname = labelname+
"_Pt3Jet";
6227 title = labelname+
"Pt of 3rd Jet;Pt[GeV/c]";
6231 histoname = labelname+
"_Pt12VsPt3Jet";
6232 title = labelname+
"Pt of 3rd Jet vs Average Pt of leading jets;Avergage Pt[GeV/c]; Pt of 3rd Jet [GeV/c]";
6236 histoname = labelname+
"_Pt12VsPhi12";
6237 title = labelname+
"Average Pt of leading jets vs #Delta#Phi between leading jets;Avergage Pt[GeV/c]; #Delta#Phi";
6241 v->setDgnsHistos( TriggerSummary, JetSize, dummy, dummy, dummy, Pt12, Eta12, Phi12, Pt3, Pt12Pt3, Pt12Phi12);
6244 if((
v->getTriggerType().compare(
"MET_Trigger") == 0)){
6245 histoname = labelname+
"_MET";
6246 title = labelname+
"MET;Pt[GeV/c]";
6250 v->setDgnsHistos(TriggerSummary, dummy, MET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
6253 if((
v->getTriggerType().compare(
"TET_Trigger") == 0)){
6254 histoname = labelname+
"_TET";
6255 title = labelname+
"TET;Pt[GeV/c]";
6259 v->setDgnsHistos(TriggerSummary, dummy, TET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
unsigned int size() const
number of trigger paths in trigger table
PathInfoCollection hltPathsAllWrtMu_
tuple met
____________________________________________________________________________||
const std::string moduleType(const std::string &module) const
C++ class name of module.
const std::string & triggerName(unsigned int triggerIndex) const
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
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 * bookFloat(const char *name)
Book float.
MonitorElement * NVertices
std::vector< std::string > pathFilter_
std::vector< std::string > MBTrigPaths_
MonitorElement * correlation_AllWrtMu
std::vector< std::string > pathRejectKeyword_
PathInfoCollection hltPathsEffWrtMB_
std::vector< std::string > MuonTrigPaths_
const std::vector< std::string > & moduleLabels(unsigned int trigger) const
label(s) of module(s) on a trigger path
std::vector< std::pair< std::string, std::string > > custompathnamepairs_
PathInfoCollection hltPathsAll_
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
const std::string getL1ConditionModuleName(const std::string &pathname)
MonitorElement * correlation_AllWrtMB
PathInfoCollection hltPathsEffWrtMu_
HLTConfigProvider hltConfig_
MonitorElement * correlation_All
MonitorElement * rate_AllWrtMB
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * rate_AllWrtMu
void setCurrentFolder(const std::string &fullpath)
MonitorElement * rate_All
PathInfoCollection hltPathsEff_