18 unsigned int clusterindex = 0;
20 for (
auto const& cluster : ds)
21 clustermap.insert(std::make_pair(std::make_pair(ds.detId(), cluster.firstStrip()), clusterindex++));
28 for (; it !=
end; it++) {
29 if (&(*it) ==
track) {
30 return it -
tracks->begin();
42 float driftx = -tanLorentzAnglePerTesla * lbfield.
y() * driftz;
43 float drifty = tanLorentzAnglePerTesla * lbfield.
x() * driftz;
Local3DVector LocalVector
int findTrackIndex(const edm::Handle< edm::View< reco::Track > > &h, const reco::Track *t)
LocalVector drift(const StripGeomDetUnit *, const MagneticField &, const SiStripLorentzAngle &)
virtual float thickness() const =0
DetId geographicalId() const
The label of this GeomDet.
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
float getLorentzAngle(const uint32_t &) const
const Plane & surface() const
The nominal surface of the GeomDet.
auto const & tracks
cannot be loose
const PositionType & position() const
CLUSTERMAP make_cluster_map(const edm::Event &, const edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > &)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::map< std::pair< uint32_t, uint16_t >, unsigned int > CLUSTERMAP
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.
const Bounds & bounds() const