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 
12 class PixelRecoLineRZ;
13 
15 
16 public:
18  MSLayersAtAngle(const std::vector<MSLayer> & layers);
19  void update(const MSLayer & layer);
20  const MSLayer * findLayer(const MSLayer & layer) const;
21 
22  float sumX0D(const PixelRecoPointRZ & pointI,
23  const PixelRecoPointRZ & pointO,
24  float tip = 0.) const;
25  float sumX0D(const PixelRecoPointRZ & pointI,
26  const PixelRecoPointRZ & pointM,
27  const PixelRecoPointRZ & pointO,
28  float tip = 0.) const;
29 
30  int size() const { return theLayers.size(); }
31  void print() const;
32 
33 private:
34  std::vector<MSLayer> theLayers;
35 
36 private:
37  typedef std::vector<MSLayer>::const_iterator LayerItr;
39  LayerItr i1, LayerItr i2) const;
40  float sum2RmRn(LayerItr i1, LayerItr i2,
41  float rTarget, const PixelRecoLineRZ & line) const;
42 };
43 
44 #endif
std::vector< MSLayer > theLayers
void print() const
float sum2RmRn(LayerItr i1, LayerItr i2, float rTarget, const PixelRecoLineRZ &line) const
void update(const MSLayer &layer)
std::vector< MSLayer >::const_iterator LayerItr
float sumX0D(const PixelRecoPointRZ &pointI, const PixelRecoPointRZ &pointO, float tip=0.) const
int size() const
const MSLayer * findLayer(const MSLayer &layer) 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