54 std::unique_ptr<reco::PixelClusterCountsInEvent>
thePCCob;
61 produces<reco::PixelClusterCountsInEvent, edm::Transition::Event>(
trigstring_);
71 thePCCob = std::make_unique<reco::PixelClusterCountsInEvent>();
73 unsigned int bx =
iEvent.bunchCrossing();
82 for (
auto const&
mod : clustColl) {
89 for (
auto const& cluster :
mod) {
90 for (
int i = 0;
i < cluster.size(); ++
i) {
91 const auto pix = cluster.pixel(
i);
105 int nCluster =
mod.size();
118 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
key
prepare the HTCondor submission files and eventually submit them
#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