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);
66 auto output = std::make_unique<SiPixelClusterShapeCache>(
input);
67 output->resize(input->data().size());
72 for (
const auto& detSet : *input) {
78 for (; iCluster != endCluster; ++iCluster) {
80 if (not
output->isFilled(clusterRef)) {
83 output->insert(clusterRef, data);
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)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
SiPixelClusterShapeCacheProducer(const edm::ParameterSet &iConfig)
const edm::EDGetTokenT< InputCollection > token_
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void determineShape(const PixelGeomDetUnit &pixelDet, const SiPixelRecHit &recHit, ClusterData &data)
data_type const * const_iterator
static std::string const input
bool getData(T &iHolder) const
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
char data[epos_bytes_allocation]
~SiPixelClusterShapeCacheProducer() override