#include "DQMServices/Components/src/DQMFileSaver.h"
#include "DQMServices/Core/interface/DQMStore.h"
#include "DQMServices/Core/interface/MonitorElement.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Framework/interface/Run.h"
#include "FWCore/Framework/interface/LuminosityBlock.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/Utilities/interface/GetReleaseVersion.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include <sys/stat.h>
#include <unistd.h>
#include <iostream>
#include <vector>
Go to the source code of this file.
Functions | |
static void | getAnInt (const edm::ParameterSet &ps, int &value, const std::string &name) |
static void getAnInt | ( | const edm::ParameterSet & | ps, | |
int & | value, | |||
const std::string & | name | |||
) | [static] |
Definition at line 17 of file DQMFileSaver.cc.
References Exception, and edm::ParameterSet::getUntrackedParameter().
Referenced by DQMFileSaver::DQMFileSaver().
00018 { 00019 value = ps.getUntrackedParameter<int>(name, value); 00020 if (value < 1 && value != -1) 00021 throw cms::Exception("DQMFileSaver") 00022 << "Invalid '" << name << "' parameter '" << value 00023 << "'. Must be -1 or >= 1."; 00024 }