Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76190
b: "refs/heads/CMSSW_7_1_X"
c: d29527c
h: "refs/heads/CMSSW_7_1_X"
v: v3
  • Loading branch information
Salvatore Di Guida committed Oct 23, 2009
1 parent ba1ce61 commit ac3be91
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e
"refs/heads/CMSSW_7_1_X": 1616e1b8e293fe6d2bc85bc1fc20ffdd1f8d94ad
"refs/heads/CMSSW_7_1_X": d29527cba641e74a62c0744868ef66e9866eba78
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
#include "CondCore/PopCon/interface/PopConSourceHandler.h"
#include "CondFormats/Common/interface/Time.h"
//#include "CondFormats/Common/interface/Time.h"
#include "CondFormats/GeometryObjects/interface/GeometryFile.h"
#include <string>

Expand All @@ -18,7 +18,8 @@ namespace popcon {
std::string m_name;
std::string m_file;
bool m_zip;
cond::Time_t m_since;
//cond::Time_t m_since;
boost::uint64_t m_since;
bool m_debugMode;
};
}
Expand Down
4 changes: 3 additions & 1 deletion trunk/CondTools/DQM/interface/DQMSummarySourceHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

#include "FWCore/ParameterSet/interface/ParameterSetfwd.h"
#include "CondCore/PopCon/interface/PopConSourceHandler.h"
//#include "CondFormats/Common/interface/Time.h"
#include "CondFormats/DQMObjects/interface/DQMSummary.h"
#include <string>

Expand All @@ -15,7 +16,8 @@ namespace popcon {
std::string id() const;
private:
std::string m_name;
boost::int64_t m_since;
//cond::Time_t m_since;
boost::uint64_t m_since;
// for reading from omds
std::string m_connectionString;
std::string m_user;
Expand Down
2 changes: 1 addition & 1 deletion trunk/CondTools/DQM/src/DQMSummarySourceHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace popcon {
DQMSummarySourceHandler::DQMSummarySourceHandler(const edm::ParameterSet & pset):
m_name(pset.getUntrackedParameter<std::string>("name","DQMSummarySourceHandler")),
m_since(pset.getUntrackedParameter<boost::int64_t>("firstSince",1)),
m_since(pset.getUntrackedParameter<boost::uint64_t>("firstSince",1)),
m_user(pset.getUntrackedParameter<std::string>("OnlineDBUser","CMS_DQM_SUMMARY")),
m_pass(pset.getUntrackedParameter<std::string>("OnlineDBPass","****")) {
m_connectionString = "oracle://cms_omds_lb/CMS_DQM_SUMMARY";
Expand Down
6 changes: 3 additions & 3 deletions trunk/CondTools/DQM/test/DQMReferenceHistogramRootFileTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
process.PoolDBOutputService = cms.Service("PoolDBOutputService",
process.CondDBCommon,
timetype = cms.untracked.string('runnumber'),
toPut = cms.VPSet(cms.PSet(record = cms.string('DQMReferenceHistogramRootFileRcd'),
toPut = cms.VPSet(cms.PSet(record = cms.string('GeometryFile'),
tag = cms.string('ROOTFILE_Test')
)
),
logconnect = cms.untracked.string('sqlite_file:RPCRootTestLog.db')
logconnect = cms.untracked.string('sqlite_file:ROOTFILE_TestLog.db')
)

process.dqmReferenceHistogramRootFileTest = cms.EDAnalyzer("DQMReferenceHistogramRootFilePopConAnalyzer",
record = cms.string('DQMReferenceHistogramRootFileRcd'),
record = cms.string('GeometryFile'),
loggingOn = cms.untracked.bool(True), #always True, needs to create the log db
SinceAppendMode = cms.bool(True),
Source = cms.PSet(ROOTFile = cms.untracked.string("salvo.root"),
Expand Down
8 changes: 4 additions & 4 deletions trunk/CondTools/DQM/test/DQMSummaryTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
process.MessageLogger=cms.Service("MessageLogger",
destinations=cms.untracked.vstring("cout"),
cout=cms.untracked.PSet(
treshold=cms.untracked.string("INFO")
threshold=cms.untracked.string("INFO")
)
)

Expand All @@ -26,18 +26,18 @@
process.CondDBCommon,
timetype = cms.untracked.string('runnumber'), #IOV: 'runnumber'-> number of the run, 'timestamp'-> microseconds starting from 1/1/1970
toPut = cms.VPSet(cms.PSet(
record = cms.string('DQMSummaryRcd'),
record = cms.string('DQMSummary'),
tag = cms.string('DQMSummaryTest')
)),
logconnect= cms.untracked.string('sqlite_file:DQMSummaryLogTest.db')
)

process.dqmSummaryTest = cms.EDAnalyzer("DQMSummaryPopConAnalyzer",
record = cms.string('DQMSummaryRcd'),
record = cms.string('DQMSummary'),
loggingOn = cms.untracked.bool(True), #always True, needs to create the log db
SinceAppendMode = cms.bool(True),
Source = cms.PSet(
firstSince = cms.untracked.int64(43434) #1, 43434, 46335, 51493, 51500
firstSince = cms.untracked.uint64(43434) #1, 43434, 46335, 51493, 51500
)
)

Expand Down

0 comments on commit ac3be91

Please sign in to comment.