CMS 3D CMS Logo

TkStackMeasurementDet.cc
Go to the documentation of this file.
2 
4 
5 using namespace std;
6 
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)) {
16  "TkStackMeasurementDet ERROR: Trying to glue a det which is not a TkPhase2OTMeasurementDet");
17  }
18 }
19 
21  const MeasurementTrackerEvent& data) const {
23  /*
24  HitCollectorForRecHits collector( &fastGeomDet(), theMatcher, theCPE, result );
25  collectRecHits(ts, collector);
26 */
27  return result;
28 }
29 
31  const MeasurementEstimator& est,
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