MOptimumTrigger.hh

Go to the documentation of this file.
00001 #ifndef _M_OPTIMUMTRIGGER_HH_
00002 #define _M_OPTIMUMTRIGGER_HH_
00003 
00039 #include "QModule.hh"
00040 #include <map>
00041 #include <vector>
00042 #include "QVector.hh"
00043 #include "QOptimumTrigger.hh"
00044 
00045 class MOptimumTrigger : public QModule {
00046 
00047     public:
00049         MOptimumTrigger(QSequence* s);
00050 
00052         ~MOptimumTrigger();
00053 
00055         void Init();
00056 
00058         QEvent* Do(QEvent* ev);
00059 
00061         void Done();
00062     private:
00063         void InitChannel(const int chan);
00064 
00065         struct ChannelInfo {
00066             QOptimumTrigger TRG;
00067             bool BlackSheep;
00068         };
00069 
00070         std::map<int,ChannelInfo> fChannelInfos;
00071         double fCoincidenceWindow;
00072         bool fDebug;
00073         bool fRelativeThermistor;
00074         std::string fDebugFile;
00075         std::string fAvgPulseFile;
00076         std::string fAvgNoiseFile;
00077         Cuore::QVector fTriggers,fSideTriggers,fCoincTriggers;
00078         Cuore::QVector fAmplTriggers,fAmplSideTriggers,fAmplCoincTriggers;
00079         Cuore::QVector fFiltered;
00080         Cuore::QVector fSideFiltered;
00081         Cuore::QVector fVetoIntervals;
00082 };
00083 
00084 #endif
00085 

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