00001 /* @version $Revision: 1328 $ * @modifiedby $Author: jacquem $ * @lastmodified $Date: 2011-10-03 17:04:17 +0200 (Mon, 03 Oct 2011) $ */ 00002 #ifndef PMPARAMST_HH 00003 #define PMPARAMST_HH 00004 00005 #include <iostream> 00006 #include <fstream> 00007 #include <iomanip> 00008 00009 #include "PMParams_t.hh" 00010 00011 00012 using namespace std; 00013 00014 00015 ////////////////////////////////////////////////////////////////////////// 00016 // parameters for photomultipliers 00017 class PMParams_t { 00018 friend std::istream& operator >>(std::istream& in, PMParams_t& x); 00019 friend std::ostream& operator <<(std::ostream& out, const PMParams_t& x); 00020 public: 00021 inline PMParams_t() { }; 00022 PMParams_t& operator=(const PMParams_t& aPM); 00023 inline PMParams_t(const PMParams_t& x) 00024 : v2(x.v2), v1(x.v1) { }; 00025 00026 00027 PMParams_t(std::istream& in); 00028 std::istream& operator >>(std::istream& in); 00029 00030 00031 public: 00032 float v1; 00033 float v2; 00034 }; 00035 #endif