20 debug_(ps.getUntrackedParameter<bool>(
"debug")),
21 verbose_(ps.getUntrackedParameter<bool>(
"verbose")),
24 std::vector<std::string> enabledClients(ps.
getUntrackedParameter<std::vector<std::string> >(
"enabledClients"));
28 for (
unsigned int i = 0;
i < enabledClients.size();
i++ ) {
35 if (
find(enabledClients.begin(), enabledClients.end(),
"Integrity" ) != enabledClients.end() ){
39 if (
find(enabledClients.begin(), enabledClients.end(),
"Pedestal" ) != enabledClients.end() ){
43 if (
find(enabledClients.begin(), enabledClients.end(),
"Summary" ) != enabledClients.end() ){
65 std::vector<std::string> clientsDefault;
66 clientsDefault.push_back(
"Integrity");
67 clientsDefault.push_back(
"Pedestal");
68 clientsDefault.push_back(
"Summary");
69 desc.
addUntracked<std::vector<std::string> >(
"enabledClients", clientsDefault);
83 std::cout <<
"EcalPreshowerMonitorClient: endJob" << std::endl;
std::vector< ESClient * > clients_
T getUntrackedParameter(std::string const &, T const &) const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
#define DEFINE_FWK_MODULE(type)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void addDefault(ParameterSetDescription const &psetDescription)
EcalPreshowerMonitorClient(const edm::ParameterSet &)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, const edm::LuminosityBlock &, const edm::EventSetup &) override
~EcalPreshowerMonitorClient()