tpc_waveform.cc

Go to the documentation of this file.
00001 #ifndef TPC_WAVEFORM_CC
00002 #define TPC_WAVEFORM_CC
00003 
00004 #include "tpc_waveform.hh"
00005 
00006 void tpc_waveform::clear_data(){
00007   data_base::clear_data();
00008   init_vars();
00009 }
00010 
00011 void tpc_waveform::init_vars(){
00012   clear();
00013   _channel_number=PMT::INVALID_CH;
00014 }
00015 
00016 void tpc_wf_collection::clear_data(){
00017   data_base::clear_data();
00018   init_vars();
00019 }
00020 
00021 void tpc_wf_collection::init_vars(){
00022   clear();
00023   _event_id=PMT::INVALID_WORD;
00024   _event_frame_id=PMT::INVALID_WORD;
00025   _module_address=PMT::INVALID_WORD;
00026   _module_id=PMT::INVALID_WORD;
00027   _channel_header_count=PMT::INVALID_WORD;
00028   _checksum=PMT::INVALID_WORD;
00029   _nwords=PMT::INVALID_WORD;
00030   _trigger_frame_id=PMT::INVALID_WORD;
00031   _trigger_timeslice=PMT::INVALID_WORD;
00032 }
00033 
00034 #endif

Generated on Mon Apr 7 15:35:12 2014 for MyProject by  doxygen 1.4.7