Skip to content

Commit

Permalink
DQM/TrackingMonitorClient: add missing std::
Browse files Browse the repository at this point in the history
The following is required for ROOT6.

Signed-off-by: David Abdurachmanov <[email protected]>
  • Loading branch information
David Abdurachmanov authored and David Abdurachmanov committed Jan 8, 2014
1 parent 71ea0df commit f4bb201
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DQM/TrackingMonitorClient/plugins/TrackingAnalyzer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ TrackingAnalyser::TrackingAnalyser(edm::ParameterSet const& ps) {
tkMapPSet_ = ps.getParameter<edm::ParameterSet>("TkmapParameters");

std::string localPath = std::string("DQM/TrackingMonitorClient/test/loader.html");
ifstream fin(edm::FileInPath(localPath).fullPath().c_str(), std::ios::in);
std::ifstream fin(edm::FileInPath(localPath).fullPath().c_str(), std::ios::in);
char buf[BUF_SIZE];

if (!fin) {
Expand Down
4 changes: 2 additions & 2 deletions DQM/TrackingMonitorClient/src/TrackingActionExecutor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void TrackingActionExecutor::fillStatusAtLumi(DQMStore* dqm_store) {
//
void TrackingActionExecutor::createDummyShiftReport(){
// std::cout << "[TrackingActionExecutor::createDummyShiftReport]" << std::endl;
ofstream report_file;
std::ofstream report_file;
report_file.open("tracking_shift_report.txt", std::ios::out);
report_file << " Nothing to report!!" << std::endl;
report_file.close();
Expand Down Expand Up @@ -111,7 +111,7 @@ void TrackingActionExecutor::createShiftReport(DQMStore * dqm_store){
shift_summary << std::endl;
printShiftHistoParameters(dqm_store, layout_map, shift_summary);

ofstream report_file;
std::ofstream report_file;
report_file.open("tracking_shift_report.txt", std::ios::out);
report_file << shift_summary.str() << std::endl;
report_file.close();
Expand Down

0 comments on commit f4bb201

Please sign in to comment.