35 produces<edmNew::DetSetVector<SiStripCluster>>();
39 auto result = std::make_unique<edmNew::DetSetVector<SiStripCluster>>();
43 const auto& tkDets = tkGeom->dets();
47 unsigned int detId = detClusters.id();
50 auto det = std::find_if(tkDets.begin(), tkDets.end(), [
detId](
auto& elem) ->
bool {
51 return (elem->geographicalId().rawId() ==
detId);
56 for (
const auto& cluster : detClusters) {
67 descriptions.
add(
"SiStripApprox2Clusters",
desc);
T getParameter(std::string const &) const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
SiStripApprox2Clusters(const edm::ParameterSet &conf)
nStrips
1.2 is to make the matching window safely the two nearest strips 0.35 is the size of an ME0 chamber i...
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > tkGeomToken_
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< SiStripApproximateClusterCollection > clusterToken_