MCreateDetectorConfig.hh
Go to the documentation of this file.00001 #ifndef _M_CREATEDETECTORCONFIG_HH_
00002 #define _M_CREATEDETECTORCONFIG_HH_
00003
00038 #include "QModule.hh"
00039 #include <map>
00040
00041 class MCreateDetectorConfig : public QModule {
00042
00043 public:
00045 MCreateDetectorConfig(QSequence* s);
00046
00048 ~MCreateDetectorConfig();
00049
00051 void Init();
00052
00054 QEvent* Do(QEvent* ev);
00055
00057 void Done();
00058 private:
00059 struct ChannelInfo {
00060 int N;
00061 float fs;
00062 float Bes_c;
00063 float Gain;
00064 float V_B;
00065 float R_S;
00066 float R_L;
00067 float c_p;
00068 float tau_r;
00069 float tau_d1;
00070 float tau_d2;
00071 float alpha;
00072 float base;
00073 float pretrig;
00074 int npulses;
00075 float chisq;
00076 float maxbasel;
00077 float baserms;
00078 };
00079
00080 std::map<int,ChannelInfo> fChannelInfos;
00081 std::string fGeneratorFile;
00082 std::string fBolometersFile;
00083 double fMaxChiSquare;
00084 };
00085
00086 #endif
00087