41 int size = clustermap.size();
42 auto strip = std::make_unique <std::vector<float>>(
size, -10000 );
43 auto merr = std::make_unique <std::vector<float>>(
size, -10000 );
44 auto localx = std::make_unique <std::vector<float>>(
size, -10000 );
45 auto localy = std::make_unique <std::vector<float>>(
size, -10000 );
46 auto localxerr = std::make_unique <std::vector<float>>(
size, -1 );
47 auto localyerr = std::make_unique <std::vector<float>>(
size, -1 );
48 auto globalx = std::make_unique <std::vector<float>>(
size, -10000 );
49 auto globaly = std::make_unique <std::vector<float>>(
size, -10000 );
50 auto globalz = std::make_unique <std::vector<float>>(
size, -10000 );
60 shallow::CLUSTERMAP::iterator cluster = clustermap.find( std::make_pair(hit.
geographicalId().
rawId(), hit.
cluster()->firstStrip() ) );
61 if(cluster != clustermap.end() ) {
63 unsigned int i = cluster->second;
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
LocalError localPositionError() const final
bool getByToken(EDGetToken token, Handle< PROD > &result) const
GlobalPoint toGlobal(const Local2DPoint &lp) const
Conversion to the global R.F. from the R.F. of the GeomDet.
virtual float strip(const LocalPoint &) const =0
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clusters_token_
uint32_t rawId() const
get the raw id
std::vector< edm::EDGetTokenT< SiStripRecHit2DCollection > > rec_hits_tokens_
ClusterRef cluster() const
CLUSTERMAP make_cluster_map(const edm::Event &, const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > &)
std::map< std::pair< uint32_t, uint16_t >, unsigned int > CLUSTERMAP
LocalPoint localPosition() const final
DetId geographicalId() const
virtual MeasurementError measurementError(const LocalPoint &, const LocalError &) const =0