00001 00002 00003 00004 #ifndef DRIFTPARAMST_HH 00005 #define DRIFTPARAMST_HH 00006 00007 00008 ////////////////////////////////////////////////////////////////////////// 00009 // parameters for drift chamber 00010 class DriftParams_t { 00011 friend std::istream& operator >>(std::istream& in, DriftParams_t& x); 00012 friend std::ostream& operator <<(std::ostream& out, const DriftParams_t& x); 00013 public: 00014 float voltage; 00015 float current; 00016 inline DriftParams_t() { }; 00017 inline DriftParams_t(const DriftParams_t& x) 00018 : voltage(x.voltage), current(x.current) { }; 00019 DriftParams_t(std::istream& in); 00020 std::istream& operator >>(std::istream& in); 00021 }; 00022 #endif