50 std::unique_ptr<reco::PixelClusterCounts>
thePCCob;
56 .getParameter<edm::InputTag>(
"pixelClusterLabel");
58 .getUntrackedParameter<std::string>(
"trigstring",
"alcaPCC");
62 produces<reco::PixelClusterCounts, edm::Transition::EndLuminosityBlock>(
trigstring_);
84 for (
auto const&
mod : clustColl) {
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
int bunchCrossing() const
std::unique_ptr< reco::PixelClusterCounts > thePCCob
#define DEFINE_FWK_MODULE(type)
~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