CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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) :
11  subLayerIndex_(sli), closestDetIndex_(cdi), pos_(pos) {}
12 
13  int subLayerIndex() const {return subLayerIndex_;}
14  int closestDetIndex() const {return closestDetIndex_;}
15  const GlobalPoint& position() const { return pos_;}
16 
17 private:
21 };
22 
24 public:
27  isValid_(true),closest_(c), other_(o), closestIndex_(ci) {}
28 
29  bool isValid() {return isValid_ ;}
30  const SubLayerCrossing& closest() const {return closest_;}
31  const SubLayerCrossing& other() const {return other_;}
32  int closestIndex() const {return closestIndex_;}
33 
34 private:
35  bool isValid_;
39 
40 };
41 
42 #pragma GCC visibility pop
43 #endif
int closestIndex() const
int closestDetIndex() const
const GlobalPoint & position() const
SubLayerCrossing(int sli, int cdi, const GlobalPoint &pos)
SubLayerCrossing other_
SubLayerCrossing closest_
int subLayerIndex() const
const SubLayerCrossing & other() const
SubLayerCrossings(const SubLayerCrossing &c, const SubLayerCrossing &o, int ci)
const SubLayerCrossing & closest() const
volatile std::atomic< bool > shutdown_flag false