CMS 3D CMS Logo

UEParameters.h
Go to the documentation of this file.
1 #ifndef __HiJetAlgos_UEParameters_h__
2 #define __HiJetAlgos_UEParameters_h__
3 
4 #include <boost/multi_array.hpp>
5 
6 class UEParameters {
7 private:
8  static const size_t nreduced_particle_flow_id = 3;
9  const std::vector<float> *v_;
10  int nn_;
11  int neta_;
12  boost::const_multi_array_ref<float, 4> *parameters_;
13 
14 public:
15  UEParameters(const std::vector<float> *v, int nn, int neta);
16  ~UEParameters() { delete parameters_; }
17  const std::vector<float> &get_raw(void) const { return *v_; }
18 
19  void get_fourier(double &re, double &im, size_t n, size_t eta, int type = -1) const;
20  double get_sum_pt(int eta, int type = -1) const;
21  double get_vn(int n, int eta, int type = -1) const;
22  double get_psin(int n, int eta, int type = -1) const;
23 };
24 
25 #endif
UEParameters(const std::vector< float > *v, int nn, int neta)
Definition: UEParameters.cc:4
double get_sum_pt(int eta, int type=-1) const
Definition: UEParameters.cc:24
double get_psin(int n, int eta, int type=-1) const
Definition: UEParameters.cc:49
double get_vn(int n, int eta, int type=-1) const
Definition: UEParameters.cc:34
const int neta
void get_fourier(double &re, double &im, size_t n, size_t eta, int type=-1) const
Definition: UEParameters.cc:9
const std::vector< float > * v_
Definition: UEParameters.h:9
static const size_t nreduced_particle_flow_id
Definition: UEParameters.h:8
const std::vector< float > & get_raw(void) const
Definition: UEParameters.h:17
boost::const_multi_array_ref< float, 4 > * parameters_
Definition: UEParameters.h:12