StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
GainVoltCoeffCalculator.h
1 #ifndef GainVoltCoeffCalculator_H_Included
2 #define GainVoltCoeffCalculator_H_Included
3 #include <fstream>
4 #include <string>
5 #include <vector>
6 using std::string;
7 //yf using std::ifstream;
8 using std::vector;
9 #include "TObject.h"
12 
21 {
22 public:
23  typedef vector<GainVoltPmtParameters*> GVParameters;
24  typedef GVParameters::iterator GVP_iterator;
25  typedef GVParameters::const_iterator GVP_const_iterator;
26 
29  virtual ~GainVoltCoeffCalculator();
30  GainVoltCoeffCalculator & operator=(const GainVoltCoeffCalculator&calculator);
31 
32  void setIoMode(int mode);
33  void process();
34  friend std::ostream& operator<<(std::ostream& os, GainVoltCoeffCalculator& object);
35  friend std::istream& operator>>(std::istream& is, GainVoltCoeffCalculator& object);
36  GVP_iterator begin();
37  GVP_iterator end();
38 
39  GVP_const_iterator begin() const;
40  GVP_const_iterator end() const;
41 
42 protected:
43  GVParameters _pmts;
44  //ClassDef(GainVoltCoeffCalculator, 1)
45 };
46 
47 #endif
48 
49