test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
HelpertRecHit2DLocalPos Class Reference

#include <HelpertRecHit2DLocalPos.h>

Static Public Member Functions

static void getKfComponents (KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
 
static void getKfComponents (KfComponentsHolder &holder, const SiStripRecHit1D &hit1D, const GeomDet &det)
 Fills in KFComponents delegating to hit1D, plus adding APE if available. More...
 
static AlgebraicSymMatrix parError (const LocalError &le, const GeomDet &det)
 
static void updateWithAPE (LocalError &le, const GeomDet &det)
 

Detailed Description

Definition at line 16 of file HelpertRecHit2DLocalPos.h.

Member Function Documentation

static void HelpertRecHit2DLocalPos::getKfComponents ( KfComponentsHolder holder,
const TrackingRecHit hit2dLocalPos,
const GeomDet det 
)
inlinestatic

Fills in KFComponents delegating to hit2dLocalPos, plus adding APE if available hit2dLocalPos MUST BE a 2D rechit measuring local position (e.g. BaseTrackerRecHit2D)

Definition at line 30 of file HelpertRecHit2DLocalPos.h.

References TrackingRecHit::getKfComponents().

Referenced by TSiTrackerMultiRecHit::getKfComponents().

32  {hit2dLocalPos.getKfComponents(holder);}
virtual void getKfComponents(KfComponentsHolder &holder) const
static void HelpertRecHit2DLocalPos::getKfComponents ( KfComponentsHolder holder,
const SiStripRecHit1D hit1D,
const GeomDet det 
)
inlinestatic

Fills in KFComponents delegating to hit1D, plus adding APE if available.

Definition at line 36 of file HelpertRecHit2DLocalPos.h.

References SiStripRecHit1D::getKfComponents().

38  {hit1D.getKfComponents(holder);}
virtual void getKfComponents(KfComponentsHolder &holder) const
static AlgebraicSymMatrix HelpertRecHit2DLocalPos::parError ( const LocalError le,
const GeomDet det 
)
inlinestatic

Definition at line 20 of file HelpertRecHit2DLocalPos.h.

References m, LocalError::xx(), LocalError::xy(), and LocalError::yy().

Referenced by TSiTrackerMultiRecHit::parametersError(), and trajectoryToResiduals().

20  {
22  m[0][0] = le.xx();
23  m[0][1] = le.xy();
24  m[1][1] = le.yy();
25  return m;
26  }
float xx() const
Definition: LocalError.h:24
float xy() const
Definition: LocalError.h:25
float yy() const
Definition: LocalError.h:26
CLHEP::HepSymMatrix AlgebraicSymMatrix
void HelpertRecHit2DLocalPos::updateWithAPE ( LocalError le,
const GeomDet det 
)
static

Definition at line 8 of file HelpertRecHit2DLocalPos.cc.

References GeomDet::localAlignmentError(), LocalError::valid(), LocalError::xx(), LocalError::xy(), and LocalError::yy().

9 {
10  LocalError lape = det.localAlignmentError();
11  if (lape.valid())
12  le = LocalError(le.xx()+lape.xx(),
13  le.xy()+lape.xy(),
14  le.yy()+lape.yy()
15  );
16 }
bool valid() const
Definition: LocalError.h:21
float xx() const
Definition: LocalError.h:24
float xy() const
Definition: LocalError.h:25
float yy() const
Definition: LocalError.h:26
LocalError const & localAlignmentError() const
Return local alligment error.
Definition: GeomDet.h:78