00001 00002 #ifndef PMPARAMS_HH 00003 #define PMPARAMS_HH 00004 00005 #include "PMParams_t.hh" 00006 00007 ////////////////////////////////////////////////////////////////////////// 00008 // Photo multiplier slow control 00009 class PMParams { 00010 friend class PMSlowControl; 00011 friend std::ostream& operator <<(std::ostream& out, PMParams& x); 00012 protected: 00013 PMParams_t voltages; 00014 std::ostream& operator <<(std::ostream& out); 00015 public: 00016 PMParams(const PMParams_t aVoltages) 00017 : voltages(aVoltages) { }; 00018 inline const PMParams_t getVoltages() { return(voltages); }; 00019 }; 00020 00021 #endif