#include <ESPedestalClient.h>
Definition at line 14 of file ESPedestalClient.h.
◆ ESPedestalClient()
Definition at line 13 of file ESPedestalClient.cc.
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.
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;
std::string fullPath() const
MonitorElement * hTotN_[2][2][40][40]
ESClient(edm::ParameterSet const &)
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * hPed_[2][2][40][40]
◆ ~ESPedestalClient()
ESPedestalClient::~ESPedestalClient |
( |
| ) |
|
|
override |
◆ book()
Reimplemented from ESClient.
Definition at line 112 of file ESPedestalClient.cc.
References dqm::implementation::IBooker::book1D(), hPed_, hTotN_, mps_fire::i, ESClient::prefixME_, senP_, senX_, senY_, senZ_, and dqm::implementation::NavigatorBase::setCurrentFolder().
117 for (
unsigned i = 0;
i <
senZ_.size(); ++
i) {
118 int iz = (
senZ_[
i] == 1) ? 0 : 1;
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * hTotN_[2][2][40][40]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * hPed_[2][2][40][40]
◆ endJobAnalyze()
Reimplemented from ESClient.
Definition at line 55 of file ESPedestalClient.cc.
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_.
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();
MonitorElement * hTotN_[2][2][40][40]
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
virtual TH1F * getTH1F() const
virtual MonitorElement * get(std::string const &fullpath) const
MonitorElement * hPed_[2][2][40][40]
◆ 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 |