CMS 3D CMS Logo

TkDoubleSensMeasurementDet.h
Go to the documentation of this file.
1 #ifndef TkDoubleSensMeasurementDet_H
2 #define TkDoubleSensMeasurementDet_H
3 
6 
10 
12 
14 public:
16 
18 
20 
21  const DoubleSensGeomDet& specificGeomDet() const { return static_cast<DoubleSensGeomDet const&>(fastGeomDet()); }
23 
26 
27  bool measurements(const TrajectoryStateOnSurface& stateOnThisDet,
28  const MeasurementEstimator& est,
30  TempMeasurements& result) const override;
31 
32  const TkPixelMeasurementDet* firstDet() const { return theFirstDet; }
33  const TkPixelMeasurementDet* secondDet() const { return theSecondDet; }
34 
36  bool isActive(const MeasurementTrackerEvent& data) const override {
37  return firstDet()->isActive(data) && secondDet()->isActive(data);
38  }
39  bool isEmpty(const PxMeasurementDetSet& data) const {
40  return data.empty(firstDet()->index()) || data.empty(secondDet()->index());
41  }
42 
44  bool hasBadComponents(const TrajectoryStateOnSurface& tsos, const MeasurementTrackerEvent& data) const override {
45  return (firstDet()->hasBadComponents(tsos, data) || secondDet()->hasBadComponents(tsos, data));
46  }
47 
48 private:
52 };
53 
54 #endif
void init(const MeasurementDet *firstDet, const MeasurementDet *secondDet)
const TkPixelMeasurementDet * secondDet() 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;...
data_type const * const_iterator
Definition: DetSetNew.h:31
bool isActive(const MeasurementTrackerEvent &data) const override
return TRUE if both first and second components are active
const TkPixelMeasurementDet * theFirstDet
const TkPixelMeasurementDet * firstDet() const
bool hasBadComponents(const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const override
return TRUE if at least one of the first and second components has badChannels
bool measurements(const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const override
RecHitContainer recHits(const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const override
detset::const_iterator const_iterator
const PixelClusterParameterEstimator * thePixelCPE
const TkPixelMeasurementDet * theSecondDet
const GeomDet & fastGeomDet() const
bool isEmpty(const PxMeasurementDetSet &data) const
edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > Phase2TrackerCluster1DRef
edmNew::DetSet< SiPixelCluster > detset
TrackingRecHit::ConstRecHitContainer RecHitContainer
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:80
const DoubleSensGeomDet & specificGeomDet() const
TkDoubleSensMeasurementDet(const DoubleSensGeomDet *gdet, const PixelClusterParameterEstimator *cpe)