src
TrackingTools
TransientTrackingRecHit
interface
HelpertRecHit2DLocalPos.h
Go to the documentation of this file.
1
#ifndef HelpertRecHit2DLocalPos_H
2
#define HelpertRecHit2DLocalPos_H
3
4
// TO BE FIXED: the name of this class should be changed in something more generic
5
// since it is now used also for 1D Hits
6
7
#include "
DataFormats/CLHEP/interface/AlgebraicObjects.h
"
8
#include "
DataFormats/TrackingRecHit/interface/TrackingRecHit.h
"
9
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
10
#include "
DataFormats/TrackingRecHit/interface/KfComponentsHolder.h
"
11
12
// make it dummy, alignment error added in BaseTrackerRecHit
13
14
class
HelpertRecHit2DLocalPos
//: public TValidTrackingRecHit
15
{
16
public
:
17
static
AlgebraicSymMatrix
parError
(
const
LocalError
& le,
const
GeomDet
& det) {
18
AlgebraicSymMatrix
m
(2);
19
m
[0][0] = le.
xx
();
20
m
[0][1] = le.
xy
();
21
m
[1][1] = le.
yy
();
22
return
m
;
23
}
24
27
static
void
getKfComponents
(
KfComponentsHolder
& holder,
const
TrackingRecHit
& hit2dLocalPos,
const
GeomDet
& det) {
28
hit2dLocalPos.
getKfComponents
(holder);
29
}
30
32
static
void
getKfComponents
(
KfComponentsHolder
& holder,
const
SiStripRecHit1D
& hit1D,
const
GeomDet
& det) {
33
hit1D.
getKfComponents
(holder);
34
}
35
};
36
37
#endif
KfComponentsHolder.h
HelpertRecHit2DLocalPos
Definition:
HelpertRecHit2DLocalPos.h:14
SiStripRecHit1D.h
GeomDet
Definition:
GeomDet.h:27
HelpertRecHit2DLocalPos::parError
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)
Definition:
HelpertRecHit2DLocalPos.h:17
TrackingRecHit
Definition:
TrackingRecHit.h:21
HelpertRecHit2DLocalPos::getKfComponents
static void getKfComponents(KfComponentsHolder &holder, const SiStripRecHit1D &hit1D, const GeomDet &det)
Fills in KFComponents delegating to hit1D, plus adding APE if available.
Definition:
HelpertRecHit2DLocalPos.h:32
LocalError::yy
float yy() const
Definition:
LocalError.h:24
TrackingRecHit.h
visualization-live-secondInstance_cfg.m
m
Definition:
visualization-live-secondInstance_cfg.py:80
HelpertRecHit2DLocalPos::getKfComponents
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
Definition:
HelpertRecHit2DLocalPos.h:27
AlgebraicObjects.h
SiStripRecHit1D
Definition:
SiStripRecHit1D.h:8
LocalError::xy
float xy() const
Definition:
LocalError.h:23
LocalError
Definition:
LocalError.h:12
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition:
AlgebraicObjects.h:15
SiStripRecHit1D::getKfComponents
void getKfComponents(KfComponentsHolder &holder) const override
Definition:
SiStripRecHit1D.h:27
KfComponentsHolder
Definition:
KfComponentsHolder.h:13
LocalError::xx
float xx() const
Definition:
LocalError.h:22
TrackingRecHit::getKfComponents
virtual void getKfComponents(KfComponentsHolder &holder) const
Definition:
TrackingRecHit.cc:23
Generated for CMSSW Reference Manual by
1.8.14