2708 LogDebug(
"HLTJetMETDQMSource") <<
"HLTConfigProvider failed to initialize.";
2724 for (
unsigned int i=0;
i!=
n; ++
i) {
2725 bool denomFound =
false;
2726 bool numFound =
false;
2727 bool mbFound =
false;
2728 bool muFound =
false;
2734 std::vector<std::string>::const_iterator controlPathname =
pathFilter_.begin();
2735 for(;controlPathname!=
pathFilter_.end(); ++controlPathname){
2736 if(pathname.find((*controlPathname)) != std::string::npos){
2741 if(checkPath==
false)
continue;
2744 std::vector<std::string>::const_iterator rejectPathname =
pathRejectKeyword_.begin();
2746 if(pathname.find((*rejectPathname)) != std::string::npos){
2751 if(checkPath==
false)
continue;
2759 unsigned int usedPrescale = 1;
2760 unsigned int objectType = 0;
2765 if(pathname.find(
"Jet") != std::string::npos
2766 && !(pathname.find(
"DoubleJet") != std::string::npos)
2767 && !(pathname.find(
"DiJet") != std::string::npos)
2768 && !(pathname.find(
"DiPFJet") != std::string::npos)
2769 && !(pathname.find(
"BTag") != std::string::npos)
2770 && !(pathname.find(
"Mu") != std::string::npos)
2771 && !(pathname.find(
"Fwd") != std::string::npos)){
2772 triggerType =
"SingleJet_Trigger";
2775 if(pathname.find(
"DiJet") != std::string::npos
2776 || pathname.find(
"DiPFJet") != std::string::npos
2777 || pathname.find(
"DoubleJet") != std::string::npos){
2778 triggerType =
"DiJet_Trigger";
2781 if(pathname.find(
"MET") != std::string::npos){
2782 triggerType =
"MET_Trigger";
2785 if(pathname.find(
"HT") != std::string::npos) {
2786 triggerType =
"TET_Trigger";
2792 && !(pathname.find(
"DiJet") != std::string::npos)
2793 && !(pathname.find(
"DiPFJet") != std::string::npos)
2794 && !(pathname.find(
"DoubleJet") != std::string::npos)){
2800 && ((pathname.find(
"DiJet") != std::string::npos)
2801 || (pathname.find(
"DiPFJet") != std::string::npos))){
2822 for (
unsigned int i=0;
i!=
n; ++
i){
2824 if(HLTname == pathname) numFound =
true;
2825 if(HLTname == dpathname) denomFound =
true;
2826 if(HLTname.find(
MBTrigPaths_[0]) != std::string::npos) mbFound =
true;
2827 if(HLTname.find(
MuonTrigPaths_[0]) != std::string::npos) muFound =
true;
2837 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2846 filtername = *numpathmodule;
2862 if(objectType != 0 && denomFound){
2864 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2873 Denomfiltername = *numpathmodule;
2877 if(objectType != 0 && numFound){
2879 cout<<
"=Pathname= "<<pathname
2880 <<
" | =Denompath= "<<dpathname
2881 <<
" | =Filtername= "<<filtername
2882 <<
" | =Denomfiltername= "<<Denomfiltername
2883 <<
" | =L1pathname= "<<l1pathname
2884 <<
" | =ObjectType= "<<objectType<<endl;
2885 if(!((pathname.find(
"HT") != std::string::npos) || (pathname.find(
"Quad") != std::string::npos))){
2886 hltPathsAll_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname, filtername, Denomfiltername,
processname_, objectType, triggerType));
2887 if(muFound)
hltPathsAllWrtMu_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2888 filtername, Denomfiltername,
processname_, objectType, triggerType));
2889 if(muFound)
hltPathsEffWrtMu_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2890 filtername, Denomfiltername,
processname_, objectType, triggerType));
2891 if(mbFound)
hltPathsEffWrtMB_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2892 filtername, Denomfiltername,
processname_, objectType, triggerType));
2894 filtername, Denomfiltername,
processname_, objectType, triggerType));
2897 filtername, Denomfiltername,
processname_, objectType, triggerType));
2901 if (
verbose_)
cout <<
"get names for efficicncy------------------"<< endl;
2906 unsigned int usedPrescale = 1;
2907 unsigned int objectType = 0;
2911 for (std::vector<std::pair<std::string, std::string> >::iterator custompathnamepair =
custompathnamepairs_.begin();
2914 std::string dpathname = custompathnamepair->second;
2915 bool numFound =
false;
2916 bool denomFound =
false;
2918 for (
unsigned int i=0;
i!=
n; ++
i) {
2920 if(HLTname.find(pathname)!=std::string::npos){numFound =
true; pathname = HLTname;}
2921 if(HLTname.find(dpathname)!=std::string::npos){denomFound =
true; dpathname = HLTname;}
2923 if(numFound && denomFound){
2924 if (pathname.find(
"Jet") != std::string::npos
2925 && !(pathname.find(
"DiJet") != std::string::npos)
2926 && !(pathname.find(
"DiPFJet") != std::string::npos)
2927 && !(pathname.find(
"DoubleJet") != std::string::npos)
2928 && !(pathname.find(
"BTag") != std::string::npos)
2929 && !(pathname.find(
"Mu") != std::string::npos)
2930 && !(pathname.find(
"Fwd") != std::string::npos)){
2931 triggerType =
"SingleJet_Trigger";
2934 if (pathname.find(
"DiJet") != std::string::npos
2935 || pathname.find(
"DiPFJet") != std::string::npos
2936 || pathname.find(
"DoubleJet") != std::string::npos ){
2937 triggerType =
"DiJet_Trigger";
2940 if (pathname.find(
"MET") != std::string::npos ){
2941 triggerType =
"MET_Trigger";
2944 if (pathname.find(
"TET") != std::string::npos ){
2945 triggerType =
"TET_Trigger";
2951 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2960 filtername = *numpathmodule;
2963 if(objectType != 0){
2965 for(std::vector<std::string>::iterator numpathmodule = numpathmodules.begin(); numpathmodule!= numpathmodules.end(); ++numpathmodule ) {
2974 Denomfiltername = *numpathmodule;
2978 <<
"==denompath=="<<dpathname
2979 <<
"==filtername=="<<filtername
2980 <<
"==denomfiltername=="<<Denomfiltername
2981 <<
"==l1pathname=="<<l1pathname
2982 <<
"==objectType=="<<objectType<<endl;
2983 hltPathsEff_.push_back(PathInfo(usedPrescale, dpathname, pathname, l1pathname,
2984 filtername, Denomfiltername,
processname_, objectType, triggerType));
2990 if(
verbose_)
cout<<
"== end hltPathsEff_.push_back ======" << endl;
3000 double TrigMin_ = -0.5;
3005 rate_All =
dbe->
book1D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_);
3007 histonm =
"JetMET_TriggerRate_Correlation";
3008 histot =
"JetMET TriggerRate Correlation Summary;y&&!x;x&&y";
3009 correlation_All =
dbe->
book2D(histonm.c_str(),histot.c_str(),TrigBins_,TrigMin_,TrigMax_,TrigBins_,TrigMin_,TrigMax_);
3011 histonm =
"JetMET_NVertices";
3012 histot =
"No. of vertices";
3015 histonm =
"JetMET_PVZ";
3016 histot =
"Primary Vertex Z pos";
3017 PVZ =
dbe->
book1D(histonm.c_str(),histot.c_str(),100,-50.,50.);
3020 histonm=
"JetMET_TriggerRate_WrtMuTrigger";
3021 histot=
"JetMET TriggerRate Summary Wrt Muon Trigger ";
3024 histonm=
"JetMET_TriggerRate_Correlation_WrtMuTrigger";
3025 histot=
"JetMET TriggerRate Correlation Summary Wrt Muon Trigger;y&&!x;x&&y";
3028 histonm=
"JetMET_TriggerRate_WrtMBTrigger";
3029 histot=
"JetMET TriggerRate Summary Wrt MB Trigger";
3032 histonm=
"JetMET_TriggerRate_Correlation_WrtMBTrigger";
3033 histot=
"JetMET TriggerRate Correlation Wrt MB Trigger;y&&!x;x&&y";
3042 labelnm =
v->getPath();
3044 for(
int ibin=1; ibin<nbins+1; ibin++){
3045 const char * binLabel =
rate_All->
getTH1()->GetXaxis()->GetBinLabel(ibin);
3047 if(binLabel_str.compare(labelnm)==0)
break;
3048 if(binLabel[0]==
'\0'){
3075 double PtMax_ = 1000.;
3079 double EtaMin_ = -5.;
3080 double EtaMax_ = 5.;
3083 double PhiMin_ = -3.5;
3084 double PhiMax_ = 3.5;
3087 double ResMin_ = -1.5;
3088 double ResMax_ = 1.5;
3105 if(
v->getObjectType() ==
trigger::TriggerJet &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
3107 histoname = labelname+
"_recObjN";
3108 title = labelname+
"_recObjN;Reco multiplicity()"+trigPath;
3112 histoname = labelname+
"_recObjPt";
3113 title = labelname+
"_recObjPt; Reco Pt[GeV/c]"+trigPath;
3117 histoname = labelname+
"_recObjPtBarrel";
3118 title = labelname+
"_recObjPtBarrel;Reco Pt[GeV/c]"+trigPath;
3122 histoname = labelname+
"_recObjPtEndcap";
3123 title = labelname+
"_recObjPtEndcap;Reco Pt[GeV/c]"+trigPath;
3127 histoname = labelname+
"_recObjPtForward";
3128 title = labelname+
"_recObjPtForward;Reco Pt[GeV/c]"+trigPath;
3132 histoname = labelname+
"_recObjEta";
3133 title = labelname+
"_recObjEta;Reco #eta"+trigPath;
3137 histoname = labelname+
"_recObjPhi";
3138 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3142 histoname = labelname+
"_recObjEtaPhi";
3143 title = labelname+
"_recObjEtaPhi;Reco #eta;Reco #Phi"+trigPath;
3147 histoname = labelname+
"_l1ObjPt";
3148 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3152 histoname = labelname+
"_l1ObjEta";
3153 title = labelname+
"_l1ObjEta;L1 #eta"+trigPath;
3157 histoname = labelname+
"_l1ObjPhi";
3158 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3162 histoname = labelname+
"_l1ObjEtaPhi";
3163 title = labelname+
"_l1ObjEtaPhi;L1 #eta;L1 #Phi"+trigPath;
3167 histoname = labelname+
"_l1ObjN";
3168 title = labelname+
"_l1ObjN;L1 multiplicity"+trigPath;
3172 histoname = labelname+
"_l1ObjPtBarrel";
3173 title = labelname+
"_l1ObjPtBarrel;L1 Pt[GeV/c]"+trigPath;
3177 histoname = labelname+
"_l1ObjPtEndcap";
3178 title = labelname+
"_l1ObjPtEndcap;L1 Pt[GeV/c]"+trigPath;
3182 histoname = labelname+
"_l1ObjPtForward";
3183 title = labelname+
"_l1ObjPtForward;L1 Pt[GeV/c]"+trigPath;
3187 histoname = labelname+
"_hltObjN";
3188 title = labelname+
"_hltObjN;HLT multiplicity"+trigPath;
3192 histoname = labelname+
"_hltObjPtBarrel";
3193 title = labelname+
"_hltObjPtBarrel;HLT Pt[GeV/c]"+trigPath;
3197 histoname = labelname+
"_hltObjPtEndcap";
3198 title = labelname+
"_hltObjPtEndcap;HLT Pt[GeV/c]"+trigPath;
3202 histoname = labelname+
"_hltObjPtForward";
3203 title = labelname+
"_hltObjPtForward;HLT Pt[GeV/c]"+trigPath;
3207 histoname = labelname+
"_hltObjPt";
3208 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3212 histoname = labelname+
"_hltObjEta";
3213 title = labelname+
"_hltObjEta;HLT #eta"+trigPath;
3217 histoname = labelname+
"_hltObjPhi";
3218 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3222 histoname = labelname+
"_hltObjEtaPhi";
3223 title = labelname+
"_hltObjEtaPhi;HLT #eta;HLT #Phi"+trigPath;
3227 histoname = labelname+
"_l1HLTPtResolution";
3228 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3230 PtResolution_L1HLT->
getTH1();
3232 histoname = labelname+
"_l1HLTEtaResolution";
3233 title = labelname+
"_l1HLTEtaResolution;(#eta(L1)-#eta(HLT))/#eta(L1)"+trigPath;
3235 EtaResolution_L1HLT->
getTH1();
3237 histoname = labelname+
"_l1HLTPhiResolution";
3238 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3240 PhiResolution_L1HLT->
getTH1();
3242 histoname = labelname+
"_l1HLTPtCorrelation";
3243 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3245 PtCorrelation_L1HLT->
getTH1();
3247 histoname = labelname+
"_l1HLTEtaCorrelation";
3248 title = labelname+
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)"+trigPath;
3249 MonitorElement * EtaCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3250 EtaCorrelation_L1HLT->
getTH1();
3252 histoname = labelname+
"_l1HLTPhiCorrelation";
3253 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3254 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3255 PhiCorrelation_L1HLT->
getTH1();
3257 histoname = labelname+
"_hltRecObjPtResolution";
3258 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3260 PtResolution_HLTRecObj->
getTH1();
3262 histoname = labelname+
"_hltRecObjEtaResolution";
3263 title = labelname+
"_hltRecObjEtaResolution;(#eta(HLT)-#eta(Reco))/#eta(HLT)"+trigPath;
3265 EtaResolution_HLTRecObj->
getTH1();
3267 histoname = labelname+
"_hltRecObjPhiResolution";
3268 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3270 PhiResolution_HLTRecObj->
getTH1();
3272 histoname = labelname+
"_hltRecObjPtCorrelation";
3273 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3275 PtCorrelation_HLTRecObj->
getTH1();
3277 histoname = labelname+
"_hltRecObjEtaCorrelation";
3278 title = labelname+
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)"+trigPath;
3279 MonitorElement * EtaCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3280 EtaCorrelation_HLTRecObj->
getTH1();
3282 histoname = labelname+
"_hltRecObjPhiCorrelation";
3283 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3284 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3285 PhiCorrelation_HLTRecObj->
getTH1();
3312 EtaResolution_L1HLT,
3313 PhiResolution_L1HLT,
3314 PtResolution_HLTRecObj,
3315 EtaResolution_HLTRecObj,
3316 PhiResolution_HLTRecObj,
3317 PtCorrelation_L1HLT,
3318 EtaCorrelation_L1HLT,
3319 PhiCorrelation_L1HLT,
3320 PtCorrelation_HLTRecObj,
3321 EtaCorrelation_HLTRecObj,
3322 PhiCorrelation_HLTRecObj,
3337 histoname = labelname+
"_RecObjAveragePt";
3338 title = labelname+
"_RecObjAveragePt;Reco Average Pt[GeV/c]"+trigPath;
3342 histoname = labelname+
"_RecObjAverageEta";
3343 title = labelname+
"_RecObjAverageEta;Reco Average #eta"+trigPath;
3347 histoname = labelname+
"_RecObjPhiDifference";
3348 title = labelname+
"_RecObjPhiDifference;Reco #Delta#Phi"+trigPath;
3350 jetPhiDifference->
getTH1();
3352 histoname = labelname+
"_hltObjAveragePt";
3353 title = labelname+
"_hltObjAveragePt;HLT Average Pt[GeV/c]"+trigPath;
3357 histoname = labelname+
"_hltObjAverageEta";
3358 title = labelname+
"_hltObjAverageEta;HLT Average #eta"+trigPath;
3362 histoname = labelname+
"_hltObjPhiDifference";
3363 title = labelname+
"_hltObjPhiDifference;Reco #Delta#Phi"+trigPath;
3365 hltPhiDifference->
getTH1();
3417 histoname = labelname+
"_recObjPt";
3418 title = labelname+
"_recObjPt;Reco Pt[GeV/c]"+trigPath;
3422 histoname = labelname+
"_recObjPhi";
3423 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3427 histoname = labelname+
"_l1ObjPt";
3428 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3432 histoname = labelname+
"_l1ObjPhi";
3433 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3437 histoname = labelname+
"_hltObjPt";
3438 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3442 histoname = labelname+
"_hltObjPhi";
3443 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3447 histoname = labelname+
"_l1HLTPtResolution";
3448 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3450 PtResolution_L1HLT->
getTH1();
3452 histoname = labelname+
"_l1HLTPhiResolution";
3453 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3455 PhiResolution_L1HLT->
getTH1();
3457 histoname = labelname+
"_l1HLTPtCorrelation";
3458 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3460 PtCorrelation_L1HLT->
getTH1();
3462 histoname = labelname+
"_l1HLTPhiCorrelation";
3463 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3464 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3465 PhiCorrelation_L1HLT->
getTH1();
3467 histoname = labelname+
"_hltRecObjPtResolution";
3468 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3470 PtResolution_HLTRecObj->
getTH1();
3472 histoname = labelname+
"_hltRecObjPhiResolution";
3473 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3475 PhiResolution_HLTRecObj->
getTH1();
3477 histoname = labelname+
"_hltRecObjPtCorrelation";
3478 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3480 PtCorrelation_HLTRecObj->
getTH1();
3482 histoname = labelname+
"_hltRecObjPhiCorrelation";
3483 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3484 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3485 PhiCorrelation_HLTRecObj->
getTH1();
3513 PhiResolution_L1HLT,
3514 PtResolution_HLTRecObj,
3516 PhiResolution_HLTRecObj,
3517 PtCorrelation_L1HLT,
3519 PhiCorrelation_L1HLT,
3520 PtCorrelation_HLTRecObj,
3522 PhiCorrelation_HLTRecObj,
3545 double PtMax_ = 1000.;
3548 double EtaMin_ = -5.;
3549 double EtaMax_ = 5.;
3552 double PhiMin_ = -3.5;
3553 double PhiMax_ = 3.5;
3556 double ResMin_ = -1.5;
3557 double ResMax_ = 1.5;
3575 if(
v->getObjectType() ==
trigger::TriggerJet &&
v->getTriggerType().compare(
"SingleJet_Trigger") == 0){
3577 histoname = labelname+
"_recObjN";
3578 title = labelname+
"_recObjN;Reco multiplicity()"+trigPath;
3582 histoname = labelname+
"_recObjPt";
3583 title = labelname+
"_recObjPt; Reco Pt[GeV/c]"+trigPath;
3587 histoname = labelname+
"_recObjPtBarrel";
3588 title = labelname+
"_recObjPtBarrel;Reco Pt[GeV/c]"+trigPath;
3592 histoname = labelname+
"_recObjPtEndcap";
3593 title = labelname+
"_recObjPtEndcap;Reco Pt[GeV/c]"+trigPath;
3597 histoname = labelname+
"_recObjPtForward";
3598 title = labelname+
"_recObjPtForward;Reco Pt[GeV/c]"+trigPath;
3602 histoname = labelname+
"_recObjEta";
3603 title = labelname+
"_recObjEta;Reco #eta"+trigPath;
3607 histoname = labelname+
"_recObjPhi";
3608 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3612 histoname = labelname+
"_recObjEtaPhi";
3613 title = labelname+
"_recObjEtaPhi;Reco #eta;Reco #Phi"+trigPath;
3617 histoname = labelname+
"_l1ObjN";
3618 title = labelname+
"_l1ObjN;L1 multiplicity"+trigPath;
3622 histoname = labelname+
"_l1ObjPt";
3623 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3627 histoname = labelname+
"_l1ObjPtBarrel";
3628 title = labelname+
"_l1ObjPtBarrel;L1 Pt[GeV/c]"+trigPath;
3632 histoname = labelname+
"_l1ObjPtEndcap";
3633 title = labelname+
"_l1ObjPtEndcap;L1 Pt[GeV/c]"+trigPath;
3637 histoname = labelname+
"_l1ObjPtForward";
3638 title = labelname+
"_l1ObjPtForward;L1 Pt[GeV/c]"+trigPath;
3642 histoname = labelname+
"_l1ObjEta";
3643 title = labelname+
"_l1ObjEta;L1 #eta"+trigPath;
3647 histoname = labelname+
"_l1ObjPhi";
3648 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3652 histoname = labelname+
"_l1ObjEtaPhi";
3653 title = labelname+
"_l1ObjEtaPhi;L1 #eta;L1 #Phi"+trigPath;
3657 histoname = labelname+
"_hltObjN";
3658 title = labelname+
"_hltObjN;HLT multiplicity"+trigPath;
3662 histoname = labelname+
"_hltObjPt";
3663 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3667 histoname = labelname+
"_hltObjPtBarrel";
3668 title = labelname+
"_hltObjPtBarrel;HLT Pt[GeV/c]"+trigPath;
3672 histoname = labelname+
"_hltObjPtEndcap";
3673 title = labelname+
"_hltObjPtEndcap;HLT Pt[GeV/c]"+trigPath;
3677 histoname = labelname+
"_hltObjPtForward";
3678 title = labelname+
"_hltObjPtForward;HLT Pt[GeV/c]"+trigPath;
3682 histoname = labelname+
"_hltObjEta";
3683 title = labelname+
"_hltObjEta;HLT #eta"+trigPath;
3687 histoname = labelname+
"_hltObjPhi";
3688 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3692 histoname = labelname+
"_hltObjEtaPhi";
3693 title = labelname+
"_hltObjEtaPhi;HLT #eta;HLT #Phi"+trigPath;
3697 histoname = labelname+
"_l1HLTPtResolution";
3698 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3700 PtResolution_L1HLT->
getTH1();
3702 histoname = labelname+
"_l1HLTEtaResolution";
3703 title = labelname+
"_l1HLTEtaResolution;(#eta(L1)-#eta(HLT))/#eta(L1)"+trigPath;
3705 EtaResolution_L1HLT->
getTH1();
3707 histoname = labelname+
"_l1HLTPhiResolution";
3708 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3710 PhiResolution_L1HLT->
getTH1();
3712 histoname = labelname+
"_l1HLTPtCorrelation";
3713 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3715 PtCorrelation_L1HLT->
getTH1();
3717 histoname = labelname+
"_l1HLTEtaCorrelation";
3718 title = labelname+
"_l1HLTEtaCorrelation;#eta(L1);#eta(HLT)"+trigPath;
3719 MonitorElement * EtaCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3720 EtaCorrelation_L1HLT->
getTH1();
3722 histoname = labelname+
"_l1HLTPhiCorrelation";
3723 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3724 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3725 PhiCorrelation_L1HLT->
getTH1();
3727 histoname = labelname+
"_hltRecObjPtResolution";
3728 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3730 PtResolution_HLTRecObj->
getTH1();
3732 histoname = labelname+
"_hltRecObjEtaResolution";
3733 title = labelname+
"_hltRecObjEtaResolution;(#eta(HLT)-#eta(Reco))/#eta(HLT)"+trigPath;
3735 EtaResolution_HLTRecObj->
getTH1();
3737 histoname = labelname+
"_hltRecObjPhiResolution";
3738 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3740 PhiResolution_HLTRecObj->
getTH1();
3742 histoname = labelname+
"_hltRecObjPtCorrelation";
3743 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3745 PtCorrelation_HLTRecObj->
getTH1();
3747 histoname = labelname+
"_hltRecObjEtaCorrelation";
3748 title = labelname+
"_hltRecObjEtaCorrelation;#eta(HLT);#eta(Reco)"+trigPath;
3749 MonitorElement * EtaCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Etabins_,EtaMin_,EtaMax_);
3750 EtaCorrelation_HLTRecObj->
getTH1();
3752 histoname = labelname+
"_hltRecObjPhiCorrelation";
3753 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3754 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3755 PhiCorrelation_HLTRecObj->
getTH1();
3782 EtaResolution_L1HLT,
3783 PhiResolution_L1HLT,
3784 PtResolution_HLTRecObj,
3785 EtaResolution_HLTRecObj,
3786 PhiResolution_HLTRecObj,
3787 PtCorrelation_L1HLT,
3788 EtaCorrelation_L1HLT,
3789 PhiCorrelation_L1HLT,
3790 PtCorrelation_HLTRecObj,
3791 EtaCorrelation_HLTRecObj,
3792 PhiCorrelation_HLTRecObj,
3807 histoname = labelname+
"_RecObjAveragePt";
3808 title = labelname+
"_RecObjAveragePt;Reco Average Pt[GeV/c]"+trigPath;
3812 histoname = labelname+
"_RecObjAverageEta";
3813 title = labelname+
"_RecObjAverageEta;Reco Average #eta"+trigPath;
3817 histoname = labelname+
"_RecObjPhiDifference";
3818 title = labelname+
"_RecObjPhiDifference;Reco #Delta#Phi"+trigPath;
3820 jetPhiDifference->
getTH1();
3822 histoname = labelname+
"_hltObjAveragePt";
3823 title = labelname+
"_hltObjAveragePt;HLT Average Pt[GeV/c]"+trigPath;
3827 histoname = labelname+
"_hltObjAverageEta";
3828 title = labelname+
"_hltObjAverageEta;HLT Average #eta"+trigPath;
3832 histoname = labelname+
"_hltObjPhiDifference";
3833 title = labelname+
"_hltObjPhiDifference;Reco #Delta#Phi"+trigPath;
3835 hltPhiDifference->
getTH1();
3887 histoname = labelname+
"_recObjPt";
3888 title = labelname+
"_recObjPt;Reco Pt[GeV/c]"+trigPath;
3892 histoname = labelname+
"_recObjPhi";
3893 title = labelname+
"_recObjPhi;Reco #Phi"+trigPath;
3897 histoname = labelname+
"_l1ObjPt";
3898 title = labelname+
"_l1ObjPt;L1 Pt[GeV/c]"+trigPath;
3902 histoname = labelname+
"_l1ObjPhi";
3903 title = labelname+
"_l1ObjPhi;L1 #Phi"+trigPath;
3907 histoname = labelname+
"_hltObjPt";
3908 title = labelname+
"_hltObjPt;HLT Pt[GeV/c]"+trigPath;
3912 histoname = labelname+
"_hltObjPhi";
3913 title = labelname+
"_hltObjPhi;HLT #Phi"+trigPath;
3917 histoname = labelname+
"_l1HLTPtResolution";
3918 title = labelname+
"_l1HLTPtResolution;(Pt(L1)-Pt(HLT))/Pt(L1)"+trigPath;
3920 PtResolution_L1HLT->
getTH1();
3922 histoname = labelname+
"_l1HLTPhiResolution";
3923 title = labelname+
"_l1HLTPhiResolution;(#Phi(L1)-#Phi(HLT))/#Phi(L1)"+trigPath;
3925 PhiResolution_L1HLT->
getTH1();
3927 histoname = labelname+
"_l1HLTPtCorrelation";
3928 title = labelname+
"_l1HLTPtCorrelation;Pt(L1)[GeV/c];Pt(HLT)[GeV/c]"+trigPath;
3930 PtCorrelation_L1HLT->
getTH1();
3932 histoname = labelname+
"_l1HLTPhiCorrelation";
3933 title = labelname+
"_l1HLTPhiCorrelation;#Phi(L1);#Phi(HLT)"+trigPath;
3934 MonitorElement * PhiCorrelation_L1HLT =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3935 PhiCorrelation_L1HLT->
getTH1();
3937 histoname = labelname+
"_hltRecObjPtResolution";
3938 title = labelname+
"_hltRecObjPtResolution;(Pt(HLT)-Pt(Reco))/Pt(HLT)"+trigPath;
3940 PtResolution_HLTRecObj->
getTH1();
3942 histoname = labelname+
"_hltRecObjPhiResolution";
3943 title = labelname+
"_hltRecObjPhiResolution;(#Phi(HLT)-#Phi(Reco))/#Phi(HLT)"+trigPath;
3945 PhiResolution_HLTRecObj->
getTH1();
3947 histoname = labelname+
"_hltRecObjPtCorrelation";
3948 title = labelname+
"_hltRecObjPtCorrelation;Pt(HLT)[GeV/c];Pt(Reco)[GeV/c]"+trigPath;
3950 PtCorrelation_HLTRecObj->
getTH1();
3952 histoname = labelname+
"_hltRecObjPhiCorrelation";
3953 title = labelname+
"_hltRecObjPhiCorrelation;#Phi(HLT);#Phi(Reco)"+trigPath;
3954 MonitorElement * PhiCorrelation_HLTRecObj =
dbe->
book2D(histoname.c_str(),
title.c_str(),Phibins_,PhiMin_,PhiMax_,Phibins_,PhiMin_,PhiMax_);
3955 PhiCorrelation_HLTRecObj->
getTH1();
3983 PhiResolution_L1HLT,
3984 PtResolution_HLTRecObj,
3986 PhiResolution_HLTRecObj,
3987 PtCorrelation_L1HLT,
3989 PhiCorrelation_L1HLT,
3990 PtCorrelation_HLTRecObj,
3992 PhiCorrelation_HLTRecObj,
4012 double PtMax_ = 1000.;
4015 double EtaMin_ = -5.;
4016 double EtaMax_ = 5.;
4019 double PhiMin_ = -3.5;
4020 double PhiMax_ = 3.5;
4029 std::string subdirName = dirName1 + trgPathName +
"_wrt_" + trgPathNameD;
4037 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
4039 histoname = labelname+
"_NumeratorPt";
4040 title = labelname+
"NumeratorPt;Calo Pt[GeV/c]";
4044 histoname = labelname+
"_NumeratorPtBarrel";
4045 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c] ";
4047 NumeratorPtBarrel->
getTH1();
4049 histoname = labelname+
"_NumeratorPtEndcap";
4050 title = labelname+
"NumeratorPtEndcap;Calo Pt[GeV/c]";
4052 NumeratorPtEndcap->
getTH1();
4054 histoname = labelname+
"_NumeratorPtForward";
4055 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
4057 NumeratorPtForward->
getTH1();
4059 histoname = labelname+
"_NumeratorEta";
4060 title = labelname+
"NumeratorEta;Calo #eta ";
4064 histoname = labelname+
"_NumeratorPhi";
4065 title = labelname+
"NumeratorPhi;Calo #Phi";
4069 histoname = labelname+
"_NumeratorEtaPhi";
4070 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
4072 NumeratorEtaPhi->
getTH1();
4074 histoname = labelname+
"_NumeratorEtaBarrel";
4075 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
4077 NumeratorEtaBarrel->
getTH1();
4079 histoname = labelname+
"_NumeratorPhiBarrel";
4080 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
4082 NumeratorPhiBarrel->
getTH1();
4084 histoname = labelname+
"_NumeratorEtaEndcap";
4085 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
4087 NumeratorEtaEndcap->
getTH1();
4089 histoname = labelname+
"_NumeratorPhiEndcap";
4090 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
4092 NumeratorPhiEndcap->
getTH1();
4094 histoname = labelname+
"_NumeratorEtaForward";
4095 title = labelname+
"NumeratorEtaForward;Calo #eta ";
4097 NumeratorEtaForward->
getTH1();
4099 histoname = labelname+
"_NumeratorPhiForward";
4100 title = labelname+
"NumeratorPhiForward;Calo #Phi";
4102 NumeratorPhiForward->
getTH1();
4104 histoname = labelname+
"_NumeratorEta_LowpTcut";
4105 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
4107 NumeratorEta_LowpTcut->
getTH1();
4109 histoname = labelname+
"_NumeratorPhi_LowpTcut";
4110 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
4112 NumeratorPhi_LowpTcut->
getTH1();
4114 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
4115 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4116 MonitorElement * NumeratorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4117 NumeratorEtaPhi_LowpTcut->
getTH1();
4119 histoname = labelname+
"_NumeratorEta_MedpTcut";
4120 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
4122 NumeratorEta_MedpTcut->
getTH1();
4124 histoname = labelname+
"_NumeratorPhi_MedpTcut";
4125 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
4127 NumeratorPhi_MedpTcut->
getTH1();
4129 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
4130 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4131 MonitorElement * NumeratorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4132 NumeratorEtaPhi_MedpTcut->
getTH1();
4134 histoname = labelname+
"_NumeratorEta_HighpTcut";
4135 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
4137 NumeratorEta_HighpTcut->
getTH1();
4139 histoname = labelname+
"_NumeratorPhi_HighpTcut";
4140 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
4142 NumeratorPhi_HighpTcut->
getTH1();
4144 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
4145 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4146 MonitorElement * NumeratorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4147 NumeratorEtaPhi_HighpTcut->
getTH1();
4149 histoname = labelname+
"_DenominatorPt";
4150 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
4154 histoname = labelname+
"_DenominatorPtBarrel";
4155 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
4157 DenominatorPtBarrel->
getTH1();
4159 histoname = labelname+
"_DenominatorPtEndcap";
4160 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
4162 DenominatorPtEndcap->
getTH1();
4164 histoname = labelname+
"_DenominatorPtForward";
4165 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c] ";
4167 DenominatorPtForward->
getTH1();
4169 histoname = labelname+
"_DenominatorEta";
4170 title = labelname+
"DenominatorEta;Calo #eta ";
4172 DenominatorEta->
getTH1();
4174 histoname = labelname+
"_DenominatorPhi";
4175 title = labelname+
"DenominatorPhi;Calo #Phi";
4177 DenominatorPhi->
getTH1();
4179 histoname = labelname+
"_DenominatorEtaPhi";
4180 title = labelname+
"DenominatorEtaPhi;Calo #eta; Calo #Phi";
4182 DenominatorEtaPhi->
getTH1();
4184 histoname = labelname+
"_DenominatorEtaBarrel";
4185 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
4187 DenominatorEtaBarrel->
getTH1();
4189 histoname = labelname+
"_DenominatorPhiBarrel";
4190 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
4192 DenominatorPhiBarrel->
getTH1();
4194 histoname = labelname+
"_DenominatorEtaEndcap";
4195 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
4197 DenominatorEtaEndcap->
getTH1();
4199 histoname = labelname+
"_DenominatorPhiEndcap";
4200 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
4202 DenominatorPhiEndcap->
getTH1();
4204 histoname = labelname+
"_DenominatorEtaForward";
4205 title = labelname+
"DenominatorEtaForward;Calo #eta ";
4207 DenominatorEtaForward->
getTH1();
4209 histoname = labelname+
"_DenominatorPhiForward";
4210 title = labelname+
"DenominatorPhiForward;Calo #Phi";
4212 DenominatorPhiForward->
getTH1();
4214 histoname = labelname+
"_DenominatorEta_LowpTcut";
4215 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
4217 DenominatorEta_LowpTcut->
getTH1();
4219 histoname = labelname+
"_DenominatorPhi_LowpTcut";
4220 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
4222 DenominatorPhi_LowpTcut->
getTH1();
4224 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
4225 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4226 MonitorElement * DenominatorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4227 DenominatorEtaPhi_LowpTcut->
getTH1();
4229 histoname = labelname+
"_DenominatorEta_MedpTcut";
4230 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
4232 DenominatorEta_MedpTcut->
getTH1();
4234 histoname = labelname+
"_DenominatorPhi_MedpTcut";
4235 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
4237 DenominatorPhi_MedpTcut->
getTH1();
4239 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
4240 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4241 MonitorElement * DenominatorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4242 DenominatorEtaPhi_MedpTcut->
getTH1();
4244 histoname = labelname+
"_DenominatorEta_HighpTcut";
4245 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
4247 DenominatorEta_HighpTcut->
getTH1();
4249 histoname = labelname+
"_DenominatorPhi_HighpTcut";
4250 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
4252 DenominatorPhi_HighpTcut->
getTH1();
4254 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
4255 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4256 MonitorElement * DenominatorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4257 DenominatorEtaPhi_HighpTcut->
getTH1();
4259 histoname = labelname+
"_DeltaR";
4260 title = labelname+
"DeltaR;";
4264 histoname = labelname+
"_DeltaPhi";
4265 title = labelname+
"DeltaPhi;";
4269 histoname = labelname+
"_NumeratorPFMHT";
4270 title = labelname+
"NumeratorPFMHT;PFMHT[GeV/c]";
4272 NumeratorPFMHT->
getTH1();
4274 histoname = labelname+
"_NumeratorPFPt";
4275 title = labelname+
"NumeratorPFPt;PF Pt[GeV/c]";
4279 histoname = labelname+
"_NumeratorPFPtBarrel";
4280 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c] ";
4282 NumeratorPFPtBarrel->
getTH1();
4284 histoname = labelname+
"_NumeratorPFPtEndcap";
4285 title = labelname+
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
4287 NumeratorPFPtEndcap->
getTH1();
4289 histoname = labelname+
"_NumeratorPFPtForward";
4290 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
4292 NumeratorPFPtForward->
getTH1();
4294 histoname = labelname+
"_NumeratorPFEta";
4295 title = labelname+
"NumeratorPFEta;PF #eta ";
4297 NumeratorPFEta->
getTH1();
4299 histoname = labelname+
"_NumeratorPFPhi";
4300 title = labelname+
"NumeratorPFPhi;Calo #Phi";
4302 NumeratorPFPhi->
getTH1();
4304 histoname = labelname+
"_NumeratorPFEtaPhi";
4305 title = labelname+
"NumeratorPFEtaPhi;PF #eta;Calo #Phi";
4307 NumeratorPFEtaPhi->
getTH1();
4309 histoname = labelname+
"_NumeratorPFEtaBarrel";
4310 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
4312 NumeratorPFEtaBarrel->
getTH1();
4314 histoname = labelname+
"_NumeratorPFPhiBarrel";
4315 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
4317 NumeratorPFPhiBarrel->
getTH1();
4319 histoname = labelname+
"_NumeratorPFEtaEndcap";
4320 title = labelname+
"NumeratorPFEtaEndcap;Calo #eta ";
4322 NumeratorPFEtaEndcap->
getTH1();
4324 histoname = labelname+
"_NumeratorPFPhiEndcap";
4325 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
4327 NumeratorPFPhiEndcap->
getTH1();
4329 histoname = labelname+
"_NumeratorPFEtaForward";
4330 title = labelname+
"NumeratorPFEtaForward;Calo #eta ";
4332 NumeratorPFEtaForward->
getTH1();
4334 histoname = labelname+
"_NumeratorPFPhiForward";
4335 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
4337 NumeratorPFPhiForward->
getTH1();
4339 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
4340 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
4342 NumeratorPFEta_LowpTcut->
getTH1();
4344 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
4345 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
4347 NumeratorPFPhi_LowpTcut->
getTH1();
4349 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
4350 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
4351 MonitorElement * NumeratorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4352 NumeratorPFEtaPhi_LowpTcut->
getTH1();
4354 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
4355 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
4357 NumeratorPFEta_MedpTcut->
getTH1();
4359 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
4360 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
4362 NumeratorPFPhi_MedpTcut->
getTH1();
4364 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
4365 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
4366 MonitorElement * NumeratorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4367 NumeratorPFEtaPhi_MedpTcut->
getTH1();
4369 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
4370 title = labelname+
"NumeratorPFEta_HighpTcut;Calo #eta ";
4372 NumeratorPFEta_HighpTcut->
getTH1();
4374 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
4375 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
4377 NumeratorPFPhi_HighpTcut->
getTH1();
4379 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
4380 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
4381 MonitorElement * NumeratorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4382 NumeratorPFEtaPhi_HighpTcut->
getTH1();
4384 histoname = labelname+
"_DenominatorPFMHT";
4385 title = labelname+
"DenominatorPFMHT;PF Pt[GeV/c]";
4387 DenominatorPFMHT->
getTH1();
4389 histoname = labelname+
"_DenominatorPFPt";
4390 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
4392 DenominatorPFPt->
getTH1();
4394 histoname = labelname+
"_DenominatorPFPtBarrel";
4395 title = labelname+
"DenominatorPFPtBarrel;Calo Pt[GeV/c]";
4397 DenominatorPFPtBarrel->
getTH1();
4399 histoname = labelname+
"_DenominatorPFPtEndcap";
4400 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
4402 DenominatorPFPtEndcap->
getTH1();
4404 histoname = labelname+
"_DenominatorPFPtForward";
4405 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c] ";
4407 DenominatorPFPtForward->
getTH1();
4409 histoname = labelname+
"_DenominatorPFEta";
4410 title = labelname+
"DenominatorPFEta;PF #eta ";
4412 DenominatorPFEta->
getTH1();
4414 histoname = labelname+
"_DenominatorPFPhi";
4415 title = labelname+
"DenominatorPFPhi;PF #Phi";
4417 DenominatorPFPhi->
getTH1();
4419 histoname = labelname+
"_DenominatorPFEtaPhi";
4420 title = labelname+
"DenominatorPFEtaPhi;PF #eta; Calo #Phi";
4422 DenominatorPFEtaPhi->
getTH1();
4424 histoname = labelname+
"_DenominatorPFEtaBarrel";
4425 title = labelname+
"DenominatorPFEtaBarrel;Calo #eta ";
4427 DenominatorPFEtaBarrel->
getTH1();
4429 histoname = labelname+
"_DenominatorPFPhiBarrel";
4430 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
4432 DenominatorPFPhiBarrel->
getTH1();
4434 histoname = labelname+
"_DenominatorPFEtaEndcap";
4435 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
4437 DenominatorPFEtaEndcap->
getTH1();
4439 histoname = labelname+
"_DenominatorPFPhiEndcap";
4440 title = labelname+
"DenominatorPFPhiEndcap;Calo #Phi";
4442 DenominatorPFPhiEndcap->
getTH1();
4444 histoname = labelname+
"_DenominatorPFEtaForward";
4445 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
4447 DenominatorPFEtaForward->
getTH1();
4449 histoname = labelname+
"_DenominatorPFPhiForward";
4450 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
4452 DenominatorPFPhiForward->
getTH1();
4454 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
4455 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
4457 DenominatorPFEta_LowpTcut->
getTH1();
4459 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
4460 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
4462 DenominatorPFPhi_LowpTcut->
getTH1();
4464 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
4465 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;Calo #Phi";
4466 MonitorElement * DenominatorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4467 DenominatorPFEtaPhi_LowpTcut->
getTH1();
4469 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
4470 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
4472 DenominatorPFEta_MedpTcut->
getTH1();
4474 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
4475 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
4477 DenominatorPFPhi_MedpTcut->
getTH1();
4479 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
4480 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;Calo #Phi";
4481 MonitorElement * DenominatorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4482 DenominatorPFEtaPhi_MedpTcut->
getTH1();
4484 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
4485 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
4487 DenominatorPFEta_HighpTcut->
getTH1();
4489 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
4490 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
4492 DenominatorPFPhi_HighpTcut->
getTH1();
4494 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
4495 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;Calo #Phi";
4496 MonitorElement * DenominatorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4497 DenominatorPFEtaPhi_HighpTcut->
getTH1();
4499 histoname = labelname+
"_PFDeltaR";
4500 title = labelname+
"PFDeltaR;";
4504 histoname = labelname+
"_PFDeltaPhi";
4505 title = labelname+
"PFDeltaPhi;";
4509 v->setEffHistos(NumeratorPt,
4521 NumeratorEtaForward,
4522 NumeratorPhiForward,
4523 NumeratorEta_LowpTcut,
4524 NumeratorPhi_LowpTcut,
4525 NumeratorEtaPhi_LowpTcut,
4526 NumeratorEta_MedpTcut,
4527 NumeratorPhi_MedpTcut,
4528 NumeratorEtaPhi_MedpTcut,
4529 NumeratorEta_HighpTcut,
4530 NumeratorPhi_HighpTcut,
4531 NumeratorEtaPhi_HighpTcut,
4534 DenominatorPtBarrel,
4535 DenominatorPtEndcap,
4536 DenominatorPtForward,
4541 DenominatorEtaBarrel,
4542 DenominatorPhiBarrel,
4543 DenominatorEtaEndcap,
4544 DenominatorPhiEndcap,
4545 DenominatorEtaForward,
4546 DenominatorPhiForward,
4547 DenominatorEta_LowpTcut,
4548 DenominatorPhi_LowpTcut,
4549 DenominatorEtaPhi_LowpTcut,
4550 DenominatorEta_MedpTcut,
4551 DenominatorPhi_MedpTcut,
4552 DenominatorEtaPhi_MedpTcut,
4553 DenominatorEta_HighpTcut,
4554 DenominatorPhi_HighpTcut,
4555 DenominatorEtaPhi_HighpTcut,
4561 NumeratorPFPtBarrel,
4562 NumeratorPFPtEndcap,
4563 NumeratorPFPtForward,
4567 NumeratorPFEtaBarrel,
4568 NumeratorPFPhiBarrel,
4569 NumeratorPFEtaEndcap,
4570 NumeratorPFPhiEndcap,
4571 NumeratorPFEtaForward,
4572 NumeratorPFPhiForward,
4573 NumeratorPFEta_LowpTcut,
4574 NumeratorPFPhi_LowpTcut,
4575 NumeratorPFEtaPhi_LowpTcut,
4576 NumeratorPFEta_MedpTcut,
4577 NumeratorPFPhi_MedpTcut,
4578 NumeratorPFEtaPhi_MedpTcut,
4579 NumeratorPFEta_HighpTcut,
4580 NumeratorPFPhi_HighpTcut,
4581 NumeratorPFEtaPhi_HighpTcut,
4584 DenominatorPFPtBarrel,
4585 DenominatorPFPtEndcap,
4586 DenominatorPFPtForward,
4589 DenominatorPFEtaPhi,
4590 DenominatorPFEtaBarrel,
4591 DenominatorPFPhiBarrel,
4592 DenominatorPFEtaEndcap,
4593 DenominatorPFPhiEndcap,
4594 DenominatorPFEtaForward,
4595 DenominatorPFPhiForward,
4596 DenominatorPFEta_LowpTcut,
4597 DenominatorPFPhi_LowpTcut,
4598 DenominatorPFEtaPhi_LowpTcut,
4599 DenominatorPFEta_MedpTcut,
4600 DenominatorPFPhi_MedpTcut,
4601 DenominatorPFEtaPhi_MedpTcut,
4602 DenominatorPFEta_HighpTcut,
4603 DenominatorPFPhi_HighpTcut,
4604 DenominatorPFEtaPhi_HighpTcut,
4611 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
4613 histoname = labelname+
"_NumeratorAvrgPt";
4614 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c]";
4618 histoname = labelname+
"_NumeratorAvrgEta";
4619 title = labelname+
"NumeratorAvrgEta;Calo #eta";
4623 histoname = labelname+
"_DenominatorAvrgPt";
4624 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
4628 histoname = labelname+
"_DenominatorAvrgEta";
4629 title = labelname+
"DenominatorAvrgEta;Calo #eta";
4631 DenominatorEta->
getTH1();
4633 histoname = labelname+
"_DeltaR";
4634 title = labelname+
"DeltaR;";
4638 histoname = labelname+
"_DeltaPhi";
4639 title = labelname+
"DeltaPhi;";
4644 histoname = labelname+
"_NumeratorAvrgPFPt";
4645 title = labelname+
"NumeratorAvrgPFPt;PF Pt[GeV/c]";
4649 histoname = labelname+
"_NumeratorAvrgPFEta";
4650 title = labelname+
"NumeratorAvrgPFEta;PF #eta";
4652 NumeratorPFEta->
getTH1();
4654 histoname = labelname+
"_DenominatorAvrgPFPt";
4655 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
4657 DenominatorPFPt->
getTH1();
4659 histoname = labelname+
"_DenominatorAvrgPFEta";
4660 title = labelname+
"DenominatorAvrgPFEta;PF #eta";
4662 DenominatorPFEta->
getTH1();
4664 histoname = labelname+
"_PFDeltaR";
4665 title = labelname+
"PFDeltaR;";
4669 histoname = labelname+
"_PFDeltaPhi";
4670 title = labelname+
"PFDeltaPhi;";
4674 v->setEffHistos( 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, dummy, dummy, dummy, dummy, dummy, dummy,
4680 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4681 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4682 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4683 dummy, dummy, dummy, dummy
4689 histoname = labelname+
"_NumeratorPt";
4690 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
4691 title = labelname+
"NumeratorPt; CaloMET[GeV/c]";
4693 title = labelname+
"NumeratorPt; PFMET[GeV/c]";
4697 histoname = labelname+
"_NumeratorPhi";
4698 title = labelname+
"NumeratorPhi; #Phi";
4702 histoname = labelname+
"_DenominatorPt";
4703 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
4704 title = labelname+
"DenominatorPt; CaloMET[GeV/c]";
4706 title = labelname+
"DenominatorPt; PFMET[GeV/c]";
4710 histoname = labelname+
"_DenominatorPhi";
4711 title = labelname+
"DenominatorPhi; #Phi";
4713 DenominatorPhi->
getTH1();
4715 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
4716 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4717 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, 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, dummy, dummy, dummy, dummy, dummy, dummy,
4721 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4722 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4723 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
4724 dummy, dummy, dummy, dummy
4745 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
4747 histoname = labelname+
"_NumeratorPt";
4748 title = labelname+
"NumeratorPt;Pt[GeV/c]";
4752 histoname = labelname+
"_NumeratorPtBarrel";
4753 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c]";
4755 NumeratorPtBarrel->
getTH1();
4757 histoname = labelname+
"_NumeratorPtEndcap";
4758 title = labelname+
"NumeratorPtEndcap;Calo Pt[GeV/c]";
4760 NumeratorPtEndcap->
getTH1();
4762 histoname = labelname+
"_NumeratorPtForward";
4763 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
4765 NumeratorPtForward->
getTH1();
4767 histoname = labelname+
"_NumeratorEta";
4768 title = labelname+
"NumeratorEta;Calo #eta ";
4772 histoname = labelname+
"_NumeratorPhi";
4773 title = labelname+
"NumeratorPhi;Calo #Phi";
4777 histoname = labelname+
"_NumeratorEtaPhi";
4778 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi";
4780 NumeratorEtaPhi->
getTH1();
4782 histoname = labelname+
"_NumeratorEtaBarrel";
4783 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
4785 NumeratorEtaBarrel->
getTH1();
4787 histoname = labelname+
"_NumeratorPhiBarrel";
4788 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
4790 NumeratorPhiBarrel->
getTH1();
4792 histoname = labelname+
"_NumeratorEtaEndcap";
4793 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
4795 NumeratorEtaEndcap->
getTH1();
4797 histoname = labelname+
"_NumeratorPhiEndcap";
4798 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
4800 NumeratorPhiEndcap->
getTH1();
4802 histoname = labelname+
"_NumeratorEtaForward";
4803 title = labelname+
"NumeratorEtaForward;Calo #eta ";
4805 NumeratorEtaForward->
getTH1();
4807 histoname = labelname+
"_NumeratorPhiForward";
4808 title = labelname+
"NumeratorPhiForward;Calo #Phi";
4810 NumeratorPhiForward->
getTH1();
4812 histoname = labelname+
"_NumeratorEta_LowpTcut";
4813 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
4815 NumeratorEta_LowpTcut->
getTH1();
4817 histoname = labelname+
"_NumeratorPhi_LowpTcut";
4818 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
4820 NumeratorPhi_LowpTcut->
getTH1();
4822 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
4823 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4824 MonitorElement * NumeratorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4825 NumeratorEtaPhi_LowpTcut->
getTH1();
4827 histoname = labelname+
"_NumeratorEta_MedpTcut";
4828 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
4830 NumeratorEta_MedpTcut->
getTH1();
4832 histoname = labelname+
"_NumeratorPhi_MedpTcut";
4833 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
4835 NumeratorPhi_MedpTcut->
getTH1();
4837 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
4838 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4839 MonitorElement * NumeratorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4840 NumeratorEtaPhi_MedpTcut->
getTH1();
4842 histoname = labelname+
"_NumeratorEta_HighpTcut";
4843 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
4845 NumeratorEta_HighpTcut->
getTH1();
4847 histoname = labelname+
"_NumeratorPhi_HighpTcut";
4848 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
4850 NumeratorPhi_HighpTcut->
getTH1();
4852 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
4853 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4854 MonitorElement * NumeratorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4855 NumeratorEtaPhi_HighpTcut->
getTH1();
4857 histoname = labelname+
"_DenominatorPt";
4858 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
4862 histoname = labelname+
"_DenominatorPtBarrel";
4863 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
4865 DenominatorPtBarrel->
getTH1();
4867 histoname = labelname+
"_DenominatorPtEndcap";
4868 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
4870 DenominatorPtEndcap->
getTH1();
4872 histoname = labelname+
"_DenominatorPtForward";
4873 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c] ";
4875 DenominatorPtForward->
getTH1();
4877 histoname = labelname+
"_DenominatorEta";
4878 title = labelname+
"DenominatorEta;Calo #eta";
4880 DenominatorEta->
getTH1();
4882 histoname = labelname+
"_DenominatorPhi";
4883 title = labelname+
"DenominatorPhi;Calo #Phi";
4885 DenominatorPhi->
getTH1();
4887 histoname = labelname+
"_DenominatorEtaPhi";
4888 title = labelname+
"DenominatorEtaPhi;Calo #eta (IC5);Calo #Phi ";
4890 DenominatorEtaPhi->
getTH1();
4892 histoname = labelname+
"_DenominatorEtaBarrel";
4893 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
4895 DenominatorEtaBarrel->
getTH1();
4897 histoname = labelname+
"_DenominatorPhiBarrel";
4898 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
4900 DenominatorPhiBarrel->
getTH1();
4902 histoname = labelname+
"_DenominatorEtaEndcap";
4903 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
4905 DenominatorEtaEndcap->
getTH1();
4907 histoname = labelname+
"_DenominatorPhiEndcap";
4908 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
4910 DenominatorPhiEndcap->
getTH1();
4912 histoname = labelname+
"_DenominatorEtaForward";
4913 title = labelname+
"DenominatorEtaForward;Calo #eta ";
4915 DenominatorEtaForward->
getTH1();
4917 histoname = labelname+
"_DenominatorPhiForward";
4918 title = labelname+
"DenominatorPhiForward;Calo #Phi";
4920 DenominatorPhiForward->
getTH1();
4922 histoname = labelname+
"_DenominatorEta_LowpTcut";
4923 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
4925 DenominatorEta_LowpTcut->
getTH1();
4927 histoname = labelname+
"_DenominatorPhi_LowpTcut";
4928 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
4930 DenominatorPhi_LowpTcut->
getTH1();
4932 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
4933 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
4934 MonitorElement * DenominatorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4935 DenominatorEtaPhi_LowpTcut->
getTH1();
4937 histoname = labelname+
"_DenominatorEta_MedpTcut";
4938 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
4940 DenominatorEta_MedpTcut->
getTH1();
4942 histoname = labelname+
"_DenominatorPhi_MedpTcut";
4943 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
4945 DenominatorPhi_MedpTcut->
getTH1();
4947 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
4948 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
4949 MonitorElement * DenominatorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4950 DenominatorEtaPhi_MedpTcut->
getTH1();
4952 histoname = labelname+
"_DenominatorEta_HighpTcut";
4953 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
4955 DenominatorEta_HighpTcut->
getTH1();
4957 histoname = labelname+
"_DenominatorPhi_HighpTcut";
4958 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
4960 DenominatorPhi_HighpTcut->
getTH1();
4962 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
4963 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
4964 MonitorElement * DenominatorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
4965 DenominatorEtaPhi_HighpTcut->
getTH1();
4967 histoname = labelname+
"_DeltaR";
4968 title = labelname+
"DeltaR;";
4972 histoname = labelname+
"_DeltaPhi";
4973 title = labelname+
"DeltaPhi;";
4977 histoname = labelname+
"_NumeratorPFPt";
4978 title = labelname+
"NumeratorPFPt;PFPt[GeV/c]";
4982 histoname = labelname+
"_NumeratorPFMHT";
4983 title = labelname+
"NumeratorPFMHT;PFMHT[GeV/c]";
4985 NumeratorPFMHT->
getTH1();
4987 histoname = labelname+
"_NumeratorPFPtBarrel";
4988 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c]";
4990 NumeratorPFPtBarrel->
getTH1();
4992 histoname = labelname+
"_NumeratorPFPtEndcap";
4993 title = labelname+
"NumeratorPFPtEndcap;PF Pt[GeV/c]";
4995 NumeratorPFPtEndcap->
getTH1();
4997 histoname = labelname+
"_NumeratorPFPtForward";
4998 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
5000 NumeratorPFPtForward->
getTH1();
5002 histoname = labelname+
"_NumeratorPFEta";
5003 title = labelname+
"NumeratorPFEta;PF #eta ";
5005 NumeratorPFEta->
getTH1();
5007 histoname = labelname+
"_NumeratorPFPhi";
5008 title = labelname+
"NumeratorPFPhi;PF #Phi";
5010 NumeratorPFPhi->
getTH1();
5012 histoname = labelname+
"_NumeratorPFEtaPhi";
5013 title = labelname+
"NumeratorPFEtaPhi;PF #eta;PF #Phi";
5015 NumeratorPFEtaPhi->
getTH1();
5017 histoname = labelname+
"_NumeratorPFEtaBarrel";
5018 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
5020 NumeratorPFEtaBarrel->
getTH1();
5022 histoname = labelname+
"_NumeratorPFPhiBarrel";
5023 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
5025 NumeratorPFPhiBarrel->
getTH1();
5027 histoname = labelname+
"_NumeratorPFEtaEndcap";
5028 title = labelname+
"NumeratorPFEtaEndcap;PF #eta ";
5030 NumeratorPFEtaEndcap->
getTH1();
5032 histoname = labelname+
"_NumeratorPFPhiEndcap";
5033 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
5035 NumeratorPFPhiEndcap->
getTH1();
5037 histoname = labelname+
"_NumeratorPFEtaForward";
5038 title = labelname+
"NumeratorPFEtaForward;PF #eta ";
5040 NumeratorPFEtaForward->
getTH1();
5042 histoname = labelname+
"_NumeratorPFPhiForward";
5043 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
5045 NumeratorPFPhiForward->
getTH1();
5047 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
5048 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
5050 NumeratorPFEta_LowpTcut->
getTH1();
5052 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
5053 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
5055 NumeratorPFPhi_LowpTcut->
getTH1();
5057 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
5058 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5059 MonitorElement * NumeratorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5060 NumeratorPFEtaPhi_LowpTcut->
getTH1();
5062 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
5063 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
5065 NumeratorPFEta_MedpTcut->
getTH1();
5067 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
5068 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
5070 NumeratorPFPhi_MedpTcut->
getTH1();
5072 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
5073 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5074 MonitorElement * NumeratorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5075 NumeratorPFEtaPhi_MedpTcut->
getTH1();
5077 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
5078 title = labelname+
"NumeratorPFEta_HighpTcut;PF #eta ";
5080 NumeratorPFEta_HighpTcut->
getTH1();
5082 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
5083 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
5085 NumeratorPFPhi_HighpTcut->
getTH1();
5087 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
5088 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5089 MonitorElement * NumeratorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5090 NumeratorPFEtaPhi_HighpTcut->
getTH1();
5092 histoname = labelname+
"_DenominatorPFMHT";
5093 title = labelname+
"DenominatorPFMHT;PF Pt[GeV/c]";
5095 DenominatorPFMHT->
getTH1();
5097 histoname = labelname+
"_DenominatorPFPt";
5098 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
5100 DenominatorPFPt->
getTH1();
5102 histoname = labelname+
"_DenominatorPFPtBarrel";
5103 title = labelname+
"DenominatorPFPtBarrel;PF Pt[GeV/c]";
5105 DenominatorPFPtBarrel->
getTH1();
5107 histoname = labelname+
"_DenominatorPFPtEndcap";
5108 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
5110 DenominatorPFPtEndcap->
getTH1();
5112 histoname = labelname+
"_DenominatorPFPtForward";
5113 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c] ";
5115 DenominatorPFPtForward->
getTH1();
5117 histoname = labelname+
"_DenominatorPFEta";
5118 title = labelname+
"DenominatorPFEta;PF #eta";
5120 DenominatorPFEta->
getTH1();
5122 histoname = labelname+
"_DenominatorPFPhi";
5123 title = labelname+
"DenominatorPFPhi;PF #Phi";
5125 DenominatorPFPhi->
getTH1();
5127 histoname = labelname+
"_DenominatorPFEtaPhi";
5128 title = labelname+
"DenominatorPFEtaPhi;PF #eta (IC5);PF #Phi ";
5130 DenominatorPFEtaPhi->
getTH1();
5132 histoname = labelname+
"_DenominatorPFEtaBarrel";
5133 title = labelname+
"DenominatorPFEtaBarrel;PF #eta ";
5135 DenominatorPFEtaBarrel->
getTH1();
5137 histoname = labelname+
"_DenominatorPFPhiBarrel";
5138 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
5140 DenominatorPFPhiBarrel->
getTH1();
5142 histoname = labelname+
"_DenominatorPFEtaEndcap";
5143 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
5145 DenominatorPFEtaEndcap->
getTH1();
5147 histoname = labelname+
"_DenominatorPFPhiEndcap";
5148 title = labelname+
"DenominatorPFPhiEndcap;PF #Phi";
5150 DenominatorPFPhiEndcap->
getTH1();
5152 histoname = labelname+
"_DenominatorPFEtaForward";
5153 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
5155 DenominatorPFEtaForward->
getTH1();
5157 histoname = labelname+
"_DenominatorPFPhiForward";
5158 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
5160 DenominatorPFPhiForward->
getTH1();
5162 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
5163 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
5165 DenominatorPFEta_LowpTcut->
getTH1();
5167 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
5168 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
5170 DenominatorPFPhi_LowpTcut->
getTH1();
5172 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
5173 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5174 MonitorElement * DenominatorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5175 DenominatorPFEtaPhi_LowpTcut->
getTH1();
5177 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
5178 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
5180 DenominatorPFEta_MedpTcut->
getTH1();
5182 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
5183 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
5185 DenominatorPFPhi_MedpTcut->
getTH1();
5187 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
5188 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5189 MonitorElement * DenominatorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5190 DenominatorPFEtaPhi_MedpTcut->
getTH1();
5192 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
5193 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
5195 DenominatorPFEta_HighpTcut->
getTH1();
5197 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
5198 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
5200 DenominatorPFPhi_HighpTcut->
getTH1();
5202 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
5203 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5204 MonitorElement * DenominatorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5205 DenominatorPFEtaPhi_HighpTcut->
getTH1();
5207 histoname = labelname+
"_PFDeltaR";
5208 title = labelname+
"PFDeltaR;";
5212 histoname = labelname+
"_PFDeltaPhi";
5213 title = labelname+
"PFDeltaPhi;";
5217 v->setEffHistos(NumeratorPt,
5229 NumeratorEtaForward,
5230 NumeratorPhiForward,
5231 NumeratorEta_LowpTcut,
5232 NumeratorPhi_LowpTcut,
5233 NumeratorEtaPhi_LowpTcut,
5234 NumeratorEta_MedpTcut,
5235 NumeratorPhi_MedpTcut,
5236 NumeratorEtaPhi_MedpTcut,
5237 NumeratorEta_HighpTcut,
5238 NumeratorPhi_HighpTcut,
5239 NumeratorEtaPhi_HighpTcut,
5242 DenominatorPtBarrel,
5243 DenominatorPtEndcap,
5244 DenominatorPtForward,
5249 DenominatorEtaBarrel,
5250 DenominatorPhiBarrel,
5251 DenominatorEtaEndcap,
5252 DenominatorPhiEndcap,
5253 DenominatorEtaForward,
5254 DenominatorPhiForward,
5255 DenominatorEta_LowpTcut,
5256 DenominatorPhi_LowpTcut,
5257 DenominatorEtaPhi_LowpTcut,
5258 DenominatorEta_MedpTcut,
5259 DenominatorPhi_MedpTcut,
5260 DenominatorEtaPhi_MedpTcut,
5261 DenominatorEta_HighpTcut,
5262 DenominatorPhi_HighpTcut,
5263 DenominatorEtaPhi_HighpTcut,
5270 NumeratorPFPtBarrel,
5271 NumeratorPFPtEndcap,
5272 NumeratorPFPtForward,
5276 NumeratorPFEtaBarrel,
5277 NumeratorPFPhiBarrel,
5278 NumeratorPFEtaEndcap,
5279 NumeratorPFPhiEndcap,
5280 NumeratorPFEtaForward,
5281 NumeratorPFPhiForward,
5282 NumeratorPFEta_LowpTcut,
5283 NumeratorPFPhi_LowpTcut,
5284 NumeratorPFEtaPhi_LowpTcut,
5285 NumeratorPFEta_MedpTcut,
5286 NumeratorPFPhi_MedpTcut,
5287 NumeratorPFEtaPhi_MedpTcut,
5288 NumeratorPFEta_HighpTcut,
5289 NumeratorPFPhi_HighpTcut,
5290 NumeratorPFEtaPhi_HighpTcut,
5293 DenominatorPFPtBarrel,
5294 DenominatorPFPtEndcap,
5295 DenominatorPFPtForward,
5298 DenominatorPFEtaPhi,
5299 DenominatorPFEtaBarrel,
5300 DenominatorPFPhiBarrel,
5301 DenominatorPFEtaEndcap,
5302 DenominatorPFPhiEndcap,
5303 DenominatorPFEtaForward,
5304 DenominatorPFPhiForward,
5305 DenominatorPFEta_LowpTcut,
5306 DenominatorPFPhi_LowpTcut,
5307 DenominatorPFEtaPhi_LowpTcut,
5308 DenominatorPFEta_MedpTcut,
5309 DenominatorPFPhi_MedpTcut,
5310 DenominatorPFEtaPhi_MedpTcut,
5311 DenominatorPFEta_HighpTcut,
5312 DenominatorPFPhi_HighpTcut,
5313 DenominatorPFEtaPhi_HighpTcut,
5319 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
5321 histoname = labelname+
"_NumeratorAvrgPt";
5322 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c] ";
5326 histoname = labelname+
"_NumeratorAvrgEta";
5327 title = labelname+
"NumeratorAvrgEta;Calo #eta";
5331 histoname = labelname+
"_DenominatorAvrgPt";
5332 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c]";
5336 histoname = labelname+
"_DenominatorAvrgEta";
5337 title = labelname+
"DenominatorAvrgEta;Calo #eta ";
5339 DenominatorEta->
getTH1();
5341 histoname = labelname+
"_DeltaR";
5342 title = labelname+
"DeltaR;";
5346 histoname = labelname+
"_DeltaPhi";
5347 title = labelname+
"DeltaPhi;";
5351 histoname = labelname+
"_NumeratorAvrgPFPt";
5352 title = labelname+
"NumeratorAvrgPFPt;PF Pt[GeV/c] ";
5356 histoname = labelname+
"_NumeratorAvrgPFEta";
5357 title = labelname+
"NumeratorAvrgPFEta;PF #eta";
5359 NumeratorPFEta->
getTH1();
5361 histoname = labelname+
"_DenominatorAvrgPFPt";
5362 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c]";
5364 DenominatorPFPt->
getTH1();
5366 histoname = labelname+
"_DenominatorAvrgPFEta";
5367 title = labelname+
"DenominatorAvrgPFEta;PF #eta ";
5369 DenominatorPFEta->
getTH1();
5371 histoname = labelname+
"_PFDeltaR";
5372 title = labelname+
"PFDeltaR;";
5376 histoname = labelname+
"_PFDeltaPhi";
5377 title = labelname+
"PFDeltaPhi;";
5381 v->setEffHistos( 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, dummy, dummy, dummy, dummy, dummy, dummy,
5387 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5388 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5389 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5390 dummy, dummy, dummy, dummy
5396 histoname = labelname+
"_NumeratorPt";
5397 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
5398 title = labelname+
"NumeratorPt; CaloMET[GeV/c]";
5400 title = labelname+
"NumeratorPt; PFMET[GeV/c]";
5404 histoname = labelname+
"_NumeratorPhi";
5405 title = labelname+
"NumeratorPhi; #Phi";
5409 histoname = labelname+
"_DenominatorPt";
5410 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
5411 title = labelname+
"DenominatorPt; CaloMET[GeV/c]";
5413 title = labelname+
"DenominatorPt; PFMET[GeV/c]";
5417 histoname = labelname+
"_DenominatorPhi";
5418 title = labelname+
"DenominatorPhi; #Phi";
5420 DenominatorPhi->
getTH1();
5422 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
5423 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5424 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, 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, dummy, dummy, dummy, dummy, dummy, dummy,
5428 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5429 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5430 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
5431 dummy, dummy, dummy, dummy
5453 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
5455 histoname = labelname+
"_NumeratorPt";
5456 title = labelname+
"NumeratorPt;Calo Pt[GeV/c] ";
5460 histoname = labelname+
"_NumeratorPtBarrel";
5461 title = labelname+
"NumeratorPtBarrel;Calo Pt[GeV/c]";
5463 NumeratorPtBarrel->
getTH1();
5465 histoname = labelname+
"_NumeratorPtEndcap";
5466 title = labelname+
"NumeratorPtEndcap; Calo Pt[GeV/c] ";
5468 NumeratorPtEndcap->
getTH1();
5470 histoname = labelname+
"_NumeratorPtForward";
5471 title = labelname+
"NumeratorPtForward;Calo Pt[GeV/c]";
5473 NumeratorPtForward->
getTH1();
5475 histoname = labelname+
"_NumeratorEta";
5476 title = labelname+
"NumeratorEta;Calo #eta ";
5480 histoname = labelname+
"_NumeratorPhi";
5481 title = labelname+
"NumeratorPhi;Calo #Phi";
5485 histoname = labelname+
"_NumeratorEtaPhi";
5486 title = labelname+
"NumeratorEtaPhi;Calo #eta;Calo #Phi ";
5488 NumeratorEtaPhi->
getTH1();
5490 histoname = labelname+
"_NumeratorEtaBarrel";
5491 title = labelname+
"NumeratorEtaBarrel;Calo #eta ";
5493 NumeratorEtaBarrel->
getTH1();
5495 histoname = labelname+
"_NumeratorPhiBarrel";
5496 title = labelname+
"NumeratorPhiBarrel;Calo #Phi";
5498 NumeratorPhiBarrel->
getTH1();
5500 histoname = labelname+
"_NumeratorEtaEndcap";
5501 title = labelname+
"NumeratorEtaEndcap;Calo #eta ";
5503 NumeratorEtaEndcap->
getTH1();
5505 histoname = labelname+
"_NumeratorPhiEndcap";
5506 title = labelname+
"NumeratorPhiEndcap;Calo #Phi";
5508 NumeratorPhiEndcap->
getTH1();
5510 histoname = labelname+
"_NumeratorEtaForward";
5511 title = labelname+
"NumeratorEtaForward;Calo #eta ";
5513 NumeratorEtaForward->
getTH1();
5515 histoname = labelname+
"_NumeratorPhiForward";
5516 title = labelname+
"NumeratorPhiForward;Calo #Phi";
5518 NumeratorPhiForward->
getTH1();
5520 histoname = labelname+
"_NumeratorEta_LowpTcut";
5521 title = labelname+
"NumeratorEta_LowpTcut;Calo #eta ";
5523 NumeratorEta_LowpTcut->
getTH1();
5525 histoname = labelname+
"_NumeratorPhi_LowpTcut";
5526 title = labelname+
"NumeratorPhi_LowpTcut;Calo #Phi";
5528 NumeratorPhi_LowpTcut->
getTH1();
5530 histoname = labelname+
"_NumeratorEtaPhi_LowpTcut";
5531 title = labelname+
"NumeratorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
5532 MonitorElement * NumeratorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5533 NumeratorEtaPhi_LowpTcut->
getTH1();
5535 histoname = labelname+
"_NumeratorEta_MedpTcut";
5536 title = labelname+
"NumeratorEta_MedpTcut;Calo #eta ";
5538 NumeratorEta_MedpTcut->
getTH1();
5540 histoname = labelname+
"_NumeratorPhi_MedpTcut";
5541 title = labelname+
"NumeratorPhi_MedpTcut;Calo #Phi";
5543 NumeratorPhi_MedpTcut->
getTH1();
5545 histoname = labelname+
"_NumeratorEtaPhi_MedpTcut";
5546 title = labelname+
"NumeratorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
5547 MonitorElement * NumeratorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5548 NumeratorEtaPhi_MedpTcut->
getTH1();
5550 histoname = labelname+
"_NumeratorEta_HighpTcut";
5551 title = labelname+
"NumeratorEta_HighpTcut;Calo #eta ";
5553 NumeratorEta_HighpTcut->
getTH1();
5555 histoname = labelname+
"_NumeratorPhi_HighpTcut";
5556 title = labelname+
"NumeratorPhi_HighpTcut;Calo #Phi";
5558 NumeratorPhi_HighpTcut->
getTH1();
5560 histoname = labelname+
"_NumeratorEtaPhi_HighpTcut";
5561 title = labelname+
"NumeratorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
5562 MonitorElement * NumeratorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5563 NumeratorEtaPhi_HighpTcut->
getTH1();
5565 histoname = labelname+
"_DenominatorPt";
5566 title = labelname+
"DenominatorPt;Calo Pt[GeV/c]";
5570 histoname = labelname+
"_DenominatorPtBarrel";
5571 title = labelname+
"DenominatorPtBarrel;Calo Pt[GeV/c]";
5573 DenominatorPtBarrel->
getTH1();
5575 histoname = labelname+
"_DenominatorPtEndcap";
5576 title = labelname+
"DenominatorPtEndcap;Calo Pt[GeV/c]";
5578 DenominatorPtEndcap->
getTH1();
5580 histoname = labelname+
"_DenominatorPtForward";
5581 title = labelname+
"DenominatorPtForward;Calo Pt[GeV/c]";
5583 DenominatorPtForward->
getTH1();
5585 histoname = labelname+
"_DenominatorEta";
5586 title = labelname+
"DenominatorEta;Calo #eta ";
5588 DenominatorEta->
getTH1();
5590 histoname = labelname+
"_DenominatorPhi";
5591 title = labelname+
"DenominatorPhi;Calo #Phi";
5593 DenominatorPhi->
getTH1();
5595 histoname = labelname+
"_DenominatorEtaPhi";
5596 title = labelname+
"DenominatorEtaPhi;Calo #eta ;Calo #Phi ";
5598 DenominatorEtaPhi->
getTH1();
5600 histoname = labelname+
"_DenominatorEtaBarrel";
5601 title = labelname+
"DenominatorEtaBarrel;Calo #eta ";
5603 DenominatorEtaBarrel->
getTH1();
5605 histoname = labelname+
"_DenominatorPhiBarrel";
5606 title = labelname+
"DenominatorPhiBarrel;Calo #Phi";
5608 DenominatorPhiBarrel->
getTH1();
5610 histoname = labelname+
"_DenominatorEtaEndcap";
5611 title = labelname+
"DenominatorEtaEndcap;Calo #eta ";
5613 DenominatorEtaEndcap->
getTH1();
5615 histoname = labelname+
"_DenominatorPhiEndcap";
5616 title = labelname+
"DenominatorPhiEndcap;Calo #Phi";
5618 DenominatorPhiEndcap->
getTH1();
5620 histoname = labelname+
"_DenominatorEtaForward";
5621 title = labelname+
"DenominatorEtaForward;Calo #eta ";
5623 DenominatorEtaForward->
getTH1();
5625 histoname = labelname+
"_DenominatorPhiForward";
5626 title = labelname+
"DenominatorPhiForward;Calo #Phi";
5628 DenominatorPhiForward->
getTH1();
5630 histoname = labelname+
"_DenominatorEta_LowpTcut";
5631 title = labelname+
"DenominatorEta_LowpTcut;Calo #eta ";
5633 DenominatorEta_LowpTcut->
getTH1();
5635 histoname = labelname+
"_DenominatorPhi_LowpTcut";
5636 title = labelname+
"DenominatorPhi_LowpTcut;Calo #Phi";
5638 DenominatorPhi_LowpTcut->
getTH1();
5640 histoname = labelname+
"_DenominatorEtaPhi_LowpTcut";
5641 title = labelname+
"DenominatorEtaPhi_LowpTcut;Calo #eta;Calo #Phi";
5642 MonitorElement * DenominatorEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5643 DenominatorEtaPhi_LowpTcut->
getTH1();
5645 histoname = labelname+
"_DenominatorEta_MedpTcut";
5646 title = labelname+
"DenominatorEta_MedpTcut;Calo #eta ";
5648 DenominatorEta_MedpTcut->
getTH1();
5650 histoname = labelname+
"_DenominatorPhi_MedpTcut";
5651 title = labelname+
"DenominatorPhi_MedpTcut;Calo #Phi";
5653 DenominatorPhi_MedpTcut->
getTH1();
5655 histoname = labelname+
"_DenominatorEtaPhi_MedpTcut";
5656 title = labelname+
"DenominatorEtaPhi_MedpTcut;Calo #eta;Calo #Phi";
5657 MonitorElement * DenominatorEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5658 DenominatorEtaPhi_MedpTcut->
getTH1();
5660 histoname = labelname+
"_DenominatorEta_HighpTcut";
5661 title = labelname+
"DenominatorEta_HighpTcut;Calo #eta ";
5663 DenominatorEta_HighpTcut->
getTH1();
5665 histoname = labelname+
"_DenominatorPhi_HighpTcut";
5666 title = labelname+
"DenominatorPhi_HighpTcut;Calo #Phi";
5668 DenominatorPhi_HighpTcut->
getTH1();
5670 histoname = labelname+
"_DenominatorEtaPhi_HighpTcut";
5671 title = labelname+
"DenominatorEtaPhi_HighpTcut;Calo #eta;Calo #Phi";
5672 MonitorElement * DenominatorEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5673 DenominatorEtaPhi_HighpTcut->
getTH1();
5675 histoname = labelname+
"_DeltaR";
5676 title = labelname+
"DeltaR;";
5680 histoname = labelname+
"_DeltaPhi";
5681 title = labelname+
"DeltaPhi;";
5685 histoname = labelname+
"_NumeratorPFPt";
5686 title = labelname+
"NumeratorPFPt;PF Pt[GeV/c] ";
5690 histoname = labelname+
"_NumeratorPFMHT";
5691 title = labelname+
"NumeratorPFPt;PFMHT[GeV/c] ";
5693 NumeratorPFMHT->
getTH1();
5695 histoname = labelname+
"_NumeratorPFPtBarrel";
5696 title = labelname+
"NumeratorPFPtBarrel;PF Pt[GeV/c]";
5698 NumeratorPFPtBarrel->
getTH1();
5700 histoname = labelname+
"_NumeratorPFPtEndcap";
5701 title = labelname+
"NumeratorPFPtEndcap; PF Pt[GeV/c] ";
5703 NumeratorPFPtEndcap->
getTH1();
5705 histoname = labelname+
"_NumeratorPFPtForward";
5706 title = labelname+
"NumeratorPFPtForward;PF Pt[GeV/c]";
5708 NumeratorPFPtForward->
getTH1();
5710 histoname = labelname+
"_NumeratorPFEta";
5711 title = labelname+
"NumeratorPFEta;PF #eta ";
5713 NumeratorPFEta->
getTH1();
5715 histoname = labelname+
"_NumeratorPFPhi";
5716 title = labelname+
"NumeratorPFPhi;PF #Phi";
5718 NumeratorPFPhi->
getTH1();
5720 histoname = labelname+
"_NumeratorPFEtaPhi";
5721 title = labelname+
"NumeratorPFEtaPhi;PF #eta;PF #Phi ";
5723 NumeratorPFEtaPhi->
getTH1();
5725 histoname = labelname+
"_NumeratorPFEtaBarrel";
5726 title = labelname+
"NumeratorPFEtaBarrel;PF #eta ";
5728 NumeratorPFEtaBarrel->
getTH1();
5730 histoname = labelname+
"_NumeratorPFPhiBarrel";
5731 title = labelname+
"NumeratorPFPhiBarrel;PF #Phi";
5733 NumeratorPFPhiBarrel->
getTH1();
5735 histoname = labelname+
"_NumeratorPFEtaEndcap";
5736 title = labelname+
"NumeratorPFEtaEndcap;PF #eta ";
5738 NumeratorPFEtaEndcap->
getTH1();
5740 histoname = labelname+
"_NumeratorPFPhiEndcap";
5741 title = labelname+
"NumeratorPFPhiEndcap;PF #Phi";
5743 NumeratorPFPhiEndcap->
getTH1();
5745 histoname = labelname+
"_NumeratorPFEtaForward";
5746 title = labelname+
"NumeratorPFEtaForward;PF #eta ";
5748 NumeratorPFEtaForward->
getTH1();
5750 histoname = labelname+
"_NumeratorPFPhiForward";
5751 title = labelname+
"NumeratorPFPhiForward;PF #Phi";
5753 NumeratorPFPhiForward->
getTH1();
5755 histoname = labelname+
"_NumeratorPFEta_LowpTcut";
5756 title = labelname+
"NumeratorPFEta_LowpTcut;PF #eta ";
5758 NumeratorPFEta_LowpTcut->
getTH1();
5760 histoname = labelname+
"_NumeratorPFPhi_LowpTcut";
5761 title = labelname+
"NumeratorPFPhi_LowpTcut;PF #Phi";
5763 NumeratorPFPhi_LowpTcut->
getTH1();
5765 histoname = labelname+
"_NumeratorPFEtaPhi_LowpTcut";
5766 title = labelname+
"NumeratorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5767 MonitorElement * NumeratorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5768 NumeratorPFEtaPhi_LowpTcut->
getTH1();
5770 histoname = labelname+
"_NumeratorPFEta_MedpTcut";
5771 title = labelname+
"NumeratorPFEta_MedpTcut;PF #eta ";
5773 NumeratorPFEta_MedpTcut->
getTH1();
5775 histoname = labelname+
"_NumeratorPFPhi_MedpTcut";
5776 title = labelname+
"NumeratorPFPhi_MedpTcut;PF #Phi";
5778 NumeratorPFPhi_MedpTcut->
getTH1();
5780 histoname = labelname+
"_NumeratorPFEtaPhi_MedpTcut";
5781 title = labelname+
"NumeratorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5782 MonitorElement * NumeratorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5783 NumeratorPFEtaPhi_MedpTcut->
getTH1();
5785 histoname = labelname+
"_NumeratorPFEta_HighpTcut";
5786 title = labelname+
"NumeratorPFEta_HighpTcut;PF #eta ";
5788 NumeratorPFEta_HighpTcut->
getTH1();
5790 histoname = labelname+
"_NumeratorPFPhi_HighpTcut";
5791 title = labelname+
"NumeratorPFPhi_HighpTcut;PF #Phi";
5793 NumeratorPFPhi_HighpTcut->
getTH1();
5795 histoname = labelname+
"_NumeratorPFEtaPhi_HighpTcut";
5796 title = labelname+
"NumeratorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5797 MonitorElement * NumeratorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5798 NumeratorPFEtaPhi_HighpTcut->
getTH1();
5800 histoname = labelname+
"_DenominatorPFMHT";
5801 title = labelname+
"DenominatorPFMHT;PFMHT[GeV/c]";
5803 DenominatorPFMHT->
getTH1();
5805 histoname = labelname+
"_DenominatorPFPt";
5806 title = labelname+
"DenominatorPFPt;PF Pt[GeV/c]";
5808 DenominatorPFPt->
getTH1();
5810 histoname = labelname+
"_DenominatorPFPtBarrel";
5811 title = labelname+
"DenominatorPFPtBarrel;PF Pt[GeV/c]";
5813 DenominatorPFPtBarrel->
getTH1();
5815 histoname = labelname+
"_DenominatorPFPtEndcap";
5816 title = labelname+
"DenominatorPFPtEndcap;PF Pt[GeV/c]";
5818 DenominatorPFPtEndcap->
getTH1();
5820 histoname = labelname+
"_DenominatorPFPtForward";
5821 title = labelname+
"DenominatorPFPtForward;PF Pt[GeV/c]";
5823 DenominatorPFPtForward->
getTH1();
5825 histoname = labelname+
"_DenominatorPFEta";
5826 title = labelname+
"DenominatorPFEta;PF #eta ";
5828 DenominatorPFEta->
getTH1();
5830 histoname = labelname+
"_DenominatorPFPhi";
5831 title = labelname+
"DenominatorPFPhi;PF #Phi";
5833 DenominatorPFPhi->
getTH1();
5835 histoname = labelname+
"_DenominatorPFEtaPhi";
5836 title = labelname+
"DenominatorPFEtaPhi;PF #eta ;PF #Phi ";
5838 DenominatorPFEtaPhi->
getTH1();
5840 histoname = labelname+
"_DenominatorPFEtaBarrel";
5841 title = labelname+
"DenominatorPFEtaBarrel;PF #eta ";
5843 DenominatorPFEtaBarrel->
getTH1();
5845 histoname = labelname+
"_DenominatorPFPhiBarrel";
5846 title = labelname+
"DenominatorPFPhiBarrel;PF #Phi";
5848 DenominatorPFPhiBarrel->
getTH1();
5850 histoname = labelname+
"_DenominatorPFEtaEndcap";
5851 title = labelname+
"DenominatorPFEtaEndcap;PF #eta ";
5853 DenominatorPFEtaEndcap->
getTH1();
5855 histoname = labelname+
"_DenominatorPFPhiEndcap";
5856 title = labelname+
"DenominatorPFPhiEndcap;PF #Phi";
5858 DenominatorPFPhiEndcap->
getTH1();
5860 histoname = labelname+
"_DenominatorPFEtaForward";
5861 title = labelname+
"DenominatorPFEtaForward;PF #eta ";
5863 DenominatorPFEtaForward->
getTH1();
5865 histoname = labelname+
"_DenominatorPFPhiForward";
5866 title = labelname+
"DenominatorPFPhiForward;PF #Phi";
5868 DenominatorPFPhiForward->
getTH1();
5870 histoname = labelname+
"_DenominatorPFEta_LowpTcut";
5871 title = labelname+
"DenominatorPFEta_LowpTcut;PF #eta ";
5873 DenominatorPFEta_LowpTcut->
getTH1();
5875 histoname = labelname+
"_DenominatorPFPhi_LowpTcut";
5876 title = labelname+
"DenominatorPFPhi_LowpTcut;PF #Phi";
5878 DenominatorPFPhi_LowpTcut->
getTH1();
5880 histoname = labelname+
"_DenominatorPFEtaPhi_LowpTcut";
5881 title = labelname+
"DenominatorPFEtaPhi_LowpTcut;PF #eta;PF #Phi";
5882 MonitorElement * DenominatorPFEtaPhi_LowpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5883 DenominatorPFEtaPhi_LowpTcut->
getTH1();
5885 histoname = labelname+
"_DenominatorPFEta_MedpTcut";
5886 title = labelname+
"DenominatorPFEta_MedpTcut;PF #eta ";
5888 DenominatorPFEta_MedpTcut->
getTH1();
5890 histoname = labelname+
"_DenominatorPFPhi_MedpTcut";
5891 title = labelname+
"DenominatorPFPhi_MedpTcut;PF #Phi";
5893 DenominatorPFPhi_MedpTcut->
getTH1();
5895 histoname = labelname+
"_DenominatorPFEtaPhi_MedpTcut";
5896 title = labelname+
"DenominatorPFEtaPhi_MedpTcut;PF #eta;PF #Phi";
5897 MonitorElement * DenominatorPFEtaPhi_MedpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5898 DenominatorPFEtaPhi_MedpTcut->
getTH1();
5900 histoname = labelname+
"_DenominatorPFEta_HighpTcut";
5901 title = labelname+
"DenominatorPFEta_HighpTcut;PF #eta ";
5903 DenominatorPFEta_HighpTcut->
getTH1();
5905 histoname = labelname+
"_DenominatorPFPhi_HighpTcut";
5906 title = labelname+
"DenominatorPFPhi_HighpTcut;PF #Phi";
5908 DenominatorPFPhi_HighpTcut->
getTH1();
5910 histoname = labelname+
"_DenominatorPFEtaPhi_HighpTcut";
5911 title = labelname+
"DenominatorPFEtaPhi_HighpTcut;PF #eta;PF #Phi";
5912 MonitorElement * DenominatorPFEtaPhi_HighpTcut =
dbe->
book2D(histoname.c_str(),
title.c_str(),Etabins_,EtaMin_,EtaMax_,Phibins_,PhiMin_,PhiMax_);
5913 DenominatorPFEtaPhi_HighpTcut->
getTH1();
5915 histoname = labelname+
"_PFDeltaR";
5916 title = labelname+
"PFDeltaR;";
5920 histoname = labelname+
"_PFDeltaPhi";
5921 title = labelname+
"PFDeltaPhi;";
5925 v->setEffHistos(NumeratorPt,
5937 NumeratorEtaForward,
5938 NumeratorPhiForward,
5939 NumeratorEta_LowpTcut,
5940 NumeratorPhi_LowpTcut,
5941 NumeratorEtaPhi_LowpTcut,
5942 NumeratorEta_MedpTcut,
5943 NumeratorPhi_MedpTcut,
5944 NumeratorEtaPhi_MedpTcut,
5945 NumeratorEta_HighpTcut,
5946 NumeratorPhi_HighpTcut,
5947 NumeratorEtaPhi_HighpTcut,
5950 DenominatorPtBarrel,
5951 DenominatorPtEndcap,
5952 DenominatorPtForward,
5957 DenominatorEtaBarrel,
5958 DenominatorPhiBarrel,
5959 DenominatorEtaEndcap,
5960 DenominatorPhiEndcap,
5961 DenominatorEtaForward,
5962 DenominatorPhiForward,
5963 DenominatorEta_LowpTcut,
5964 DenominatorPhi_LowpTcut,
5965 DenominatorEtaPhi_LowpTcut,
5966 DenominatorEta_MedpTcut,
5967 DenominatorPhi_MedpTcut,
5968 DenominatorEtaPhi_MedpTcut,
5969 DenominatorEta_HighpTcut,
5970 DenominatorPhi_HighpTcut,
5971 DenominatorEtaPhi_HighpTcut,
5977 NumeratorPFPtBarrel,
5978 NumeratorPFPtEndcap,
5979 NumeratorPFPtForward,
5983 NumeratorPFEtaBarrel,
5984 NumeratorPFPhiBarrel,
5985 NumeratorPFEtaEndcap,
5986 NumeratorPFPhiEndcap,
5987 NumeratorPFEtaForward,
5988 NumeratorPFPhiForward,
5989 NumeratorPFEta_LowpTcut,
5990 NumeratorPFPhi_LowpTcut,
5991 NumeratorPFEtaPhi_LowpTcut,
5992 NumeratorPFEta_MedpTcut,
5993 NumeratorPFPhi_MedpTcut,
5994 NumeratorPFEtaPhi_MedpTcut,
5995 NumeratorPFEta_HighpTcut,
5996 NumeratorPFPhi_HighpTcut,
5997 NumeratorPFEtaPhi_HighpTcut,
6000 DenominatorPFPtBarrel,
6001 DenominatorPFPtEndcap,
6002 DenominatorPFPtForward,
6005 DenominatorPFEtaPhi,
6006 DenominatorPFEtaBarrel,
6007 DenominatorPFPhiBarrel,
6008 DenominatorPFEtaEndcap,
6009 DenominatorPFPhiEndcap,
6010 DenominatorPFEtaForward,
6011 DenominatorPFPhiForward,
6012 DenominatorPFEta_LowpTcut,
6013 DenominatorPFPhi_LowpTcut,
6014 DenominatorPFEtaPhi_LowpTcut,
6015 DenominatorPFEta_MedpTcut,
6016 DenominatorPFPhi_MedpTcut,
6017 DenominatorPFEtaPhi_MedpTcut,
6018 DenominatorPFEta_HighpTcut,
6019 DenominatorPFPhi_HighpTcut,
6020 DenominatorPFEtaPhi_HighpTcut,
6027 if((
v->getObjectType() ==
trigger::TriggerJet) && (
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
6029 histoname = labelname+
"_NumeratorAvrgPt";
6030 title = labelname+
"NumeratorAvrgPt;Calo Pt[GeV/c] ";
6034 histoname = labelname+
"_NumeratorAvrgEta";
6035 title = labelname+
"NumeratorAvrgEta;Calo #eta ";
6039 histoname = labelname+
"_DenominatorAvrgPt";
6040 title = labelname+
"DenominatorAvrgPt;Calo Pt[GeV/c] ";
6044 histoname = labelname+
"_DenominatorAvrgEta";
6045 title = labelname+
"DenominatorAvrgEta;Calo #eta ";
6047 DenominatorEta->
getTH1();
6049 histoname = labelname+
"_DeltaR";
6050 title = labelname+
"DeltaR;";
6054 histoname = labelname+
"_DeltaPhi";
6055 title = labelname+
"DeltaPhi;";
6059 histoname = labelname+
"_NumeratorAvrgPFPt";
6060 title = labelname+
"NumeratorAvrgPFPt;PF pT [GeV/c] ";
6064 histoname = labelname+
"_NumeratorAvrgPFEta";
6065 title = labelname+
"NumeratorAvrgPFEta;PF #eta ";
6067 NumeratorPFEta->
getTH1();
6069 histoname = labelname+
"_DenominatorAvrgPFPt";
6070 title = labelname+
"DenominatorAvrgPFPt;PF Pt[GeV/c] ";
6072 DenominatorPFPt->
getTH1();
6074 histoname = labelname+
"_DenominatorAvrgPFEta";
6075 title = labelname+
"DenominatorAvrgPFEta;PF #eta ";
6077 DenominatorPFEta->
getTH1();
6079 histoname = labelname+
"_PFDeltaR";
6080 title = labelname+
"PFDeltaR;";
6084 histoname = labelname+
"_PFDeltaPhi";
6085 title = labelname+
"PFDeltaPhi;";
6089 v->setEffHistos( 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, dummy, dummy, dummy, dummy, dummy, dummy,
6095 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6096 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6097 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6098 dummy, dummy, dummy, dummy
6104 histoname = labelname+
"_NumeratorPt";
6105 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
6106 title = labelname+
"NumeratorPt;CaloMET[GeV/c]";
6108 title = labelname+
"NumeratorPt;PFMET[GeV/c]";
6112 histoname = labelname+
"_NumeratorPhi";
6113 title = labelname+
"NumeratorPhi;#Phi";
6117 histoname = labelname+
"_DenominatorPt";
6118 if(
v->getPath().find(
"HLT_PFMET")==std::string::npos)
6119 title = labelname+
"DenominatorPt;CaloMET[GeV/c]";
6121 title = labelname+
"DenominatorPt;PFMET[GeV/c]";
6125 histoname = labelname+
"_DenominatorPhi";
6126 title = labelname+
"DenominatorPhi;#Phi";
6128 DenominatorPhi->
getTH1();
6130 v->setEffHistos( NumeratorPt, dummy, dummy, dummy, dummy, NumeratorPhi, dummy, dummy, dummy, dummy,
6131 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6132 dummy, dummy, DenominatorPt, dummy, dummy, dummy, dummy, DenominatorPhi, 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, dummy, dummy, dummy, dummy, dummy, dummy,
6136 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6137 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6138 dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy, dummy,
6139 dummy, dummy, dummy, dummy
6157 double PtMax_ = 1000.;
6158 double EtaMin_ = -5.;
6159 double EtaMax_ = 5.;
6160 double PhiMin_ = -3.14159;
6161 double PhiMax_ = 3.14159;
6174 histoname = labelname+
"_TriggerSummary";
6175 title = labelname+
"Summary of trigger levels";
6178 std::vector<std::string> trigger;
6179 trigger.push_back(
"Nevt");
6180 trigger.push_back(
"L1 failed");
6181 trigger.push_back(
"L1 & HLT failed");
6182 trigger.push_back(
"L1 failed but not HLT");
6183 trigger.push_back(
"L1 passed");
6184 trigger.push_back(
"L1 & HLT passed");
6185 trigger.push_back(
"L1 passed but not HLT");
6187 for(
unsigned int i =0;
i < trigger.size();
i++)
6190 if((
v->getTriggerType().compare(
"SingleJet_Trigger") == 0)){
6191 histoname = labelname+
"_JetPt";
6192 title = labelname+
"Leading jet pT;Pt[GeV/c]";
6196 histoname = labelname+
"_JetEtaVsPt";
6197 title = labelname+
"Leading jet #eta vs pT;#eta;Pt[GeV/c]";
6201 histoname = labelname+
"_JetPhiVsPt";
6202 title = labelname+
"Leading jet #Phi vs pT;#Phi;Pt[GeV/c]";
6206 v->setDgnsHistos( TriggerSummary, dummy, JetPt, JetEtaVsPt, JetPhiVsPt, dummy, dummy, dummy, dummy, dummy, dummy);
6209 if((
v->getTriggerType().compare(
"DiJet_Trigger") == 0)){
6210 histoname = labelname+
"_JetSize";
6211 title = labelname+
"Jet Size;multiplicity";
6215 histoname = labelname+
"_AvergPt";
6216 title = labelname+
"Average Pt;Pt[GeV/c]";
6220 histoname = labelname+
"_AvergEta";
6221 title = labelname+
"Average Eta;#eta";
6225 histoname = labelname+
"_PhiDifference";
6226 title = labelname+
"#Delta#Phi;#Delta#Phi";
6230 histoname = labelname+
"_Pt3Jet";
6231 title = labelname+
"Pt of 3rd Jet;Pt[GeV/c]";
6235 histoname = labelname+
"_Pt12VsPt3Jet";
6236 title = labelname+
"Pt of 3rd Jet vs Average Pt of leading jets;Avergage Pt[GeV/c]; Pt of 3rd Jet [GeV/c]";
6240 histoname = labelname+
"_Pt12VsPhi12";
6241 title = labelname+
"Average Pt of leading jets vs #Delta#Phi between leading jets;Avergage Pt[GeV/c]; #Delta#Phi";
6245 v->setDgnsHistos( TriggerSummary, JetSize, dummy, dummy, dummy, Pt12, Eta12, Phi12, Pt3, Pt12Pt3, Pt12Phi12);
6248 if((
v->getTriggerType().compare(
"MET_Trigger") == 0)){
6249 histoname = labelname+
"_MET";
6250 title = labelname+
"MET;Pt[GeV/c]";
6254 v->setDgnsHistos(TriggerSummary, dummy, MET, dummy, dummy, dummy, dummy, dummy,dummy,dummy,dummy);
6257 if((
v->getTriggerType().compare(
"TET_Trigger") == 0)){
6258 histoname = labelname+
"_TET";
6259 title = labelname+
"TET;Pt[GeV/c]";
6263 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_