CMS 3D CMS Logo

MTDTrayBarrelLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_MTDTrayBarrelLayer_H
2 #define DetLayers_MTDTrayBarrelLayer_H
3 
12 
13 class DetRod;
14 class DetRodBuilder;
15 class GeomDet;
16 
18 public:
20  MTDTrayBarrelLayer(std::vector<const DetRod*>& rods);
21 
22  ~MTDTrayBarrelLayer() override;
23 
24  // GeometricSearchDet interface
25 
26  const std::vector<const GeomDet*>& basicComponents() const override { return theBasicComps; }
27 
28  const std::vector<const GeometricSearchDet*>& components() const override;
29 
30  std::vector<DetWithState> compatibleDets(const TrajectoryStateOnSurface& startingState,
31  const Propagator& prop,
32  const MeasurementEstimator& est) const override;
33 
34  std::vector<DetGroup> groupedCompatibleDets(const TrajectoryStateOnSurface& startingState,
35  const Propagator& prop,
36  const MeasurementEstimator& est) const override;
37 
38  // DetLayer interface
39  SubDetector subDetector() const override;
40 
41  // Extension of the interface
42 
44  virtual const std::vector<const DetRod*>& rods() const { return theRods; }
45 
46 private:
47  float xError(const TrajectoryStateOnSurface& tsos, const MeasurementEstimator& est) const;
48 
49  std::vector<const DetRod*> theRods;
50  std::vector<const GeometricSearchDet*> theComponents; // duplication of the above
51  std::vector<const GeomDet*> theBasicComps; // All chambers
54 };
55 
56 #endif
MTDTrayBarrelLayer::theRods
std::vector< const DetRod * > theRods
Definition: MTDTrayBarrelLayer.h:49
GeomDetEnumerators::SubDetector
SubDetector
Definition: GeomDetEnumerators.h:10
MeasurementEstimator
Definition: MeasurementEstimator.h:19
MTDTrayBarrelLayer::components
const std::vector< const GeometricSearchDet * > & components() const override
Definition: MTDTrayBarrelLayer.cc:174
GeomDet
Definition: GeomDet.h:27
MTDTrayBarrelLayer::groupedCompatibleDets
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDTrayBarrelLayer.cc:164
MTDTrayBarrelLayer::rods
virtual const std::vector< const DetRod * > & rods() const
Return the vector of rods.
Definition: MTDTrayBarrelLayer.h:44
RodBarrelLayer.h
MTDTrayBarrelLayer::subDetector
SubDetector subDetector() const override
Definition: MTDTrayBarrelLayer.cc:172
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
DetRod
Definition: DetRod.h:13
MTDTrayBarrelLayer::theComponents
std::vector< const GeometricSearchDet * > theComponents
Definition: MTDTrayBarrelLayer.h:50
MTDTrayBarrelLayer
Definition: MTDTrayBarrelLayer.h:17
RodBarrelLayer
MTDTrayBarrelLayer::basicComponents
const std::vector< const GeomDet * > & basicComponents() const override
Definition: MTDTrayBarrelLayer.h:26
BaseBinFinder.h
MTDTrayBarrelLayer::MTDTrayBarrelLayer
MTDTrayBarrelLayer(std::vector< const DetRod * > &rods)
Constructor, takes ownership of pointers.
Definition: MTDTrayBarrelLayer.cc:25
MTDTrayBarrelLayer::compatibleDets
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDTrayBarrelLayer.cc:67
MTDTrayBarrelLayer::~MTDTrayBarrelLayer
~MTDTrayBarrelLayer() override
Definition: MTDTrayBarrelLayer.cc:60
MTDTrayBarrelLayer::theBinFinder
BaseBinFinder< double > * theBinFinder
Definition: MTDTrayBarrelLayer.h:52
BaseBinFinder< double >
MTDTrayBarrelLayer::isOverlapping
bool isOverlapping
Definition: MTDTrayBarrelLayer.h:53
MTDTrayBarrelLayer::theBasicComps
std::vector< const GeomDet * > theBasicComps
Definition: MTDTrayBarrelLayer.h:51
MTDTrayBarrelLayer::xError
float xError(const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
Definition: MTDTrayBarrelLayer.cc:176