204 for (
int i=0;
i<25;
i++)
282 showtagswd=gSystem->ExpandPathName(
"$CMSSW_BASE/");
283 gSystem->ChangeDirectory(showtagswd);
284 FILE *
pipe = gSystem->OpenPipe(
"showtags u -t",
"r");
287 while (line.Gets(pipe,
true)) {
288 if (line.Contains(
"Test Release"))
continue;
289 if (line.Contains(
"Base Release"))
continue;
290 if (line.Contains(
"Test release"))
continue;
291 if (line.Contains(
"--- Tag ---"))
continue;
292 if (line.Contains(
" ")) line.Replace(line.First(
" "),1,
":");
293 line.ReplaceAll(
" ",
"");
294 out = out + line +
";";
295 if (line.Contains(
"-------------------"))
break;
296 if (out.Length()>
XBINS)
break;
298 out.ReplaceAll(
"--",
"");
299 out.ReplaceAll(
";-",
";");
300 out.ReplaceAll(
";;",
";");
301 out.ReplaceAll(
"\n",
"");
303 Int_t
r = gSystem->ClosePipe(pipe);
304 gSystem->ChangeDirectory(cwd);
306 gSystem->Error(
"ShowTags",
"problem running command showtags -u -t");
309 std::string str(out);
310 if (str.length()>2000) str.resize(2000);
312 std::string safestr =
313 "/ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-;:";
314 size_t found=str.find_first_not_of(safestr);
315 if (found!=std::string::npos)
317 edm::LogWarning(
"DQMProvInfo::ShowTags") <<
" Illegal character found: "
357 for (DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
358 dcsStatusItr != dcsStatus->end(); ++dcsStatusItr)
396 bool changed(
true );
400 hltKey =
"error extraction" ;
402 else if ( hltConfig.
size() <= 0 )
405 hltKey =
"error key of length 0" ;
432 edm::LogWarning(
"DQMProvInfo") <<
" phys decl. bit not accessible !!!" ;
453 edm::LogInfo(
"DQMProvInfo") <<
" gtfeEvmWord inaccessible" ;
unsigned int size() const
number of trigger paths in trigger table
LuminosityBlockID id() const
bool getProcessParameterSet(std::string const &processName, ParameterSet &ps) const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * hBeamMode_
void setBinContent(int binx, double content)
set content of bin (1-D)
MonitorElement * hIntensity2_
MonitorElement * reportSummary_
MonitorElement * fileVersion_
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * hMomentum_
MonitorElement * workingDir_
Hostname of the local machine.
void cd(void)
go to top directory (ie. root)
const L1GtfeExtWord gtfeWord() const
get / set GTFE word (record) in the GT readout record
void makeHLTKeyInfo(const edm::Run &r, const edm::EventSetup &c)
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
bool gotProcessParameterSet_
void endLuminosityBlock(const edm::LuminosityBlock &l, const edm::EventSetup &c)
const std::string & tableName() const
HLT ConfDB table name.
MonitorElement * processId_
Current working directory of the job.
MonitorElement * hHltKey_
MonitorElement * versGlobaltag_
void makeDcsInfo(const edm::Event &e)
const boost::uint32_t totalIntensityBeam2() const
MonitorElement * versTaglist_
MonitorElement * bookFloat(const char *name)
Book float.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
const boost::uint16_t beamMode() const
MonitorElement * bookString(const char *name, const char *value)
Book string.
MonitorElement * isComplete_
The PID associated with this job.
std::string getShowTags(void)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void makeGtInfo(const edm::Event &e)
const boost::uint32_t lhcFillNumber() const
std::string subsystemname_
ProcessHistory const & processHistory() const
MonitorElement * hLhcFill_
std::string getReleaseVersion()
const boost::uint32_t totalIntensityBeam1() const
virtual ~DQMProvInfo()
Destructor.
const L1GtFdlWord gtFdlWord(int bxInEventValue) const
get / set FDL word (record) in the GT readout record
ParameterSet const & getParameterSet(std::string const &) const
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
MonitorElement * hIntensity1_
TH1F * getTH1F(void) const
LuminosityBlockNumber_t luminosityBlock() const
MonitorElement * versCMSSW_
MonitorElement * hIsCollisionsRun_
T const * product() const
DQMProvInfo(const edm::ParameterSet &ps)
Constructor.
double getBinContent(int binx) const
get content of bin (1-D)
const boost::uint16_t physicsDeclared() const
get/set "physics declared" bit
void beginRun(const edm::Run &r, const edm::EventSetup &c)
std::string provinfofolder_
const boost::uint16_t beamMomentum() const
TH2F * getTH2F(void) const
MonitorElement * bookInt(const char *name)
Book int.
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
MonitorElement * hostName_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void setCurrentFolder(const std::string &fullpath)
MonitorElement * reportSummaryMap_
edm::ParameterSet parameters_