45 produces<SiPixelRecHitCollection>();
64 auto output = std::make_unique<SiPixelRecHitCollectionNew>();
90 edm::LogError(
"SiPixelRecHitConverter") <<
" at least one CPE is not ready -- can't run!";
96 int numberOfDetUnits = 0;
97 int numberOfClusters = 0;
103 for (; DSViter != input.
end(); DSViter++) {
105 unsigned int detid = DSViter->detId();
106 DetId detIdObject(detid);
114 for (; clustIt != clustEnd; clustIt++) {
116 std::tuple<LocalPoint, LocalError, SiPixelRecHitQuality::QualWordType> tuple =
T getParameter(std::string const &) const
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)
void push_back(data_type const &d)
const_iterator end(bool update=false) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
ReturnType getParameters(const SiPixelCluster &cl, const GeomDetUnit &det) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void run(const edmNew::DetSetVector< SiPixelCluster > &input, SiPixelRecHitCollectionNew &output, edm::ESHandle< TrackerGeometry > &geom)
data_type const * const_iterator
static std::string const input
const TrackerGeomDet * idToDetUnit(DetId) const override
Return the pointer to the GeomDetUnit corresponding to a given DetId.
~SiPixelRecHitConverter() override
void produce(edm::Event &e, const edm::EventSetup &c) override
The "Event" entrypoint: gets called by framework for every event.
Namespace of DDCMS conversion namespace.
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > tPixelCluster
Pixel cluster – collection of neighboring pixels above threshold.
unsigned int QualWordType
PixelCPEBase const * cpe_
const PixelClusterParameterEstimator * cpe_; // what we got (for now, one ptr to base class) ...
const_iterator begin(bool update=false) const