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 
8 private:
9  static const size_t nreduced_particle_flow_id = 3;
10  const std::vector<float> *v_;
11  int nn_;
12  int neta_;
13  boost::const_multi_array_ref<float, 4> *parameters_;
14 
15 public:
16  UEParameters(const std::vector<float> *v, int nn, int neta);
18  const std::vector<float>& get_raw(void) const {return *v_;}
19 
20  void get_fourier(double &re, double &im, size_t n, size_t eta, int type = -1) const;
21  double get_sum_pt(int eta, int type = -1) const;
22  double get_vn(int n, int eta, int type = -1) const;
23  double get_psin(int n, int eta, int type = -1) const;
24 };
25 
26 #endif
type
Definition: HCALResponse.h:21
UEParameters(const std::vector< float > *v, int nn, int neta)
Definition: UEParameters.cc:4
double get_psin(int n, int eta, int type=-1) const
Definition: UEParameters.cc:50
const std::vector< float > & get_raw(void) const
Definition: UEParameters.h:18
void get_fourier(double &re, double &im, size_t n, size_t eta, int type=-1) const
Definition: UEParameters.cc:8
const std::vector< float > * v_
Definition: UEParameters.h:10
double get_sum_pt(int eta, int type=-1) const
Definition: UEParameters.cc:24
static const size_t nreduced_particle_flow_id
Definition: UEParameters.h:9
double get_vn(int n, int eta, int type=-1) const
Definition: UEParameters.cc:34
boost::const_multi_array_ref< float, 4 > * parameters_
Definition: UEParameters.h:13