Go to the documentation of this file.
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);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T const * product() const
T mod(const T &a, const T &b)
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
AlcaPCCEventProducer(const edm::ParameterSet &)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelToken
edm::InputTag fPixelClusterLabel
std::unique_ptr< reco::PixelClusterCountsInEvent > thePCCob
T getParameter(std::string const &) const
~AlcaPCCEventProducer() override
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override