18 unsigned int clusterindex = 0;
19 for (
auto const& ds : *clusters)
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
bool getByToken(EDGetToken token, Handle< PROD > &result) const
int findTrackIndex(const edm::Handle< edm::View< reco::Track > > &h, const reco::Track *t)
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
LocalVector drift(const StripGeomDetUnit *, const MagneticField &, const SiStripLorentzAngle &)
const Bounds & bounds() const
auto const & tracks
cannot be loose
const Plane & surface() const
The nominal surface of the GeomDet.
virtual float thickness() const =0
float getLorentzAngle(const uint32_t &) const
DetId geographicalId() const
The label of this GeomDet.
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
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 PositionType & position() const
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.