38 #include "xgi/Method.h"
39 #include "xgi/Utils.h"
41 #include "cgicc/Cgicc.h"
42 #include "cgicc/FormEntry.h"
43 #include "cgicc/HTMLClasses.h"
60 ModuleWeb(
"SiPixelEDAClient"){
63 edm::LogInfo(
"SiPixelEDAClient") <<
" Creating SiPixelEDAClient " <<
"\n" ;
81 string localPath = string(
"DQM/SiPixelMonitorClient/test/loader.html");
86 cerr <<
"Input File: loader.html"<<
" could not be opened!" << endl;
90 while (fin.getline(buf,
BUF_SIZE,
'\n')) {
112 edm::LogInfo(
"SiPixelEDAClient") <<
" Deleting SiPixelEDAClient " <<
"\n" ;
142 edm::LogInfo (
"SiPixelEDAClient") <<
"[SiPixelEDAClient]: Begining of Run";
149 edm::LogInfo (
"SiPixelEDAClient") <<
"[SiPixelEDAClient]: Error to read configuration file!! Summary will not be produced!!!";
195 edm::LogInfo (
"SiPixelEDAClient") <<
"[SiPixelEDAClient]: Begin of LS transition";
217 edm::LogInfo(
"SiPixelEDAClient") <<
"source" <<
" is empty";
222 for(
int i = 0;
i != 40;
i++){
239 edm::LogInfo (
"SiPixelEDAClient") <<
"[SiPixelEDAClient]: End of LS transition, performing the DQM client operation";
244 edm::LogInfo(
"SiPixelEDAClient") <<
"====================================================== " << endl <<
" ===> Iteration # " <<
nLumiSecs_ <<
" " << lumiSeg.
luminosityBlock() << endl <<
"====================================================== " << endl;
330 edm::LogInfo(
"SiPixelEDAClient") <<
"[SiPixelEDAClient]: endjob called!";
340 bool isRequest =
false;
341 cgicc::Cgicc cgi(in);
342 cgicc::CgiEnvironment cgie(in);
346 string q_string = cgie.getQueryString();
347 if (q_string.find(
"RequestID") != string::npos) isRequest =
true;
T getUntrackedParameter(std::string const &, T const &) const
unsigned int staticUpdateFrequency_
void computeGlobalQualityFlagByLumi(DQMStore *bei, bool init, int nFEDs, bool Tier0Flag, int nEvents_lastLS_)
int noiseRateDenominator_
SiPixelEDAClient(const edm::ParameterSet &ps)
void createEfficiency(DQMStore *bei)
bool readConfiguration(int &tkmap_freq, int &summary_freq)
void fillGlobalQualityPlot(DQMStore *bei, bool init, edm::EventSetup const &eSetup, int nFEDs, bool Tier0Flag, int lumisec)
void cd(void)
go to top directory (ie. root)
void computeGlobalQualityFlag(DQMStore *bei, bool init, int nFEDs, bool Tier0Flag)
SiPixelInformationExtractor * sipixelInformationExtractor_
void bookOccupancyPlots(DQMStore *bei, bool hiRes, bool isbarrel)
SiPixelActionExecutor * sipixelActionExecutor_
virtual ~SiPixelEDAClient()
size_t size() const
Lenght of the data buffer in bytes.
LuminosityBlockNumber_t luminosityBlock() const
void defaultWebPage(xgi::Input *in, xgi::Output *out)
void bookDeviations(DQMStore *bei)
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
void createOccupancy(DQMStore *bei)
std::ostringstream html_out_
void endRun(edm::Run const &run, edm::EventSetup const &eSetup)
void setActionFlag(SiPixelActionType flag)
void bookGlobalQualityFlag(DQMStore *bei, bool Tier0Flag, int nFEDs)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void handleEDARequest(xgi::Input *in, xgi::Output *out, int niter)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c)
SiPixelWebInterface * sipixelWebInterface_
void bookEfficiency(DQMStore *bei)
SiPixelDataQuality * sipixelDataQuality_
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &context)
void analyze(edm::Event const &e, edm::EventSetup const &eSetup)
void beginRun(edm::Run const &run, edm::EventSetup const &eSetup)
double getBinContent(int binx) const
get content of bin (1-D)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)
void createSummary(DQMStore *bei)