CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MSLayersAtAngle.h
Go to the documentation of this file.
1 #ifndef MSLayersAtAngle_H
2 #define MSLayersAtAngle_H
3 
8 #include <vector>
9 #include <cmath>
10 
13 
14 class PixelRecoLineRZ;
15 
17 
18 public:
20  MSLayersAtAngle(const std::vector<MSLayer> & layers);
21  void update(const MSLayer & layer);
22  const MSLayer * findLayer(const MSLayer & layer) const;
23 
24  float sumX0D(const PixelRecoPointRZ & pointI,
25  const PixelRecoPointRZ & pointO) const;
26 
27  float sumX0D( int il, int ol,
28  const PixelRecoPointRZ & pointI,
29  const PixelRecoPointRZ & pointO) const;
30 
31  float sumX0D(const PixelRecoPointRZ & pointI,
32  const PixelRecoPointRZ & pointM,
33  const PixelRecoPointRZ & pointO) const;
34 
35  // as used in seeding
36  // z at beamline, point on two layers
37  float sumX0D(float zV, int il, int ol,
38  const PixelRecoPointRZ & pointI,
39  const PixelRecoPointRZ & pointO) const;
40 
41  int size() const { return theLayers.size(); }
42  void print() const;
43 
44 private:
45  std::vector<MSLayer> theLayers;
46  std::vector<int> indeces;
47 
48 private:
49  void init();
50 
51  typedef std::vector<MSLayer>::const_iterator LayerItr;
52  LayerItr findLayer(const PixelRecoPointRZ & point,
53  LayerItr i1, LayerItr i2) const;
54  float sum2RmRn(LayerItr i1, LayerItr i2,
55  float rTarget, const SimpleLineRZ & line) const;
56 };
57 
58 #endif
std::vector< int > indeces
std::vector< MSLayer > theLayers
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
Definition: LayerTriplets.cc:4
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
Definition: print.cc:10
int init
Definition: HydjetWrapper.h:62
std::vector< MSLayer >::const_iterator LayerItr
#define dso_hidden
Definition: Visibility.h:12
#define update(a, b)
int size() const
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5