43 using namespace RooFit;
44 if (
verbose_)
std::cout <<
">>> endJob (PhotonDataCertification) <<<" << std::endl;
52 reportSummaryMapTH2->GetXaxis()->SetBinLabel(1,
"EB");
53 reportSummaryMapTH2->GetXaxis()->SetBinLabel(2,
"EE");
54 reportSummaryMapTH2->GetXaxis()->SetBinLabel(3,
"Total");
55 reportSummaryMapTH2->GetYaxis()->SetBinLabel(1,
"InvMassTest");
57 float EBResult =
invMassZtest(
"Egamma/stdPhotonAnalyzer/InvMass/h_02_invMassIsoPhotonsEBarrel",
58 "invMassIsolatedPhotonsEB", igetter);
60 float EEResult =
invMassZtest(
"Egamma/stdPhotonAnalyzer/InvMass/h_03_invMassIsoPhotonsEEndcap",
61 "invMassIsolatedPhotonsEE", igetter);
63 float AllResult =
invMassZtest(
"Egamma/stdPhotonAnalyzer/InvMass/h_01_invMassAllIsolatedPhotons",
64 "invMassAllIsolatedPhotons", igetter);
67 std::cout <<
"EBResult: " << EBResult << std::endl;
68 std::cout <<
"EEResult: " << EEResult << std::endl;
69 std::cout <<
"AllResult: " << AllResult << std::endl;
72 reportSummaryMapTH2->SetBinContent(1, 1, EBResult);
73 reportSummaryMapTH2->SetBinContent(2, 1, EEResult);
74 reportSummaryMapTH2->SetBinContent(3, 1, AllResult);
MonitorElement * reportSummary_
float invMassZtest(std::string path, TString name, DQMStore::IGetter &)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
MonitorElement * reportSummaryMap_
MonitorElement * bookFloat(Args &&...args)
TH2F * getTH2F(void) const