48 std::unique_ptr<reco::PixelClusterCountsInEvent>
thePCCob;
55 produces<reco::PixelClusterCountsInEvent, edm::Transition::Event>(
trigstring_);
65 thePCCob = std::make_unique<reco::PixelClusterCountsInEvent>();
67 unsigned int bx =
iEvent.bunchCrossing();
76 for (
auto const&
mod : clustColl) {
90 int nCluster =
mod.size();
91 thePCCob->increment(detId(), nCluster);
103 descriptions.
add(
"alcaPCCEventProducer", evtParamDesc);
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T getParameter(std::string const &) const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
AlcaPCCEventProducer(const edm::ParameterSet &)
T const * product() const
std::unique_ptr< reco::PixelClusterCountsInEvent > thePCCob
~AlcaPCCEventProducer() override
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelToken
void add(std::string const &label, ParameterSetDescription const &psetDescription)
T mod(const T &a, const T &b)
edm::InputTag fPixelClusterLabel