44 |
|
* |
45 |
|
* Created by Xiuquan Sun on 05/09/06. |
46 |
|
* @author Xiuquan Sun |
47 |
< |
* @version $Id: Hxy.hpp,v 1.4 2006-05-17 21:51:42 tim Exp $ |
47 |
> |
* @version $Id: Hxy.hpp,v 1.5 2006-05-22 15:30:42 xsun Exp $ |
48 |
|
* |
49 |
|
*/ |
50 |
|
#ifndef APPLICATIONS_STATICPROPS_HXY_HPP |
76 |
|
|
77 |
|
public: |
78 |
|
Hxy(SimInfo* info, const std::string& filename, const std::string& sele, int nbins_x, int nbins_y, int nrbins); |
79 |
< |
|
79 |
> |
virtual ~Hxy(); |
80 |
|
int getnbins() { |
81 |
|
return nbins_; |
82 |
|
} |
102 |
|
SelectionEvaluator evaluator_; |
103 |
|
SelectionManager seleMan_; |
104 |
|
|
105 |
< |
RealType nBinsX_; |
106 |
< |
RealType nBinsY_; |
105 |
> |
int nBinsX_; |
106 |
> |
int nBinsY_; |
107 |
|
int nbins_; |
108 |
|
RealType dfreq; |
109 |
|
|
111 |
|
std::vector<int> gridsample_; |
112 |
|
std::vector< std::vector<RealType> > bin; |
113 |
|
std::vector< std::vector<int> > samples; |
114 |
+ |
|
115 |
|
std::vector<RealType> sum_bin, sum_bin_sq, avg_bin, avg_bin_sq; |
116 |
|
std::vector<RealType> errbin_sum, errbin_sum_sq, errbin, errbin_sq; |
117 |
+ |
std::vector<RealType> mag, newmag; |
118 |
+ |
|
119 |
|
}; |
120 |
|
|
121 |
|
} |