algo_fixed_window.hh

Go to the documentation of this file.
00001 
00015 #ifndef ALGO_FIXED_WINDOW_HH
00016 #define ALGO_FIXED_WINDOW_HH
00017 
00018 #include "preco_algo_base.hh"
00019 
00028 class algo_fixed_window : public preco_algo_base {
00029 
00030 public:
00031 
00033   algo_fixed_window();
00034   
00036   virtual ~algo_fixed_window(){};
00037 
00042   virtual DATA_STRUCT::DATA_TYPE storage_type(){return DATA_STRUCT::FIXED_WIN_PULSE_COLLECTION;};
00043 
00045   virtual bool reco(const std::vector<UShort_t> *wf);
00046 
00048   virtual void reset();
00049 
00051   void set_start_index(size_t index) {_index_start = index;};
00052 
00054   void set_end_index  (size_t index) {_index_end   = index;};
00055   
00056 protected:
00057 
00058   size_t _index_start; 
00059   size_t _index_end;   
00060 
00061 };
00062 
00063 #endif
00064  // end of doxygen group

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