CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  virtual bool measurements( const TrajectoryStateOnSurface& stateOnThisDet,
27  const MeasurementEstimator& est, const MeasurementTrackerEvent & data,
28  TempMeasurements & result) const;
29 
30  const TkPixelMeasurementDet* lowerDet() const{ return theInnerDet;}
31  const TkPixelMeasurementDet* upperDet() const{ return theOuterDet;}
32 
34  bool isActive(const MeasurementTrackerEvent & data) const {return lowerDet()->isActive(data) && upperDet()->isActive(data); }
35 
37  bool hasBadComponents( const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent & data ) const {
38  return (lowerDet()->hasBadComponents(tsos, data) || upperDet()->hasBadComponents(tsos, data));}
39 
40  private:
44 
45 };
46 
47 #endif
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const
return TRUE if at least one of the lower and upper components has badChannels
TkStackMeasurementDet(const StackGeomDet *gdet, const PixelClusterParameterEstimator *cpe)
#define GCC11_FINAL
tracking::TempMeasurements TempMeasurements
const TkPixelMeasurementDet * theInnerDet
bool isActive(const MeasurementTrackerEvent &data) const
return TRUE if both lower and upper components are active
const TkPixelMeasurementDet * theOuterDet
tuple result
Definition: mps_fire.py:83
const GeomDet & fastGeomDet() const
void init(const MeasurementDet *lowerDet, const MeasurementDet *upperDet)
const PixelClusterParameterEstimator * thePixelCPE
const TkPixelMeasurementDet * lowerDet() const
virtual RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const
bool isActive(const MeasurementTrackerEvent &data) const
Is this module active in reconstruction? It must be both &#39;setActiveThisEvent&#39; and &#39;setActive&#39;...
string const
Definition: compareJSON.py:14
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 StackGeomDet & specificGeomDet() const
const TkPixelMeasurementDet * upperDet() const