Go to the documentation of this file.
177 edm::LogError(
"SiPixelRecHitConverter") <<
" at least one CPE is not ready -- can't run!";
183 int numberOfDetUnits = 0;
184 int numberOfClusters = 0;
190 for (; DSViter !=
input.end(); DSViter++) {
192 unsigned int detid = DSViter->detId();
193 DetId detIdObject(detid);
195 const PixelGeomDetUnit* pixDet = dynamic_cast<const PixelGeomDetUnit*>(genericDet);
201 for (; clustIt != clustEnd; clustIt++) {
203 std::tuple<LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType> tuple =
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const override
static const std::string input
PixelCPEBase const * cpe_
const PixelClusterParameterEstimator * cpe_; // what we got (for now, one ptr to base class)
const edm::EDPutTokenT< SiPixelRecHitCollection > tPut_
edm::Ref< typename HandleT::element_type, typename HandleT::element_type::value_type::value_type > makeRefTo(const HandleT &iHandle, typename HandleT::element_type::value_type::const_iterator itIter)
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
const_iterator begin(bool update=false) const
Pixel cluster – collection of neighboring pixels above threshold.
void push_back(data_type const &d)
const edm::ESGetToken< PixelClusterParameterEstimator, TkPixelCPERecord > tCPE_
~SiPixelRecHitConverter() override
#define DEFINE_FWK_MODULE(type)
unsigned int QualWordType
void run(const edmNew::DetSetVector< SiPixelCluster > &input, SiPixelRecHitCollectionNew &output, TrackerGeometry const &geom)
bool getData(T &iHolder) const
void produce(edm::Event &e, const edm::EventSetup &c) override
The "Event" entrypoint: gets called by framework for every event.
const edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > tPixelCluster_
const_iterator end(bool update=false) const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tTrackerGeom_
Namespace of DDCMS conversion namespace.
const data_type * const_iterator