CMS 3D CMS Logo

CrosstalkInversion.h
Go to the documentation of this file.
1 #ifndef SiStripRecHitConverter_InverseCrosstalkMatrix_h
2 #define SiStripRecHitConverter_InverseCrosstalkMatrix_h
3 
4 #include <vector>
5 #include <cmath>
6 #include <stdint.h>
8 
9 class SiStripCluster;
10 
11 namespace reco {
12 
14  public:
15  InverseCrosstalkMatrix(const unsigned N, const float x);
16  float operator()(const unsigned i, const unsigned j) const;
17 
18  private:
19  float element(const unsigned, const unsigned) const;
20  const unsigned N;
21  const double sq, lambdaP, lambdaM, denominator;
22 
23  public:
24  static std::vector<stats_t<float> > unfold(const SiStripCluster& q, const float x);
25 
26  };
27 }
28 #endif
float operator()(const unsigned i, const unsigned j) const
InverseCrosstalkMatrix(const unsigned N, const float x)
T x() const
Cartesian x coordinate.
static std::vector< stats_t< float > > unfold(const SiStripCluster &q, const float x)
fixed size matrix
float element(const unsigned, const unsigned) const