CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TIDLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TIDLayer_h
2 #define TkDetLayers_TIDLayer_h
3 
4 
6 #include "TIDRing.h"
7 
8 
13 #pragma GCC visibility push(hidden)
15  public:
16  TIDLayer(std::vector<const TIDRing*>& rings);
17  ~TIDLayer();
18 
19  // GeometricSearchDet interface
20 
21  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
22 
23  virtual const std::vector<const GeometricSearchDet*>& components() const {return theComps;}
24 
26  const Propagator& prop,
27  const MeasurementEstimator& est,
28  std::vector<DetGroup> & result) const;
29 
30  // DetLayer interface
32 
33 
34  private:
35  // private methods for the implementation of groupedCompatibleDets()
36  virtual BoundDisk* computeDisk( const std::vector<const TIDRing*>& rings) const;
37 
38  virtual std::vector<int> ringIndicesByCrossingProximity(const TrajectoryStateOnSurface& startingState,
39  const Propagator& prop ) const;
40 
41  protected:
42  // bool isCompatible( const TrajectoryStateOnSurface& ms,
43  // const MeasurementEstimator& est) const;
44 
45  int findClosest( const GlobalPoint[3] ) const;
46 
47  int findNextIndex( const GlobalPoint[3] , int ) const;
48 
49  bool overlapInR( const TrajectoryStateOnSurface& tsos, int i, double ymax) const;
50 
51 
52  float computeWindowSize( const GeomDet* det,
53  const TrajectoryStateOnSurface& tsos,
54  const MeasurementEstimator& est) const;
55 
56  static void
58  const Propagator& prop,
59  const std::vector<std::vector<DetGroup> > & groups,
60  const std::vector<int> & indices,
61  std::vector<DetGroup> & result );
62 
63 
64  protected:
65  std::vector<const GeometricSearchDet*> theComps;
66  std::vector<const GeomDet*> theBasicComps;
67 
68 };
69 
70 
71 #pragma GCC visibility pop
72 #endif
int findClosest(const GlobalPoint[3]) const
Definition: TIDLayer.cc:293
int i
Definition: DBlmapReader.cc:9
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
Definition: TIDLayer.cc:218
TIDLayer(std::vector< const TIDRing * > &rings)
Definition: TIDLayer.cc:34
virtual std::vector< int > ringIndicesByCrossingProximity(const TrajectoryStateOnSurface &startingState, const Propagator &prop) const
Definition: TIDLayer.cc:163
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
Definition: TIDLayer.cc:103
std::vector< const GeomDet * > theBasicComps
Definition: TIDLayer.h:66
~TIDLayer()
Definition: TIDLayer.cc:92
int findNextIndex(const GlobalPoint[3], int) const
Definition: TIDLayer.cc:314
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIDLayer.h:21
virtual BoundDisk * computeDisk(const std::vector< const TIDRing * > &rings) const
Definition: TIDLayer.cc:62
#define GCC11_FINAL
tuple result
Definition: query.py:137
static void orderAndMergeLevels(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const std::vector< std::vector< DetGroup > > &groups, const std::vector< int > &indices, std::vector< DetGroup > &result)
Definition: TIDLayer.cc:261
bool overlapInR(const TrajectoryStateOnSurface &tsos, int i, double ymax) const
Definition: TIDLayer.cc:342
std::vector< const GeometricSearchDet * > theComps
Definition: TIDLayer.h:65
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
Definition: TIDLayer.h:23
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Definition: TIDLayer.h:31