260 ibooker.setCurrentFolder(
DirName);
263 meZJets_u_par = ibooker.book1D(
"u_parallel_Z_inc",
"u_parallel_Z_inc", 50, -1000., 75);
265 meZJets_u_par = ibooker.book1D(
"u_parallel_Z_inc",
"u_parallel_Z_inc", 50, -800., 75);
278 meZJets_u_par_ZPt_290 = ibooker.book1D(
"u_parallel_ZPt_290",
"u_parallel_ZPt_290", 50, -1000., -350.);
280 meZJets_u_par_ZPt_290 = ibooker.book1D(
"u_parallel_ZPt_290",
"u_parallel_ZPt_290", 50, -750., -150.);
282 meZJets_u_perp = ibooker.book1D(
"u_perp_Z_inc",
"u_perp_Z_inc", 50, -85., 85.);
291 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"u_parallel_Z_inc",
meZJets_u_par));
307 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"u_perp_Z_inc",
meZJets_u_perp));
325 hTrigger = ibooker.book1D(
"triggerResults",
"triggerResults", 500, 0, 500);
335 hMEx = ibooker.book1D(
"MEx",
"MEx", 200, -500, 500);
336 hMEy = ibooker.book1D(
"MEy",
"MEy", 200, -500, 500);
337 hMET = ibooker.book1D(
"MET",
"MET", 200, 0, 1000);
338 hMET_2 = ibooker.book1D(
"MET_2",
"MET Range 2", 200, 0, 2000);
339 hSumET = ibooker.book1D(
"SumET",
"SumET", 400, 0, 4000);
343 hMETSig = ibooker.book1D(
"METSig",
"METSig", 51, 0, 51);
347 hMET_logx = ibooker.book1D(
"MET_logx",
"MET_logx", 40, -1, 9);
348 hSumET_logx = ibooker.book1D(
"SumET_logx",
"SumET_logx", 40, -1, 9);
360 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"triggerResults",
hTrigger));
361 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MEx",
hMEx));
362 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MEy",
hMEy));
363 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET",
hMET));
364 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_2",
hMET_2));
365 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"SumET",
hSumET));
366 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METSig",
hMETSig));
367 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhi",
hMETPhi));
368 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_logx",
hMET_logx));
369 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"SumET_logx",
hSumET_logx));
371 hMET_HBHENoiseFilter = ibooker.book1D(
"MET_HBHENoiseFilter",
"MET_HBHENoiseFiltered", 200, 0, 1000);
373 hMET_eeBadScFilter = ibooker.book1D(
"MET_eeBadScFilter",
"MET_eeBadScFiltered", 200, 0, 1000);
376 ibooker.book1D(
"MET_CSCTightHalo2015Filter",
"MET_CSCTightHalo2015Filtered", 200, 0, 1000);
378 ibooker.book1D(
"MET_EcalDeadCellTriggerFilter",
"MET_EcalDeadCellTriggerFiltered", 200, 0, 1000);
380 ibooker.book1D(
"MET_EcalDeadCellBoundaryFilter",
"MET_EcalDeadCellBoundaryFiltered", 200, 0, 1000);
390 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_CSCTightHalo2015Filter",
392 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_EcalDeadCellTriggerFilter",
394 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_EcalDeadCellBoundaryFilter",
412 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MEx_profile",
meMEx_profile));
413 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MEy_profile",
meMEy_profile));
414 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_profile",
meMET_profile));
415 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"SumET_profile",
meSumET_profile));
418 hCaloHadEtInHB = ibooker.book1D(
"CaloHadEtInHB",
"CaloHadEtInHB", 50, 0, 2000);
420 hCaloHadEtInHO = ibooker.book1D(
"CaloHadEtInHO",
"CaloHadEtInHO", 25, 0, 500);
422 hCaloHadEtInHE = ibooker.book1D(
"CaloHadEtInHE",
"CaloHadEtInHE", 50, 0, 2000);
424 hCaloHadEtInHF = ibooker.book1D(
"CaloHadEtInHF",
"CaloHadEtInHF", 50, 0, 1000);
426 hCaloEmEtInHF = ibooker.book1D(
"CaloEmEtInHF",
"CaloEmEtInHF", 25, 0, 500);
428 hCaloEmEtInEE = ibooker.book1D(
"CaloEmEtInEE",
"CaloEmEtInEE", 50, 0, 1000);
430 hCaloEmEtInEB = ibooker.book1D(
"CaloEmEtInEB",
"CaloEmEtInEB", 50, 0, 2000);
433 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloHadEtInHO",
hCaloHadEtInHO));
434 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloHadEtInHF",
hCaloHadEtInHF));
435 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloHadEtInHE",
hCaloHadEtInHE));
436 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloHadEtInHB",
hCaloHadEtInHB));
437 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloEmEtInHF",
hCaloEmEtInHF));
438 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloEmEtInEE",
hCaloEmEtInEE));
439 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloEmEtInEB",
hCaloEmEtInEB));
446 hCaloEmEtFraction = ibooker.book1D(
"CaloEmEtFraction",
"CaloEmEtFraction", 50, 0, 1);
452 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"CaloMETPhi020",
hCaloMETPhi020));
461 if (fillPFCandPlots &&
464 meCHF_Barrel = ibooker.book1D(
"PfChargedHadronEtFractionBarrel",
"chargedHadronEtFractionBarrel", 50, 0, 1);
466 ibooker.book1D(
"PfChargedHadronEtFractionEndcapPlus",
"chargedHadronEtFractionEndcapPlus", 50, 0, 1);
468 ibooker.book1D(
"PfChargedHadronEtFractionEndcapMinus",
"chargedHadronEtFractionEndcapMinus", 50, 0, 1);
470 "PfChargedHadronEtFractionBarrel_BXm1Empty",
"chargedHadronEtFractionBarrel prev empty bunch", 50, 0, 1);
472 "chargedHadronEtFractionEndcapPlus prev empty bunch",
477 "chargedHadronEtFractionEndcapMinus prev empty bunch",
482 "chargedHadronEtFractionBarrel prev filled 2 bunches",
487 "chargedHadronEtFractionEndcapPlus prev filled bunch",
492 "chargedHadronEtFractionEndcapMinus prev filled bunch",
498 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedHadronEtFractionBarrel",
meCHF_Barrel));
499 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedHadronEtFractionEndcapPlus",
501 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
503 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
505 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
507 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
512 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
514 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
516 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
522 meNHF_Barrel = ibooker.book1D(
"PfNeutralHadronEtFractionBarrel",
"neutralHadronEtFractionBarrel", 50, 0, 1);
524 ibooker.book1D(
"PfNeutralHadronEtFractionEndcapPlus",
"neutralHadronEtFractionEndcapPlus", 50, 0, 1);
526 ibooker.book1D(
"PfNeutralHadronEtFractionEndcapMinus",
"neutralHadronEtFractionEndcapMinus", 50, 0, 1);
528 "PfNeutralHadronEtFractionBarrel_BXm1Empty",
"neutralHadronEtFractionBarrel prev empty bunch", 50, 0, 1);
530 "neutralHadronEtFractionEndcapPlus prev empty bunch",
535 "neutralHadronEtFractionEndcapMinus prev empty bunch",
543 "neutralHadronEtFractionBarrel prev filled 2 bunches",
548 "neutralHadronEtFractionEndcapPlus prev filled bunch",
553 "neutralHadronEtFractionEndcapMinus prev filled bunch",
562 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralHadronEtFractionBarrel",
meNHF_Barrel));
563 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralHadronEtFractionEndcapPlus",
565 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
567 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
569 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
571 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
576 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
578 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
580 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
586 mePhF_Barrel = ibooker.book1D(
"PfPhotonEtFractionBarrel",
"photonEtFractionBarrel", 50, 0, 1);
587 mePhF_EndcapPlus = ibooker.book1D(
"PfPhotonEtFractionEndcapPlus",
"photonEtFractionEndcapPlus", 50, 0, 1);
588 mePhF_EndcapMinus = ibooker.book1D(
"PfPhotonEtFractionEndcapMinus",
"photonEtFractionEndcapMinus", 50, 0, 1);
590 ibooker.book1D(
"PfPhotonEtFractionBarrel_BXm1Empty",
"photonEtFractionBarrel prev empty bunch", 50, 0, 1);
592 "PfPhotonEtFractionEndcapPlus_BXm1Empty",
"photonEtFractionEndcapPlus prev empty bunch", 50, 0, 1);
594 "PfPhotonEtFractionEndcapMinus_BXm1Empty",
"photonEtFractionEndcapMinus prev empty bunch", 50, 0, 1);
599 "PfPhotonEtFractionBarrel_BXm1Filled",
"photonEtFractionBarrel prev filled 2 bunches", 50, 0, 1);
601 "PfPhotonEtFractionEndcapPlus_BXm1Filled",
"photonEtFractionEndcapPlus prev filled bunch", 50, 0, 1);
603 "PfPhotonEtFractionEndcapMinus_BXm1Filled",
"photonEtFractionEndcapMinus prev filled bunch", 50, 0, 1);
609 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFractionBarrel",
mePhF_Barrel));
612 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFractionEndcapMinus",
614 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFractionBarrel_BXm1Empty",
616 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
618 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
623 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFractionBarrel_BXm1Filled",
625 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
627 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
633 meHFHadF_Plus = ibooker.book1D(
"PfHFHadronEtFractionPlus",
"HFHadronEtFractionPlus", 50, 0, 1);
634 meHFHadF_Minus = ibooker.book1D(
"PfHFHadronEtFractionMinus",
"HFHadronEtFractionMinus", 50, 0, 1);
636 ibooker.book1D(
"PfHFHadronEtFractionPlus_BXm1Empty",
"HFHadronEtFractionPlus prev empty bunch", 50, 0, 1);
638 ibooker.book1D(
"PfHFHadronEtFractionMinus_BXm1Empty",
"HFHadronEtFractionMinus prev empty bunch", 50, 0, 1);
642 ibooker.book1D(
"PfHFHadronEtFractionPlus_BXm1Filled",
"HFHadronEtFractionPlus prev filled bunch", 50, 0, 1);
644 "PfHFHadronEtFractionMinus_BXm1Filled",
"HFHadronEtFractionMinus prev filled bunch", 50, 0, 1);
649 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEtFractionPlus",
meHFHadF_Plus));
651 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEtFractionMinus",
meHFHadF_Minus));
652 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEtFractionPlus_BXm1Empty",
654 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEtFractionMinus_BXm1Empty",
658 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEtFractionPlus_BXm1Filled",
660 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
665 meHFEMF_Plus = ibooker.book1D(
"PfHFEMEtFractionPlus",
"HFEMEtFractionPlus", 50, 0, 1);
666 meHFEMF_Minus = ibooker.book1D(
"PfHFEMEtFractionMinus",
"HFEMEtFractionMinus", 50, 0, 1);
668 ibooker.book1D(
"PfHFEMEtFractionPlus_BXm1Empty",
"HFEMEtFractionPlus prev empty bunch", 50, 0, 1);
670 ibooker.book1D(
"PfHFEMEtFractionMinus_BXm1Empty",
"HFEMEtFractionMinus prev empty bunch", 50, 0, 1);
674 ibooker.book1D(
"PfHFEMEtFractionPlus_BXm1Filled",
"HFEMEtFractionPlus prev filled bunch", 50, 0, 1);
676 ibooker.book1D(
"PfHFEMEtFractionMinus_BXm1Filled",
"HFEMEtFractionMinus prev filled bunch", 50, 0, 1);
681 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFractionPlus",
meHFEMF_Plus));
683 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFractionMinus",
meHFEMF_Minus));
684 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFractionPlus_BXm1Empty",
686 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFractionMinus_BXm1Empty",
690 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFractionPlus_BXm1Filled",
692 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFractionMinus_BXm1Filled",
755 ibooker.book1D(
"PfPhotonEtFraction_BXm1Empty",
"photonEtFraction() prev empty bunch", 50, 0, 1);
757 ibooker.book1D(
"PfPhotonEtFraction_BXm1Filled",
"photonEtFraction() prev filled bunch", 50, 0, 1);
759 "PfNeutralHadronEtFraction_BXm1Empty",
"neutralHadronEtFraction() prev empty bunch", 50, 0, 1);
761 "PfNeutralHadronEtFraction_BXm1Filled",
"neutralHadronEtFraction() prev filled bunch", 50, 0, 1);
763 "PfChargedHadronEtFraction_BXm1Empty",
"chargedHadronEtFraction() prev empty bunch", 50, 0, 1);
765 "PfChargedHadronEtFraction_BXm1Filled",
"chargedHadronEtFraction() prev filled bunch", 50, 0, 1);
766 meMET_BXm1Empty = ibooker.book1D(
"MET_BXm1Empty",
"MET prev empty bunch", 200, 0, 1000);
767 meMET_BXm1Filled = ibooker.book1D(
"MET_BXm1Filled",
"MET prev filled bunch", 200, 0, 1000);
768 meSumET_BXm1Empty = ibooker.book1D(
"SumET_BXm1Empty",
"SumET prev empty bunch", 400, 0, 4000);
769 meSumET_BXm1Filled = ibooker.book1D(
"SumET_BXm1Filled",
"SumET prev filled bunch", 400, 0, 4000);
771 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFraction_BXm1Empty",
773 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFraction_BXm1Filled",
775 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralHadronEtFraction_BXm1Empty",
777 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralEtFraction_BXm1Filled",
779 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedHadronEtFraction_BXm1Empty",
781 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedEtFraction_BXm1Filled",
783 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_BXm1Empty",
meMET_BXm1Empty));
784 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MET_BXm1Filled",
meMET_BXm1Filled));
791 "METPhiChargedHadronsBarrel_BXm1Filled",
"METPhi_PFChargedHadronsBarrel prev bunch filled", 50, -
M_PI,
M_PI);
793 ibooker.book1D(
"METPhiChargedHadronsEndcapPlus_BXm1Filled",
794 "METPhi_PFChargedHadronsEndcapPlus prev bunch filled",
799 ibooker.book1D(
"METPhiChargedHadronsEndcapMinus_BXm1Filled",
800 "METPhi_PFChargedHadronsEndcapMinus prev bunch filled",
805 "METPhiNeutralHadronsBarrel_BXm1Filled",
"METPhi_PFNeutralHadronsBarrel prev bunch filled", 50, -
M_PI,
M_PI);
807 ibooker.book1D(
"METPhiNeutralHadronsEndcapPlus_BXm1Filled",
808 "METPhi_PFNeutralHadronsEndcapPlus prev bunch filled",
813 ibooker.book1D(
"METPhiNeutralHadronsEndcapMinus_BXm1Filled",
814 "METPhi_PFNeutralHadronsEndcapMinus prev bunch filled",
819 "METPhiPhotonsBarrel_BXm1Filled",
"METPhi_PFPhotonsBarrel prev bunch filled", 50, -
M_PI,
M_PI);
821 "METPhiPhotonsEndcapPlus_BXm1Filled",
"METPhi_PFPhotonsEndcapPlus prev bunch filled", 50, -
M_PI,
M_PI);
823 "METPhiPhotonsEndcapMinus_BXm1Filled",
"METPhi_PFPhotonsEndcapMinus prev bunch filled", 50, -
M_PI,
M_PI);
825 "METPhiHFHadronsPlus_BXm1Filled",
"METPhi_PFHFHadronsPlus prev bunch filled", 50, -
M_PI,
M_PI);
827 "METPhiHFHadronsMinus_BXm1Filled",
"METPhi_PFHFHadronsMinus prev bunch filled", 50, -
M_PI,
M_PI);
829 "METPhiHFEGammasPlus_BXm1Filled",
"METPhi_PFHFEGammasPlus prev bunch filled", 50, -
M_PI,
M_PI);
831 "METPhiHFEGammasMinus_BXm1Filled",
"METPhi_PFHFEGammasMinus prev bunch filled", 50, -
M_PI,
M_PI);
833 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
835 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
838 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiChargedHadronsEndcapMinus_BXm1Filled",
840 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
842 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
845 std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiNeutralHadronsEndcapMinus_BXm1Filled",
847 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsBarrel_BXm1Filled",
849 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsEndcapPlus_BXm1Filled",
851 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsEndcapMinus_BXm1Filled",
853 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFHadronsPlus_BXm1Filled",
855 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFHadronsMinus_BXm1Filled",
857 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFEGammasPlus_BXm1Filled",
859 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFEGammasMinus_BXm1Filled",
863 "METPhiChargedHadronsBarrel_BXm1Empty",
"METPhi_PFChargedHadronsBarrel prev bunch empty", 50, -
M_PI,
M_PI);
865 ibooker.book1D(
"METPhiChargedHadronsEndcapPlus_BXm1Empty",
866 "METPhi_PFChargedHadronsEndcapPlus prev bunch empty",
871 ibooker.book1D(
"METPhiChargedHadronsEndcapMinus_BXm1Empty",
872 "METPhi_PFChargedHadronsEndcapMinus prev bunch empty",
877 "METPhiNeutralHadronsBarrel_BXm1Empty",
"METPhi_PFNeutralHadronsBarrel prev bunch empty", 50, -
M_PI,
M_PI);
879 ibooker.book1D(
"METPhiNeutralHadronsEndcapPlus_BXm1Empty",
880 "METPhi_PFNeutralHadronsEndcapPlus prev bunch empty",
885 ibooker.book1D(
"METPhiNeutralHadronsEndcapMinus_BXm1Empty",
886 "METPhi_PFNeutralHadronsEndcapMinus prev bunch empty",
891 ibooker.book1D(
"METPhiPhotonsBarrel_BXm1Empty",
"METPhi_PFPhotonsBarrel prev bunch empty", 50, -
M_PI,
M_PI);
893 "METPhiPhotonsEndcapPlus_BXm1Empty",
"METPhi_PFPhotonsEndcapPlus prev bunch empty", 50, -
M_PI,
M_PI);
895 "METPhiPhotonsEndcapMinus_BXm1Empty",
"METPhi_PFPhotonsEndcapMinus prev bunch empty", 50, -
M_PI,
M_PI);
897 ibooker.book1D(
"METPhiHFHadronsPlus_BXm1Empty",
"METPhi_PFHFHadronsPlus prev bunch empty", 50, -
M_PI,
M_PI);
899 "METPhiHFHadronsMinus_BXm1Empty",
"METPhi_PFHFHadronsMinus prev bunch empty", 50, -
M_PI,
M_PI);
901 ibooker.book1D(
"METPhiHFEGammasPlus_BXm1Empty",
"METPhi_PFHFEGammasPlus prev bunch empty", 50, -
M_PI,
M_PI);
903 "METPhiHFEGammasMinus_BXm1Empty",
"METPhi_PFHFEGammasMinus prev bunch empty", 50, -
M_PI,
M_PI);
905 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
907 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
909 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
911 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
913 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
915 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
917 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsBarrel_BXm1Empty",
919 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsEndcapPlus_BXm1Empty",
921 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsEndcapMinus_BXm1Empty",
923 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFHadronsPlus_BXm1Empty",
925 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFHadronsMinus_BXm1Empty",
927 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFEGammasPlus_BXm1Empty",
929 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiHFEGammasMinus_BXm1Empty",
933 ibooker.book1D(
"METPhiChargedHadronsBarrel",
"METPhi_PFChargedHadronsBarrel", 50, -
M_PI,
M_PI);
935 ibooker.book1D(
"METPhiChargedHadronsEndcapPlus",
"METPhi_PFChargedHadronsEndcapPlus", 50, -
M_PI,
M_PI);
937 ibooker.book1D(
"METPhiChargedHadronsEndcapMinus",
"METPhi_PFChargedHadronsEndcapMinus", 50, -
M_PI,
M_PI);
939 ibooker.book1D(
"METPhiNeutralHadronsBarrel",
"METPhi_PFNeutralHadronsBarrel", 50, -
M_PI,
M_PI);
941 ibooker.book1D(
"METPhiNeutralHadronsEndcapPlus",
"METPhi_PFNeutralHadronsEndcapPlus", 50, -
M_PI,
M_PI);
943 ibooker.book1D(
"METPhiNeutralHadronsEndcapMinus",
"METPhi_PFNeutralHadronsEndcapMinus", 50, -
M_PI,
M_PI);
946 ibooker.book1D(
"METPhiPhotonsEndcapPlus",
"METPhi_PFPhotonsEndcapPlus", 50, -
M_PI,
M_PI);
948 ibooker.book1D(
"METPhiPhotonsEndcapMinus",
"METPhi_PFPhotonsEndcapMinus", 50, -
M_PI,
M_PI);
954 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiChargedHadronsBarrel",
956 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiChargedHadronsEndcapPlus",
958 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiChargedHadronsEndcapMinus",
960 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiNeutralHadronsBarrel",
962 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiNeutralHadronsEndcapPlus",
964 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiNeutralHadronsEndcapMinus",
968 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsEndcapPlus",
970 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METPhiPhotonsEndcapMinus",
998 double etaMinPFCand =
v->getParameter<
double>(
"etaMin");
999 double etaMaxPFCand =
v->getParameter<
double>(
"etaMax");
1000 int nMinPFCand =
v->getParameter<
int>(
"nMin");
1001 int nMaxPFCand =
v->getParameter<
int>(
"nMax");
1002 int nbinsPFCand =
v->getParameter<
double>(
"nbins");
1021 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
1033 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
1040 if (fillPFCandPlots &&
1053 double etaMinPFCand =
v->getParameter<
double>(
"etaMin");
1054 double etaMaxPFCand =
v->getParameter<
double>(
"etaMax");
1067 mePhotonEtFraction = ibooker.book1D(
"PfPhotonEtFraction",
"photonEtFraction()", 50, 0, 1);
1070 meHFHadronEtFraction = ibooker.book1D(
"PfHFHadronEtFraction",
"HFHadronEtFraction()", 50, 0, 1);
1071 meHFEMEtFraction = ibooker.book1D(
"PfHFEMEtFraction",
"HFEMEtFraction()", 50, 0, 1);
1075 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralHadronEtFraction",
1077 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedHadronEtFraction",
1081 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFraction",
meHFEMEtFraction));
1084 ibooker.bookProfile(
"PfPhotonEtFraction_profile",
"photonEtFraction()",
nbinsPV_,
nPVMin_,
nPVMax_, 50, 0, 1);
1092 ibooker.bookProfile(
"PfHFEMEtFraction_profile",
"HFEMEtFraction()",
nbinsPV_,
nPVMin_,
nPVMax_, 50, 0, 1);
1099 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEtFraction_profile",
1101 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralHadronEtFraction_profile",
1103 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedHadronEtFraction_profile",
1105 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEtFraction_profile",
1107 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEtFraction_profile",
1110 mePhotonEt = ibooker.book1D(
"PfPhotonEt",
"photonEt()", 50, 0, 1000);
1111 meNeutralHadronEt = ibooker.book1D(
"PfNeutralHadronEt",
"neutralHadronEt()", 50, 0, 1000);
1112 meElectronEt = ibooker.book1D(
"PfElectronEt",
"electronEt()", 50, 0, 100);
1113 meChargedHadronEt = ibooker.book1D(
"PfChargedHadronEt",
"chargedHadronEt()", 50, 0, 2000);
1114 meMuonEt = ibooker.book1D(
"PfMuonEt",
"muonEt()", 50, 0, 100);
1115 meHFHadronEt = ibooker.book1D(
"PfHFHadronEt",
"HFHadronEt()", 50, 0, 2000);
1116 meHFEMEt = ibooker.book1D(
"PfHFEMEt",
"HFEMEt()", 50, 0, 1000);
1118 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfPhotonEt",
mePhotonEt));
1121 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfElectronEt",
meElectronEt));
1124 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfMuonEt",
meMuonEt));
1125 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFHadronEt",
meHFHadronEt));
1126 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEt",
meHFEMEt));
1146 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfNeutralHadronEt_profile",
1148 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfChargedHadronEt_profile",
1152 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"PfHFEMEt_profile",
meHFEMEt_profile));
1157 hMExLS = ibooker.book2D(
"MExLS",
"MEx_LS", 200, -200, 200, 250, 0., 2500.);
1161 hMEyLS = ibooker.book2D(
"MEyLS",
"MEy_LS", 200, -200, 200, 250, 0., 2500.);
1165 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MExLS",
hMExLS));
1166 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"MEyLS",
hMEyLS));
1170 hMETRate = ibooker.book1D(
"METRate",
"METRate", 200, 0, 1000);
1171 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
DirName +
"/" +
"METRate",
hMETRate));
1173 ibooker.setCurrentFolder(
"JetMET");
1174 lumisecME = ibooker.book1D(
"lumisec",
"lumisec", 2501, -1., 2500.);
1175 map_of_MEs.insert(std::pair<std::string, MonitorElement*>(
"JetMET/lumisec",
lumisecME));