3 #include "CLHEP/Units/PhysicalConstants.h"
13 const float curvatureError,
16 thePosition(posLower),
18 theCovMatrix(covMatrix),
20 theLowerCluster(lower),
21 theUpperCluster(upper),
22 theCurvature(curvature),
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),
39 theCurvature(curvature),
40 theCurvatureError(curvatureError),
95 for (
int i = 0;
i < 4; ++
i)
116 float ix = cluster->center();
117 float iy = cluster->column() + 0.5f;
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"
SharedInputType
definition of equality via shared input
const GeomDetUnit * lowerDet() const
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
static Global3DPoint phase2clusterGlobalPos(const PixelGeomDetUnit *geomDet, ClusterRef cluster)
Local3DVector LocalVector
virtual LocalVector localDirection() const
GlobalError lowerGlobalPosErr() const
GlobalError upperGlobalPosErr() const
Sin< T >::type sin(const T &t)
OmniClusterRef const upperClusterRef() const
bool sharesInput(const TrackingRecHit *other, SharedInputType what) const override
void getKfComponents4D(KfComponentsHolder &holder) const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool sameDetModule(TrackingRecHit const &hit) const
float transverseMomentum(float magField) const
const Plane & surface() const
The nominal surface of the GeomDet.
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
LocalError localDirectionError() const
T curvature(T InversePt, const MagneticField &field)
std::vector< const TrackingRecHit * > recHits() const override
Access to component RecHits (if any)
static constexpr int theDimension
Geom::Theta< T > theta() const
virtual float localX(float mpX) const =0
AlgebraicSymMatrix44 theCovMatrix
bool sharesClusters(VectorHit const &other, SharedInputType what) const
AlgebraicROOTObject< D, D >::SymMatrix & measuredErrors()
ClusterRef upperCluster() const
const GeomDet * det() const
float momentum(float magField) const
ROOT::Math::SMatrix< double, 4, 4, ROOT::Math::MatRepSym< double, 4 > > AlgebraicSymMatrix44
Global3DPoint upperGlobalPos() const
static GlobalError phase2clusterGlobalPosErr(const PixelGeomDetUnit *geomDet)
ROOT::Math::SVector< double, 4 > AlgebraicVector4
Global3DVector globalDirection() const
const AlgebraicSymMatrix44 & covMatrix() const
ClusterRef lowerCluster() const
"lower" is logical, not geometrically lower; in pixel-strip modules the "lower" is always a pixel ...
OmniClusterRef const lowerClusterRef() const
LocalError localPositionError() const override
AlgebraicROOTObject< D >::Vector & params()
AlgebraicROOTObject< D, D >::SymMatrix & errors()
ProjectMatrix< double, 5, D > & projFunc()
LocalPoint localPosition() const override
virtual float localY(float mpY) const =0
const AlgebraicSymMatrix22 & covMatrix() const
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
const AlgebraicVector5 & tsosLocalParameters() const
ROOT::Math::SMatrix< double, 2, 2, ROOT::Math::MatRepSym< double, 2 > > AlgebraicSymMatrix22
bool isVector(TrackingRecHit const &hit)
AlgebraicROOTObject< D >::Vector & measuredParams()
const GeomDetUnit * upperDet() const
const Surface * surface() const final
Global3DPoint lowerGlobalPos() const
OmniClusterRef const & firstClusterRef() const override
virtual std::pair< float, float > pitch() const =0
DetId geographicalId() const
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
const AlgebraicSymMatrix55 & tsosLocalErrors() const
Power< A, B >::type pow(const A &a, const B &b)
Global3DVector globalDirectionVH() const