CMS 3D CMS Logo

TkStackMeasurementDet.cc
Go to the documentation of this file.
2 
4 
5 using namespace std;
6 
9  MeasurementDet(gdet),
10  thePixelCPE(cpe),
11  theInnerDet(nullptr), theOuterDet(nullptr)
12 {}
13 
15  const MeasurementDet* upperDet) {
16  theInnerDet = dynamic_cast<const TkPhase2OTMeasurementDet *>(lowerDet);
17  theOuterDet = dynamic_cast<const TkPhase2OTMeasurementDet *>(upperDet);
18 
19  if ((theInnerDet == 0) || (theOuterDet == 0)) {
20  throw MeasurementDetException("TkStackMeasurementDet ERROR: Trying to glue a det which is not a TkPhase2OTMeasurementDet");
21  }
22 }
23 
26 {
28 /*
29  HitCollectorForRecHits collector( &fastGeomDet(), theMatcher, theCPE, result );
30  collectRecHits(ts, collector);
31 */
32  return result;
33 }
34 
37  TempMeasurements & result) const {
38  return true;
39 }
TkStackMeasurementDet(const StackGeomDet *gdet, const PixelClusterParameterEstimator *cpe)
#define nullptr
const TkPhase2OTMeasurementDet * theOuterDet
void init(const MeasurementDet *lowerDet, const MeasurementDet *upperDet)
const TkPhase2OTMeasurementDet * upperDet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const
const TkPhase2OTMeasurementDet * lowerDet() const
const TkPhase2OTMeasurementDet * theInnerDet
virtual bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const
TrackingRecHit::ConstRecHitContainer RecHitContainer
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82