58 produces<ClusterRemovalInfo>();
85 if (oldDSstripNew.
empty())
89 uint16_t firstStripNew = clNew->firstStrip();
90 uint32_t idStripNew = itdetNew->
id();
93 uint32_t keyOld = 99999;
99 if (oldDSstripOld.
empty())
103 uint16_t firstStripOld = clOld->firstStrip();
104 uint32_t idStripOld = itdetOld->
id();
105 if (idStripNew == idStripOld && firstStripNew == firstStripOld) {
106 keyOld = ((&*clOld) - firstOffsetStripOld);
114 stripInd.push_back(keyOld);
123 if (oldDSpixelNew.
empty())
127 int minPixelRowNew = clNew->minPixelRow();
130 uint32_t keyOld = 99999;
136 if (oldDSpixelOld.
empty())
140 int minPixelRowOld = clOld->minPixelRow();
141 if (minPixelRowNew == minPixelRowOld) {
142 keyOld = ((&*clOld) - firstOffsetPixelOld);
150 pixelInd.push_back(keyOld);
157 cri->setNewPixelClusters(
159 cri->setNewStripClusters(
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersNew_
T getParameter(std::string const &) const
#define DEFINE_FWK_MODULE(type)
data_type const * const_iterator
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClustersOld_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > stripClustersNew_
~TopBottomClusterInfoProducer() override
id_type id(size_t cell) const
std::vector< uint32_t > Indices
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
Pixel cluster – collection of neighboring pixels above threshold.
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
TopBottomClusterInfoProducer(const edm::ParameterSet &iConfig)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > pixelClustersOld_