CMS 3D CMS Logo

TkStackMeasurementDet.h
Go to the documentation of this file.
1 #ifndef TkStackMeasurementDet_H
2 #define TkStackMeasurementDet_H
3 
6 
9 
11 
12 // FIXME::TkStackMeasurementDet in this moment is just a prototype: to be fixed soon!
13 
15 public:
17  void init(const MeasurementDet* lowerDet, const MeasurementDet* upperDet);
18 
20 
21  const StackGeomDet& specificGeomDet() const { return static_cast<StackGeomDet const&>(fastGeomDet()); }
22 
23  bool measurements(const TrajectoryStateOnSurface& stateOnThisDet,
24  const MeasurementEstimator& est,
25  const MeasurementTrackerEvent& data,
26  TempMeasurements& result) const override;
27 
28  const TkPhase2OTMeasurementDet* lowerDet() const { return theInnerDet; }
29  const TkPhase2OTMeasurementDet* upperDet() const { return theOuterDet; }
30 
32  bool isActive(const MeasurementTrackerEvent& data) const override {
33  return lowerDet()->isActive(data) && upperDet()->isActive(data);
34  }
35 
37  bool hasBadComponents(const TrajectoryStateOnSurface& tsos, const MeasurementTrackerEvent& data) const override {
38  return (lowerDet()->hasBadComponents(tsos, data) || upperDet()->hasBadComponents(tsos, data));
39  }
40 
41 private:
45 };
46 
47 #endif
TkStackMeasurementDet(const StackGeomDet *gdet, const PixelClusterParameterEstimator *cpe)
RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const override
bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const override
bool isActive(const MeasurementTrackerEvent &data) const override
return TRUE if both lower and upper components are active
const TkPhase2OTMeasurementDet * theOuterDet
const GeomDet & fastGeomDet() const
void init(const MeasurementDet *lowerDet, const MeasurementDet *upperDet)
const PixelClusterParameterEstimator * thePixelCPE
#define GCC11_FINAL
const TkPhase2OTMeasurementDet * upperDet() const
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const override
return TRUE if at least one of the lower and upper components has badChannels
const TkPhase2OTMeasurementDet * lowerDet() const
bool isActive(const MeasurementTrackerEvent &data) const override
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
const TkPhase2OTMeasurementDet * theInnerDet
TrackingRecHit::ConstRecHitContainer RecHitContainer
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
const StackGeomDet & specificGeomDet() const