20 : debug_(ps.getUntrackedParameter<
bool>(
"debug")), verbose_(ps.getUntrackedParameter<
bool>(
"verbose")), clients_() {
21 std::vector<std::string> enabledClients(ps.
getUntrackedParameter<std::vector<std::string>>(
"enabledClients"));
25 for (
unsigned int i = 0;
i < enabledClients.size();
i++) {
32 if (
find(enabledClients.begin(), enabledClients.end(),
"Integrity") != enabledClients.end()) {
36 if (
find(enabledClients.begin(), enabledClients.end(),
"Pedestal") != enabledClients.end()) {
40 if (
find(enabledClients.begin(), enabledClients.end(),
"Summary") != enabledClients.end()) {
47 std::cout <<
"Finish EcalPreshowerMonitorClient" << std::endl;
49 for (
unsigned int i = 0;
i <
clients_.size();
i++) {
58 std::vector<std::string> clientsDefault;
59 clientsDefault.push_back(
"Integrity");
60 clientsDefault.push_back(
"Pedestal");
61 clientsDefault.push_back(
"Summary");
62 desc.
addUntracked<std::vector<std::string>>(
"enabledClients", clientsDefault);
75 std::cout <<
"EcalPreshowerMonitorClient: endJob" << std::endl;
78 for (
unsigned int i = 0;
i <
clients_.size();
i++) {
88 for (
unsigned int i = 0;
i <
clients_.size();
i++) {
T getUntrackedParameter(std::string const &, T const &) const
std::vector< ESClient * > clients_
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
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 &)
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
EcalPreshowerMonitorClient(const edm::ParameterSet &)
~EcalPreshowerMonitorClient() override
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, const edm::LuminosityBlock &, const edm::EventSetup &) override