#include <ESPedestalClient.h>
Definition at line 14 of file ESPedestalClient.h.
◆ ESPedestalClient()
Definition at line 13 of file ESPedestalClient.cc.
16 fg_(
new TF1(
"fg",
"gaus")),
21 for (
int i = 0;
i < 2;
i++)
22 for (
int j = 0;
j < 2;
j++)
23 for (
int k = 0;
k < 40;
k++)
24 for (
int m = 0;
m < 40;
m++) {
32 int nLines, iz, ip, ix, iy, fed, kchip, pace, bundle, fiber, optorx;
33 ifstream
file(lutPath);
39 file >> iz >> ip >> ix >> iy >> fed >> kchip >> pace >> bundle >> fiber >> optorx;
49 cout <<
"ESPedestalClient : Look up table file can not be found in " << lutPath << endl;
References gather_cfg::cout, geometryDiff::file, edm::FileInPath::fullPath(), edm::ParameterSet::getUntrackedParameter(), hPed_, hTotN_, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, visualization-live-secondInstance_cfg::m, submitDQMOfflineCAF::nLines, senP_, senX_, senY_, senZ_, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ ~ESPedestalClient()
ESPedestalClient::~ESPedestalClient |
( |
| ) |
|
|
override |
◆ book()
◆ endJobAnalyze()
Reimplemented from ESClient.
Definition at line 55 of file ESPedestalClient.cc.
57 cout <<
"ESPedestalClient: endJob" << endl;
64 cout <<
"ESPedestalClient: Fit Pedestal" << endl;
66 for (
unsigned i = 0;
i <
senZ_.size(); ++
i) {
67 iz = (
senZ_[
i] == 1) ? 0 : 1;
69 for (
int is = 0; is < 32; ++is) {
76 TH1F *rootHisto = meFit->
getTH1F();
78 rootHisto->Fit(
fg_,
"Q",
"", 500, 1800);
82 fg_->GetParameter(1) - 2. *
fg_->GetParameter(2),
83 fg_->GetParameter(1) + 2. *
fg_->GetParameter(2));
91 cout <<
"ESPedestalClient: Use Histogram Mean" << endl;
93 for (
unsigned i = 0;
i <
senZ_.size(); ++
i) {
94 iz = (
senZ_[
i] == 1) ? 0 : 1;
96 for (
int is = 0; is < 32; ++is) {
101 if (meMean ==
nullptr)
103 TH1F *rootHisto = meMean->
getTH1F();
References gather_cfg::cout, ESClient::debug_, BTVHLTOfflineSource_cfi::dirname, fg_, fitPedestal_, dqm::implementation::IGetter::get(), dqm::legacy::MonitorElement::getTH1F(), hPed_, hTotN_, mps_fire::i, ESClient::prefixME_, senP_, senX_, senY_, senZ_, dqm::impl::MonitorElement::setBinContent(), and ESClient::verbose_.
◆ fg_
TF1* ESPedestalClient::fg_ |
|
private |
◆ fitPedestal_
bool ESPedestalClient::fitPedestal_ |
|
private |
◆ hPed_
◆ hTotN_
◆ senP_
std::vector<int> ESPedestalClient::senP_ |
|
private |
◆ senX_
std::vector<int> ESPedestalClient::senX_ |
|
private |
◆ senY_
std::vector<int> ESPedestalClient::senY_ |
|
private |
◆ senZ_
std::vector<int> ESPedestalClient::senZ_ |
|
private |
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())