Go to the documentation of this file.
12 tanLorentzAnglePerTesla_(conf.getParameter<double>(
"TanLorentzAnglePerTesla")) {
20 auto const& topo = *
p.topology;
21 float ix = cluster.
center() - 0.5f *
p.coveredStrips;
24 LocalPoint lp(topo.localX(ix), topo.localY(iy), 0);
26 return std::make_pair(lp,
p.localErr);
35 float dir_x = -langle * lbfield.
y();
36 float dir_y = langle * lbfield.
x();
47 for (
unsigned int i = 3;
i < 7; ++
i) {
48 LogDebug(
"LookingForFirstPhase2OT") <<
" Subdetector " <<
i <<
" GeomDetEnumerator "
56 LogDebug(
"LookingForFirstPhase2OT") <<
" Chosen offset: " <<
m_off;
60 for (
auto i =
m_off;
i != dus.size(); ++
i) {
67 auto pitch_x =
p.topology->pitch().first;
68 auto pitch_y =
p.topology->pitch().second;
74 p.coveredStrips = lvec.x() / pitch_x;
76 constexpr
float o12 = 1. / 12;
77 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_
Phase2StripCPE(edm::ParameterSet &conf, const MagneticField &, const TrackerGeometry &, const SiPhase2OuterTrackerLorentzAngle &)
float getLorentzAngle(const uint32_t &) const
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
DetId geographicalId() const
The label of this GeomDet.
virtual float thickness() const =0
const SiPhase2OuterTrackerLorentzAngle & lorentzAngleMap_
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Local3DVector LocalVector
LocalVector toLocal(const reco::Track::Vector &v, const Surface &s)
const Plane & specificSurface() const
Same as surface(), kept for backward compatibility.
const TrackerGeometry & geom_
const PositionType & position() const
constexpr uint32_t rawId() const
get the raw id
LocalVector driftDirection(const Phase2TrackerGeomDetUnit &det) const
T getParameter(std::string const &) const
std::vector< Param > m_Params
unsigned int offsetDU(SubDetector sid) const
const MagneticField & magfield_
bool use_LorentzAngle_DB_