16 presamples_(
pset.getUntrackedParameter<
int>(
"Presamples", 4)),
17 samples_(
pset.getUntrackedParameter<
int>(
"Samples", 10)) {
19 produces<HBHEDigiCollection>();
20 produces<HODigiCollection>();
21 produces<HFDigiCollection>();
32 auto hbhe = std::make_unique<HBHEDigiCollection>();
33 auto hf = std::make_unique<HFDigiCollection>();
34 auto ho = std::make_unique<HODigiCollection>();
38 std::vector<HcalQIESample>
samples;
39 for (
int fc = 0; fc < 3; fc++) {
50 switch (did.subdet()) {
58 hbhe->back().setReadoutIds(
eid);
66 hf->back().setReadoutIds(
eid);
74 ho->back().setReadoutIds(
eid);
93 wordexp(patspec.c_str(), &
p, WRDE_NOCMD);
95 for (
unsigned int i = 0;
i <
p.we_wordc;
i++) {
106 std::map<std::string, std::string>
params;
107 std::vector<uint32_t>
data;
119 if (
buffer.find(
"<?xml") != 0) {
123 while (
buffer.find(
"<CFGBrick>",
i) != std::string::npos) {
126 element =
"<?xml version='1.0'?>\n";
128 element.append(
"</CFGBrick>");