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
neta
const int neta
Definition: CMTRawAnalyzer.h:423
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
UEParameters
Definition: UEParameters.h:6
UEParameters::get_sum_pt
double get_sum_pt(int eta, int type=-1) const
Definition: UEParameters.cc:24
findQualityFiles.v
v
Definition: findQualityFiles.py:179
UEParameters::nreduced_particle_flow_id
static const size_t nreduced_particle_flow_id
Definition: UEParameters.h:8
PVValHelper::eta
Definition: PVValidationHelpers.h:70
UEParameters::get_raw
const std::vector< float > & get_raw(void) const
Definition: UEParameters.h:17
UEParameters::get_vn
double get_vn(int n, int eta, int type=-1) const
Definition: UEParameters.cc:34
UEParameters::get_fourier
void get_fourier(double &re, double &im, size_t n, size_t eta, int type=-1) const
Definition: UEParameters.cc:9
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
groupFilesInBlocks.nn
nn
Definition: groupFilesInBlocks.py:150
UEParameters::UEParameters
UEParameters(const std::vector< float > *v, int nn, int neta)
Definition: UEParameters.cc:4
UEParameters::parameters_
boost::const_multi_array_ref< float, 4 > * parameters_
Definition: UEParameters.h:12
UEParameters::nn_
int nn_
Definition: UEParameters.h:10
UEParameters::v_
const std::vector< float > * v_
Definition: UEParameters.h:9
UEParameters::~UEParameters
~UEParameters()
Definition: UEParameters.h:16
UEParameters::neta_
int neta_
Definition: UEParameters.h:11
UEParameters::get_psin
double get_psin(int n, int eta, int type=-1) const
Definition: UEParameters.cc:49