|
|
Go to the documentation of this file.
3 #include "CLHEP/Units/PhysicalConstants.h"
13 const float curvatureError,
16 thePosition(posLower),
18 theCovMatrix(covMatrix),
20 theLowerCluster(lower),
21 theUpperCluster(
upper),
23 theCurvatureError(curvatureError),
32 const float curvatureError,
35 thePosition(
LocalPoint(vh2Dzx.localPosition().
x(), vh2Dzy.localPosition().
x(), 0.)),
36 theDirection(
LocalVector(vh2Dzx.localDirection().
x(), vh2Dzy.localDirection().
x(), 1.)),
37 theLowerCluster(lower),
38 theUpperCluster(
upper),
40 theCurvatureError(curvatureError),
74 auto const& otherClus = reinterpret_cast<const BaseTrackerRecHit*>(
other)->firstClusterRef();
95 for (
int i = 0;
i < 4; ++
i)
103 const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(
det());
109 const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(
det());
117 float iy =
cluster->column() + 0.5f;
124 const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(
det());
130 const StackGeomDet* stackDet = static_cast<const StackGeomDet*>(
det());
137 float pitchX = topo->
pitch().first;
138 float pitchY = topo->
pitch().second;
139 constexpr
float invTwelve = 1. / 12;
174 os <<
" VectorHit create in the DetId#: " << vh.
geographicalId() <<
"\n"
175 <<
" Vectorhit local position : " << vh.
localPosition() <<
"\n"
178 <<
" Lower cluster global position : " << vh.
lowerGlobalPos() <<
"\n"
ClusterRef lowerCluster() const
"lower" is logical, not geometrically lower; in pixel-strip modules the "lower" is always a pixel
ProjectMatrix< double, 5, D > & projFunc()
bool sameDetModule(TrackingRecHit const &hit) const
ClusterRef upperCluster() const
virtual LocalVector localDirection() const
Geom::Theta< T > theta() const
LocalPoint localPosition() const override
const GeomDet * det() const
const AlgebraicSymMatrix55 & tsosLocalErrors() const
virtual std::pair< float, float > pitch() const =0
const AlgebraicSymMatrix22 & covMatrix() const
Global3DPoint lowerGlobalPos() const
const GeomDetUnit * upperDet() const
bool sharesClusters(VectorHit const &other, SharedInputType what) const
T curvature(T InversePt, const edm::EventSetup &iSetup)
DetId geographicalId() const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
const AlgebraicVector5 & tsosLocalParameters() const
Sin< T >::type sin(const T &t)
const Plane & surface() const
The nominal surface of the GeomDet.
SharedInputType
definition of equality via shared input
float momentum(float magField) const
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const GeomDetUnit * lowerDet() const
ClusterRef cluster() const
Global3DVector globalDirection() const
const OmniClusterRef upperClusterRef() const
AlgebraicROOTObject< D >::Vector & measuredParams()
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
const AlgebraicSymMatrix44 & covMatrix() const
Local3DVector LocalVector
float transverseMomentum(float magField) const
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
static GlobalError phase2clusterGlobalPosErr(const PixelGeomDetUnit *geomDet)
static constexpr int theDimension
const Surface * surface() const final
const OmniClusterRef lowerClusterRef() const
AlgebraicSymMatrix44 theCovMatrix
Global3DPoint upperGlobalPos() const
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
GlobalError lowerGlobalPosErr() const
static Global3DPoint phase2clusterGlobalPos(const PixelGeomDetUnit *geomDet, ClusterRef cluster)
ROOT::Math::SVector< double, 4 > AlgebraicVector4
std::ostream & operator<<(std::ostream &os, const VectorHit &vh)
LocalError localDirectionError() const
Global3DVector globalDirectionVH() const
virtual float localY(float mpY) const =0
virtual float localX(float mpX) const =0
Power< A, B >::type pow(const A &a, const B &b)
GlobalError upperGlobalPosErr() const
LocalError localPositionError() const override
void getKfComponents4D(KfComponentsHolder &holder) const
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
bool isVector(TrackingRecHit const &hit)
AlgebraicROOTObject< D >::Vector & params()
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
AlgebraicROOTObject< D, D >::SymMatrix & errors()