206 for (
int i=0;
i<25;
i++)
284 showtagswd=gSystem->ExpandPathName(
"$CMSSW_BASE/");
285 gSystem->ChangeDirectory(showtagswd);
286 FILE *
pipe = gSystem->OpenPipe(
"showtags u -t",
"r");
289 while (line.Gets(pipe,
true)) {
290 if (line.Contains(
"Test Release"))
continue;
291 if (line.Contains(
"Base Release"))
continue;
292 if (line.Contains(
"Test release"))
continue;
293 if (line.Contains(
"--- Tag ---"))
continue;
294 if (line.Contains(
" ")) line.Replace(line.First(
" "),1,
":");
295 line.ReplaceAll(
" ",
"");
296 out = out + line +
";";
297 if (line.Contains(
"-------------------"))
break;
298 if (out.Length()>
XBINS)
break;
300 out.ReplaceAll(
"--",
"");
301 out.ReplaceAll(
";-",
";");
302 out.ReplaceAll(
";;",
";");
303 out.ReplaceAll(
"\n",
"");
305 Int_t
r = gSystem->ClosePipe(pipe);
306 gSystem->ChangeDirectory(cwd);
308 gSystem->Error(
"ShowTags",
"problem running command showtags -u -t");
312 if (str.length()>2000) str.resize(2000);
315 "/ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-;:";
316 size_t found=str.find_first_not_of(safestr);
317 if (found!=std::string::npos)
319 edm::LogWarning(
"DQMProvInfo::ShowTags") <<
" Illegal character found: "
360 for (DcsStatusCollection::const_iterator dcsStatusItr = dcsStatus->begin();
361 dcsStatusItr != dcsStatus->end(); ++dcsStatusItr)
399 bool changed(
true );
403 hltKey =
"error extraction" ;
405 else if ( hltConfig.
size() <= 0 )
408 hltKey =
"error key of length 0" ;
435 edm::LogWarning(
"DQMProvInfo") <<
" phys decl. bit not accessible !!!" ;
456 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)
MonitorElement * versTaglist_
MonitorElement * bookFloat(const char *name)
Book float.
const cms_uint16_t beamMomentum() const
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
MonitorElement * versRuntype_
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)
std::string subsystemname_
const cms_uint32_t totalIntensityBeam2() const
virtual ProcessHistory const & processHistory() const
MonitorElement * hLhcFill_
const cms_uint32_t totalIntensityBeam1() const
std::string getReleaseVersion()
virtual ~DQMProvInfo()
Destructor.
const L1GtFdlWord gtFdlWord(int bxInEventValue) const
get / set FDL word (record) in the GT readout record
const cms_uint32_t lhcFillNumber() const
ParameterSet const & getParameterSet(std::string const &) const
bool init(const edm::Run &iRun, const edm::EventSetup &iSetup, const std::string &processName, bool &changed)
d'tor
MonitorElement * hIntensity1_
const cms_uint16_t physicsDeclared() const
get/set "physics declared" bit
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)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
std::string provinfofolder_
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)
const cms_uint16_t beamMode() const
void setCurrentFolder(const std::string &fullpath)
MonitorElement * reportSummaryMap_
edm::ParameterSet parameters_