7 : totalChannels_{
parameters.getAllContainers()[0].second.size() +
parameters.getAllContainers()[1].second.size()},
9 auxi1_(totalChannels_),
10 fcByPE_(totalChannels_),
11 darkCurrent_(totalChannels_),
12 auxi2_(totalChannels_) {
13 auto const containers =
parameters.getAllContainers();
16 auto const& barrelValues = containers[0].second;
17 for (
uint64_t i = 0;
i < barrelValues.size(); ++
i) {
18 auto const&
item = barrelValues[
i];
19 type_[
i] =
item.getType();
20 auxi1_[
i] =
item.getauxi1();
21 fcByPE_[
i] =
item.getFCByPE();
22 darkCurrent_[
i] =
item.getDarkCurrent();
23 auxi2_[
i] =
item.getauxi2();
27 auto const& endcapValues = containers[1].second;
28 auto const offset = barrelValues.size();
29 for (
uint64_t i = 0;
i < endcapValues.size(); ++
i) {
31 auto const&
item = endcapValues[
i];
32 type_[off] =
item.getType();
33 auxi1_[off] =
item.getauxi1();
34 fcByPE_[off] =
item.getFCByPE();
35 darkCurrent_[off] =
item.getDarkCurrent();
36 auxi2_[off] =
item.getauxi2();
44 product.
type = cms::cuda::make_device_unique<int[]>(
type_.size(),
stream);