TrackingTools
KalmanUpdators
interface
KFSwitching1DUpdator.h
Go to the documentation of this file.
1
#ifndef KFSwitching1DUpdator_H_
2
#define KFSwitching1DUpdator_H_
3
11
#include "
TrackingTools/PatternTools/interface/TrajectoryStateUpdator.h
"
12
#include "
TrackingTools/KalmanUpdators/interface/KFUpdator.h
"
13
#include "
TrackingTools/KalmanUpdators/interface/KFStrip1DUpdator.h
"
14
#include "
DataFormats/GeometryCommonDetAlgo/interface/DeepCopyPointerByClone.h
"
15
16
class
KFSwitching1DUpdator
final :
public
TrajectoryStateUpdator
{
17
private
:
18
typedef
TrajectoryStateOnSurface
TSOS
;
19
20
public
:
21
explicit
KFSwitching1DUpdator
(
bool
doEndCap
=
false
) :
theDoEndCap
(
doEndCap
) {}
22
~KFSwitching1DUpdator
()
override
{}
23
25
TSOS
update
(
const
TSOS
& aTsos,
const
TrackingRecHit
& aHit)
const override
;
26
27
KFSwitching1DUpdator
*
clone
()
const override
{
return
new
KFSwitching1DUpdator
(*
this
); }
28
29
private
:
31
const
KFUpdator
&
localUpdator
()
const
{
return
theLocalUpdator
; }
33
const
KFStrip1DUpdator
&
stripUpdator
()
const
{
return
theStripUpdator
; }
34
35
private
:
36
const
KFUpdator
theLocalUpdator
;
37
const
KFStrip1DUpdator
theStripUpdator
;
38
39
bool
theDoEndCap
;
40
};
41
42
#endif // KFSwitching1DUpdator_H_
KFSwitching1DUpdatorESProducer_cfi.doEndCap
doEndCap
Definition:
KFSwitching1DUpdatorESProducer_cfi.py:5
KFSwitching1DUpdator::theLocalUpdator
const KFUpdator theLocalUpdator
Definition:
KFSwitching1DUpdator.h:36
KFSwitching1DUpdator::localUpdator
const KFUpdator & localUpdator() const
updator for 2D hits (matched or pixel)
Definition:
KFSwitching1DUpdator.h:31
DeepCopyPointerByClone.h
KFSwitching1DUpdator::update
TSOS update(const TSOS &aTsos, const TrackingRecHit &aHit) const override
update with a hit
Definition:
KFSwitching1DUpdator.cc:6
TrajectoryStateUpdator.h
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
KFSwitching1DUpdator::KFSwitching1DUpdator
KFSwitching1DUpdator(bool doEndCap=false)
Definition:
KFSwitching1DUpdator.h:21
KFSwitching1DUpdator::stripUpdator
const KFStrip1DUpdator & stripUpdator() const
updator for non-matched strip hits
Definition:
KFSwitching1DUpdator.h:33
KFUpdator.h
KFSwitching1DUpdator
Definition:
KFSwitching1DUpdator.h:16
KFSwitching1DUpdator::~KFSwitching1DUpdator
~KFSwitching1DUpdator() override
Definition:
KFSwitching1DUpdator.h:22
TrackingRecHit
Definition:
TrackingRecHit.h:21
KFSwitching1DUpdator::theStripUpdator
const KFStrip1DUpdator theStripUpdator
Definition:
KFSwitching1DUpdator.h:37
KFSwitching1DUpdator::TSOS
TrajectoryStateOnSurface TSOS
Definition:
KFSwitching1DUpdator.h:18
KFSwitching1DUpdator::clone
KFSwitching1DUpdator * clone() const override
Definition:
KFSwitching1DUpdator.h:27
KFSwitching1DUpdator::theDoEndCap
bool theDoEndCap
Definition:
KFSwitching1DUpdator.h:39
KFStrip1DUpdator.h
KFStrip1DUpdator
Definition:
KFStrip1DUpdator.h:13
TrajectoryStateUpdator
Definition:
TrajectoryStateUpdator.h:14
KFUpdator
Definition:
KFUpdator.h:32
Generated for CMSSW Reference Manual by
1.8.16