51 std::unique_ptr<reco::PixelClusterCounts>
thePCCob;
63 produces<reco::PixelClusterCounts, edm::Transition::EndLuminosityBlock>(
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
void beginLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
int bunchCrossing() const
std::unique_ptr< reco::PixelClusterCounts > thePCCob
~AlcaPCCProducer() override
void put(std::unique_ptr< PROD > product)
Put a new product.
AlcaPCCProducer(const edm::ParameterSet &)
void endLuminosityBlock(edm::LuminosityBlock const &lumiSeg, const edm::EventSetup &iSetup) override
void endLuminosityBlockProduce(edm::LuminosityBlock &lumiSeg, const edm::EventSetup &iSetup) override
T const * product() const
T mod(const T &a, const T &b)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelToken
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override