51 std::unique_ptr<reco::PixelClusterCounts>
thePCCob;
63 produces<reco::PixelClusterCounts, edm::InLumi>(
trigstring_);
86 for (
auto const &
mod: clustColl) {
87 if(
mod.empty()) {
continue; }
98 int nCluster =
mod.size();
99 thePCCob->increment(detId(), bx, nCluster);
106 thePCCob = std::make_unique<reco::PixelClusterCounts>();
edm::InputTag fPixelClusterLabel
T getParameter(std::string const &) const
virtual void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
int bunchCrossing() const
std::unique_ptr< reco::PixelClusterCounts > thePCCob
virtual void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup)
void put(std::unique_ptr< PROD > product)
Put a new product.
virtual void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup)
AlcaPCCProducer(const edm::ParameterSet &)
T const * product() const
T mod(const T &a, const T &b)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelToken