30 :
public edm::one::EDProducer<edm::EndLuminosityBlockProducer, edm::LuminosityBlockCache<reco::PixelClusterCounts>> {
47 : pixelToken_(consumes(iConfig.getParameter<
edm::
InputTag>(
"pixelClusterLabel"))),
49 putToken_(produces<
reco::PixelClusterCounts,
edm::
Transition::EndLuminosityBlock>(
50 iConfig.getUntrackedParameter<
std::
string>(
"trigstring",
"alcaPCC"))) {}
54 unsigned int bx =
iEvent.bunchCrossing();
56 auto* pccOb = luminosityBlockCache(
iEvent.getLuminosityBlock().index());
57 pccOb->eventCounter(
bx);
63 for (
auto const&
mod : clustColl) {
77 int nCluster =
mod.size();
78 pccOb->increment(detId(),
bx, nCluster);
86 return std::make_shared<reco::PixelClusterCounts>();