MApplyEnergyThresholds.hh

Go to the documentation of this file.
00001 
00009 #ifndef _M_APPLY_ENERGY_THRESHOLDS_HH_
00010 #define _M_APPLY_ENERGY_THRESHOLDS_HH_
00011 
00012 #include "QCuore.hh"
00013 #include "QVector.hh"
00014 #include "QModule.hh"
00015 //#include "QWiener.hh"
00016 #include <map>
00017 
00018 using namespace Cuore;
00019 
00020 
00021 class MApplyEnergyThresholds : public QModule {
00022   
00023 public:
00024   MApplyEnergyThresholds(QSequence* s);
00025   
00026   virtual ~MApplyEnergyThresholds();
00027   
00028   // Init method is called before event loop
00029   virtual void Init();
00030   
00031   // Doit method is called for each event, getting the event as argument
00032   virtual QEvent* Do( QEvent* ev);
00033   
00034   // Done method is called after event loop
00035   virtual void Done();
00036 
00037   QVector GetThresholds(int fNumChannels) ;
00038 
00039 private:
00040 int fDataSet,fNumChannels;
00041 std::string fThresholdsFileName;
00042 QVector fThresholds;
00043 
00044 };
00045 
00046 #endif

Generated on Tue Nov 16 10:49:58 2010 for CUORE Software by  doxygen 1.5.6