MThermalResponse.hh
Go to the documentation of this file.00001 #ifndef _M_THERMALRESPONSE_HH_
00002 #define _M_THERMALRESPONSE_HH_
00003
00052 #include "QModule.hh"
00053 #include "QVector.hh"
00054
00055 namespace Cuore {class QRunData;}
00056
00057 class MThermalResponse : public QModule {
00058
00059 public:
00061 MThermalResponse(QSequence* s);
00062
00064 ~MThermalResponse();
00065
00067 void Init();
00068
00070 QEvent* Do(QEvent* ev);
00071
00073 void Done();
00074 private:
00075 class ChannelInfo {
00076 public:
00077 float V_BG;
00078 float R_S;
00079 float R_L;
00080 float c_p;
00081 float V_S;
00082 float Delta_V_h;
00083 bool BlackSheep;
00084 };
00085
00086 std::map<int,double> GetOffsets(const int run);
00087 std::map<int,ChannelInfo> fChannelInfo;
00088 double fRhoPercError;
00089 double fRLPercError;
00090 std::string fDerivativeAlgo;
00091 int fCurrentRun;
00092 const QRunData* fRunData;
00093 bool fOverwriteRawSamples;
00094 bool fFullDTModel;
00095 double fGamma;
00096 double fR0;
00097 double fZeroBaseline;
00098 bool fScaleToVolts;
00099 bool fRestoreOffset;
00100 bool fRestoreRC;
00101 };
00102
00103 #endif
00104