CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 <cstdint>
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 } // namespace reco
27 #endif
float operator()(const unsigned i, const unsigned j) const
InverseCrosstalkMatrix(const unsigned N, const float x)
static std::vector< stats_t< float > > unfold(const SiStripCluster &q, const float x)
float element(const unsigned, const unsigned) const