CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
StartingLayerFinder.h
Go to the documentation of this file.
1 #ifndef TkNavigation_StartingLayerFinder_H_
2 #define TkNavigation_StartingLayerFinder_H_
3 
7 
17 
18 #include <vector>
19 
26 public:
27  StartingLayerFinder(Propagator const& aPropagator, MeasurementTracker const& tracker)
28  : thePropagator(aPropagator),
29  theMeasurementTracker(tracker),
32 
33  std::vector<const DetLayer*> operator()(const FreeTrajectoryState& aFts, float dr, float dz) const;
34 
35 private:
37  const std::vector<const ForwardDetLayer*> firstNegPixelFwdLayer() const;
38  const std::vector<const ForwardDetLayer*> firstPosPixelFwdLayer() const;
39 
42  mutable bool thePixelLayersValid = false;
43  mutable const BarrelDetLayer* theFirstPixelBarrelLayer = nullptr;
44  mutable std::vector<const ForwardDetLayer*> theFirstNegPixelFwdLayer;
45  mutable std::vector<const ForwardDetLayer*> theFirstPosPixelFwdLayer;
46 
47  void checkPixelLayers() const;
48 };
49 
50 #endif
MeasurementTracker const & theMeasurementTracker
const BarrelDetLayer * theFirstPixelBarrelLayer
const std::vector< const ForwardDetLayer * > firstPosPixelFwdLayer() const
std::vector< const ForwardDetLayer * > theFirstNegPixelFwdLayer
const BarrelDetLayer * firstPixelBarrelLayer() const
std::vector< const DetLayer * > operator()(const FreeTrajectoryState &aFts, float dr, float dz) const
std::vector< const ForwardDetLayer * > theFirstPosPixelFwdLayer
StartingLayerFinder(Propagator const &aPropagator, MeasurementTracker const &tracker)
void checkPixelLayers() const
const std::vector< const ForwardDetLayer * > firstNegPixelFwdLayer() const
Propagator const & thePropagator