Oliver Keller
/
muonhunter-K8
experimental fork
detection.cpp
- Committer:
- mva111
- Date:
- 2016-10-04
- Revision:
- 0:52895a475820
- Child:
- 4:87037e41c888
File content as of revision 0:52895a475820:
class Detection{ public: int channel; float time; float temp; float pressure; Detection(int channel_, float time_){ channel = channel_; time = time_; temp = 0; pressure = 0; } void set_pressure(float p) { pressure = p; } void set_channel(int c) { channel = c; } float get_temp(void){ return temp; } float get_time(void){ return time; } float get_pressure(void){ return pressure; } int get_channel(void){ return channel; } };