CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 TkPixelMeasurementDet *>(lowerDet);
17  theOuterDet = dynamic_cast<const TkPixelMeasurementDet *>(upperDet);
18 
19  if ((theInnerDet == 0) || (theOuterDet == 0)) {
20  throw MeasurementDetException("TkStackMeasurementDet ERROR: Trying to glue a det which is not a TkPixelMeasurementDet");
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)
const TkPixelMeasurementDet * theInnerDet
const TkPixelMeasurementDet * theOuterDet
#define nullptr
void init(const MeasurementDet *lowerDet, const MeasurementDet *upperDet)
tuple result
Definition: query.py:137
const TkPixelMeasurementDet * lowerDet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const
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
const TkPixelMeasurementDet * upperDet() const