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 
16  public:
17 
19  void init(const MeasurementDet* lowerDet,
20  const MeasurementDet* upperDet);
21 
23 
24  const StackGeomDet& specificGeomDet() const {return static_cast<StackGeomDet const&>(fastGeomDet());}
25 
26  bool measurements( const TrajectoryStateOnSurface& stateOnThisDet,
27  const MeasurementEstimator& est, const MeasurementTrackerEvent & data,
28  TempMeasurements & result) const override;
29 
32 
34  bool isActive(const MeasurementTrackerEvent & data) const override {return lowerDet()->isActive(data) && upperDet()->isActive(data); }
35 
37  bool hasBadComponents( const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent & data ) const override {
38  return (lowerDet()->hasBadComponents(tsos, data) || upperDet()->hasBadComponents(tsos, data));}
39 
40  private:
44 
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:82
const StackGeomDet & specificGeomDet() const