Main Page
Namespaces
Classes
Package Documentation
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
13
// make it dummy, alignment error added in BaseTrackerRecHit
14
15
16
class
HelpertRecHit2DLocalPos
//: public TValidTrackingRecHit
17
{
18
public
:
19
20
static
AlgebraicSymMatrix
parError
(
const
LocalError
& le,
const
GeomDet
& det) {
21
AlgebraicSymMatrix
m
(2);
22
m[0][0] = le.
xx
();
23
m[0][1] = le.
xy
();
24
m[1][1] = le.
yy
();
25
return
m
;
26
}
27
30
static
void
getKfComponents
(
KfComponentsHolder
& holder,
31
const
TrackingRecHit
&hit2dLocalPos,
32
const
GeomDet
& det){hit2dLocalPos.
getKfComponents
(holder);}
33
34
36
static
void
getKfComponents
(
KfComponentsHolder
& holder,
37
const
SiStripRecHit1D
& hit1D,
38
const
GeomDet
& det){hit1D.
getKfComponents
(holder);}
39
40
};
41
42
#endif
KfComponentsHolder.h
HelpertRecHit2DLocalPos
Definition:
HelpertRecHit2DLocalPos.h:16
LocalError::xx
float xx() const
Definition:
LocalError.h:24
TrackingRecHit::getKfComponents
virtual void getKfComponents(KfComponentsHolder &holder) const
Definition:
TrackingRecHit.cc:30
SiStripRecHit1D.h
GeomDet
Definition:
GeomDet.h:29
HelpertRecHit2DLocalPos::parError
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)
Definition:
HelpertRecHit2DLocalPos.h:20
TrackingRecHit
Definition:
TrackingRecHit.h:23
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:36
LocalError::xy
float xy() const
Definition:
LocalError.h:25
TrackingRecHit.h
LocalError::yy
float yy() const
Definition:
LocalError.h:26
HelpertRecHit2DLocalPos::getKfComponents
static void getKfComponents(KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det)
Definition:
HelpertRecHit2DLocalPos.h:30
AlgebraicObjects.h
SiStripRecHit1D
Definition:
SiStripRecHit1D.h:11
LocalError
Definition:
LocalError.h:12
funct::m
m
Definition:
Factorize.h:56
SiStripRecHit1D::getKfComponents
void getKfComponents(KfComponentsHolder &holder) const override
Definition:
SiStripRecHit1D.h:37
AlgebraicSymMatrix
CLHEP::HepSymMatrix AlgebraicSymMatrix
Definition:
AlgebraicObjects.h:14
KfComponentsHolder
Definition:
KfComponentsHolder.h:13
Generated for CMSSW Reference Manual by
1.8.11