Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:34:43

0001 #ifndef __HiJetAlgos_UEParameters_h__
0002 #define __HiJetAlgos_UEParameters_h__
0003 
0004 #include <boost/multi_array.hpp>
0005 
0006 class UEParameters {
0007 private:
0008   static const size_t nreduced_particle_flow_id = 3;
0009   const std::vector<float> *v_;
0010   int nn_;
0011   int neta_;
0012   boost::const_multi_array_ref<float, 4> *parameters_;
0013 
0014 public:
0015   UEParameters(const std::vector<float> *v, int nn, int neta);
0016   ~UEParameters() { delete parameters_; }
0017   const std::vector<float> &get_raw(void) const { return *v_; }
0018 
0019   void get_fourier(double &re, double &im, size_t n, size_t eta, int type = -1) const;
0020   double get_sum_pt(int eta, int type = -1) const;
0021   double get_vn(int n, int eta, int type = -1) const;
0022   double get_psin(int n, int eta, int type = -1) const;
0023 };
0024 
0025 #endif