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
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
00029 virtual void Init();
00030
00031
00032 virtual QEvent* Do( QEvent* ev);
00033
00034
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