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) : pos_(pos), subLayerIndex_(sli), closestDetIndex_(cdi) {}
11 
12  int subLayerIndex() const { return subLayerIndex_; }
13  int closestDetIndex() const { return closestDetIndex_; }
14  const GlobalPoint& position() const { return pos_; }
15 
16 private:
20 };
21 
23 public:
27 
28  bool isValid() { return isValid_; }
29  const SubLayerCrossing& closest() const { return closest_; }
30  const SubLayerCrossing& other() const { return other_; }
31  int closestIndex() const { return closestIndex_; }
32 
33 private:
37  bool isValid_;
38 };
39 
40 #pragma GCC visibility pop
41 #endif
SubLayerCrossing::position
const GlobalPoint & position() const
Definition: SubLayerCrossings.h:14
SubLayerCrossings::isValid
bool isValid()
Definition: SubLayerCrossings.h:28
funct::false
false
Definition: Factorize.h:29
SubLayerCrossings::isValid_
bool isValid_
Definition: SubLayerCrossings.h:37
SubLayerCrossing::subLayerIndex_
int subLayerIndex_
Definition: SubLayerCrossings.h:18
SubLayerCrossings::closestIndex
int closestIndex() const
Definition: SubLayerCrossings.h:31
pos
Definition: PixelAliasList.h:18
SubLayerCrossings::SubLayerCrossings
SubLayerCrossings()
Definition: SubLayerCrossings.h:24
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
SubLayerCrossings::other_
SubLayerCrossing other_
Definition: SubLayerCrossings.h:35
Point3DBase< float, GlobalTag >
SubLayerCrossings::closest_
SubLayerCrossing closest_
Definition: SubLayerCrossings.h:34
funct::true
true
Definition: Factorize.h:173
SubLayerCrossings::closest
const SubLayerCrossing & closest() const
Definition: SubLayerCrossings.h:29
SubLayerCrossings::SubLayerCrossings
SubLayerCrossings(const SubLayerCrossing &c, const SubLayerCrossing &o, int ci)
Definition: SubLayerCrossings.h:25
SubLayerCrossing::closestDetIndex
int closestDetIndex() const
Definition: SubLayerCrossings.h:13
SubLayerCrossing::pos_
GlobalPoint pos_
Definition: SubLayerCrossings.h:17
SubLayerCrossings::closestIndex_
int closestIndex_
Definition: SubLayerCrossings.h:36
SubLayerCrossings::other
const SubLayerCrossing & other() const
Definition: SubLayerCrossings.h:30
SubLayerCrossing::SubLayerCrossing
SubLayerCrossing(int sli, int cdi, const GlobalPoint &pos)
Definition: SubLayerCrossings.h:10
SubLayerCrossing
Definition: SubLayerCrossings.h:7
SubLayerCrossing::subLayerIndex
int subLayerIndex() const
Definition: SubLayerCrossings.h:12
SubLayerCrossing::SubLayerCrossing
SubLayerCrossing()
Definition: SubLayerCrossings.h:9
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
SubLayerCrossing::closestDetIndex_
int closestDetIndex_
Definition: SubLayerCrossings.h:19
GlobalPoint.h
SubLayerCrossings
Definition: SubLayerCrossings.h:22