Go to the documentation of this file.
6 : magfield_(magf), geom_(
geom), tanLorentzAnglePerTesla_(conf.getParameter<double>(
"TanLorentzAnglePerTesla")) {
19 auto const& topo = *
p.topology;
20 float ix = cluster.
center() - 0.5f *
p.coveredStrips;
23 LocalPoint lp(topo.localX(ix), topo.localY(iy), 0);
25 return std::make_pair(lp,
p.localErr);
43 for (
unsigned int i = 3;
i < 7; ++
i) {
44 LogDebug(
"LookingForFirstPhase2OT") <<
" Subdetector " <<
i <<
" GeomDetEnumerator "
52 LogDebug(
"LookingForFirstPhase2OT") <<
" Chosen offset: " <<
m_off;
56 for (
auto i =
m_off;
i != dus.size(); ++
i) {
63 auto pitch_x =
p.topology->pitch().first;
64 auto pitch_y =
p.topology->pitch().second;
70 p.coveredStrips = lvec.x() / pitch_x;
72 constexpr
float o12 = 1. / 12;
73 p.localErr =
LocalError(o12 * pitch_x * pitch_x, 0, o12 * pitch_y * pitch_y);
virtual GlobalVector inTesla(const GlobalPoint &gp) const =0
Field value ad specified global point, in Tesla.
unsigned int column() const
LocalValues localParameters(const Phase2TrackerCluster1D &cluster, const GeomDetUnit &det) const override
std::pair< LocalPoint, LocalError > LocalValues
float tanLorentzAnglePerTesla_
const Plane & surface() const
The nominal surface of the GeomDet.
LocalVector drift(const StripGeomDetUnit *, const MagneticField &, const SiStripLorentzAngle &)
const DetContainer & detUnits() const override
Returm a vector of all GeomDet.
constexpr SubDetector tkDetEnum[8]
const Bounds & bounds() const
virtual float thickness() const =0
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Local3DVector LocalVector
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.
const TrackerGeometry & geom_
T getParameter(std::string const &) const
const PositionType & position() const
LocalVector driftDirection(const Phase2TrackerGeomDetUnit &det) const
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
std::vector< Param > m_Params
Phase2StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &)
unsigned int offsetDU(SubDetector sid) const
const MagneticField & magfield_
bool use_LorentzAngle_DB_