RecoTracker
MeasurementDet
plugins
TkStackMeasurementDet.cc
Go to the documentation of this file.
1
#include "
TkStackMeasurementDet.h
"
2
3
#include "
TrackingTools/MeasurementDet/interface/MeasurementDetException.h
"
4
5
using namespace
std
;
6
7
TkStackMeasurementDet::TkStackMeasurementDet
(
const
StackGeomDet
* gdet,
const
PixelClusterParameterEstimator
* cpe)
8
:
MeasurementDet
(gdet), thePixelCPE(cpe), theInnerDet(nullptr), theOuterDet(nullptr) {}
9
10
void
TkStackMeasurementDet::init
(
const
MeasurementDet
* lowerDet,
const
MeasurementDet
* upperDet) {
11
theInnerDet
= dynamic_cast<const TkPhase2OTMeasurementDet*>(
lowerDet
);
12
theOuterDet
= dynamic_cast<const TkPhase2OTMeasurementDet*>(
upperDet
);
13
14
if
((
theInnerDet
==
nullptr
) || (
theOuterDet
==
nullptr
)) {
15
throw
MeasurementDetException
(
16
"TkStackMeasurementDet ERROR: Trying to glue a det which is not a TkPhase2OTMeasurementDet"
);
17
}
18
}
19
20
TkStackMeasurementDet::RecHitContainer
TkStackMeasurementDet::recHits
(
const
TrajectoryStateOnSurface
& ts,
21
const
MeasurementTrackerEvent
&
data
)
const
{
22
RecHitContainer
result
;
23
/*
24
HitCollectorForRecHits collector( &fastGeomDet(), theMatcher, theCPE, result );
25
collectRecHits(ts, collector);
26
*/
27
return
result
;
28
}
29
30
bool
TkStackMeasurementDet::measurements
(
const
TrajectoryStateOnSurface
& stateOnThisDet,
31
const
MeasurementEstimator
& est,
32
const
MeasurementTrackerEvent
&
data
,
33
TempMeasurements
&
result
)
const
{
34
return
true
;
35
}
MeasurementEstimator
Definition:
MeasurementEstimator.h:19
PixelClusterParameterEstimator
Definition:
PixelClusterParameterEstimator.h:15
TkStackMeasurementDet::TkStackMeasurementDet
TkStackMeasurementDet(const StackGeomDet *gdet, const PixelClusterParameterEstimator *cpe)
Definition:
TkStackMeasurementDet.cc:7
MeasurementDet::RecHitContainer
TrackingRecHit::ConstRecHitContainer RecHitContainer
Definition:
MeasurementDet.h:19
TkStackMeasurementDet::lowerDet
const TkPhase2OTMeasurementDet * lowerDet() const
Definition:
TkStackMeasurementDet.h:28
MeasurementDetException.h
MeasurementDet
Definition:
MeasurementDet.h:16
tracking::TempMeasurements
Definition:
TempMeasurements.h:10
TkStackMeasurementDet::theInnerDet
const TkPhase2OTMeasurementDet * theInnerDet
Definition:
TkStackMeasurementDet.h:43
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
MeasurementDetException
Common base class.
Definition:
MeasurementDetException.h:12
TkStackMeasurementDet::upperDet
const TkPhase2OTMeasurementDet * upperDet() const
Definition:
TkStackMeasurementDet.h:29
TkStackMeasurementDet::init
void init(const MeasurementDet *lowerDet, const MeasurementDet *upperDet)
Definition:
TkStackMeasurementDet.cc:10
TkStackMeasurementDet::theOuterDet
const TkPhase2OTMeasurementDet * theOuterDet
Definition:
TkStackMeasurementDet.h:44
TkStackMeasurementDet::measurements
bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const override
Definition:
TkStackMeasurementDet.cc:30
StackGeomDet
Definition:
StackGeomDet.h:7
std
Definition:
JetResolutionObject.h:76
TkStackMeasurementDet::recHits
RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const override
Definition:
TkStackMeasurementDet.cc:20
data
char data[epos_bytes_allocation]
Definition:
EPOS_Wrapper.h:79
mps_fire.result
result
Definition:
mps_fire.py:303
TkStackMeasurementDet.h
HLTSiStripMonitoring_cff.MeasurementTrackerEvent
MeasurementTrackerEvent
Definition:
HLTSiStripMonitoring_cff.py:224
Generated for CMSSW Reference Manual by
1.8.16