46 <<
"Use of the `onDemand` feature of SiPixelClusterShapeCacheProducer is no longer supported";
48 produces<SiPixelClusterShapeCache>();
56 desc.add<
bool>(
"onDemand",
false)->setComment(
"The on demand feature is no longer supported");
57 descriptions.
add(
"siPixelClusterShapeCache",
desc);
64 if (!
input.isValid()) {
65 edm::LogError(
"siPixelClusterShapeCache") <<
"input pixel cluster collection is not valid!";
66 auto output = std::make_unique<SiPixelClusterShapeCache>();
73 auto output = std::make_unique<SiPixelClusterShapeCache>(
input);
79 for (
const auto& detSet : *
input) {
85 for (; iCluster != endCluster; ++iCluster) {
87 if (not
output->isFilled(clusterRef)) {
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)
T getParameter(std::string const &) const
SiPixelClusterShapeCacheProducer(const edm::ParameterSet &iConfig)
const edm::EDGetTokenT< InputCollection > token_
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void determineShape(const PixelGeomDetUnit &pixelDet, const SiPixelRecHit &recHit, ClusterData &data)
data_type const * const_iterator
Log< level::Error, false > LogError
static std::string const input
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
char data[epos_bytes_allocation]
~SiPixelClusterShapeCacheProducer() override