CMS 3D CMS Logo

SubLayerCrossings.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_SubLayerCrossings_h
2 #define TkDetLayers_SubLayerCrossings_h
3 
5 
6 #pragma GCC visibility push(hidden)
8 public:
10  SubLayerCrossing(int sli, int cdi, const GlobalPoint& pos)
12 
13  bool isValid() { return isValid_; }
14  int subLayerIndex() const { return subLayerIndex_; }
15  int closestDetIndex() const { return closestDetIndex_; }
16  const GlobalPoint& position() const { return pos_; }
17 
18 private:
22  bool isValid_;
23 };
24 
26 public:
30 
31  bool isValid() { return isValid_; }
32  const SubLayerCrossing& closest() const { return closest_; }
33  const SubLayerCrossing& other() const { return other_; }
34  int closestIndex() const { return closestIndex_; }
35 
36 private:
40  bool isValid_;
41 };
42 
43 #pragma GCC visibility pop
44 #endif
int closestIndex() const
SubLayerCrossing(int sli, int cdi, const GlobalPoint &pos)
SubLayerCrossing other_
SubLayerCrossing closest_
const GlobalPoint & position() const
int closestDetIndex() const
const SubLayerCrossing & closest() const
int subLayerIndex() const
const SubLayerCrossing & other() const
SubLayerCrossings(const SubLayerCrossing &c, const SubLayerCrossing &o, int ci)