9 #include "boost/foreach.hpp"
20 unsigned int clusterindex = 0;
23 clustermap.insert( std::make_pair( std::make_pair(ds.
detId(),cluster.
firstStrip()),
34 for(; it!=
end; it++) {
if (&(*it)==track) {
return it -
tracks->begin(); } }
43 float driftx =-tanLorentzAnglePerTesla * lbfield.
y() * driftz;
44 float drifty = tanLorentzAnglePerTesla * lbfield.
x() * driftz;
Local3DVector LocalVector
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
uint16_t firstStrip() const
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
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.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
CLUSTERMAP make_cluster_map(const edm::Event &, edm::InputTag &)
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.