00001 00005 class FieldSummary : public HandleId 00006 00007 { 00008 protected: 00009 00010 int nsamples; 00011 Handle(FieldWithPtValues) field; 00012 NUMT mean_value; 00013 real stdev; 00014 00015 public: 00016 00017 FieldSummary (); 00018 virtual ~FieldSummary () {} 00019 00020 void attach (const FieldWithPtValues& f) { field.rebind(f); } 00021 bool isAttached (const FieldWithPtValues& f) const; 00022 00023 String fieldname; 00024 NUMT max_value, min_value; 00025 int max_node, min_node; 00026 Ptv(real) min_pt, max_pt; 00027 real time_pt_max, time_pt_min; 00028 real time_start, time_stop; 00029 00030 00031 00032 NUMT max_in_last_update, min_in_last_update; 00033 00034 NUMT getMeanValue (); 00035 NUMT getStDevValue(); 00036 00037 void init (); 00038 void update (real time = DUMMY); 00039 00040 void writeHeadings (StringList& headings); 00041 void writeResults (StringList& results); 00042 void writeExtendedResults (MultipleReporter& report); 00043 void print (Os os); 00044 }; 00045 00046