8 #include "boost/foreach.hpp"
19 unsigned int clusterindex = 0;
22 clustermap.insert( std::make_pair( std::make_pair(ds.
detId(),cluster.
firstStrip()),
33 for(; it!=
end; it++) {
if (&(*it)==track) {
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
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.
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.