00001 #ifndef _M_PSATHRESHOLDS_HH_ 00002 #define _M_PSATHRESHOLDS_HH_ 00003 00037 #include "QModule.hh" 00038 #include "ApplyFitPSA.hh" 00039 #include <map> 00040 #include <set> 00041 #include <vector> 00042 #include <sstream> 00043 #include "TF1.h" 00044 00045 class MPSAThresholds : public QModule 00046 { 00047 public: 00049 MPSAThresholds(QSequence* s); 00050 00052 ~MPSAThresholds(); 00053 00055 void Init(); 00056 00058 QEvent* Do(QEvent* ev); 00059 00061 void Done(); 00062 private: 00063 00065 ApplyFitPSA fApplyFitPSA; 00066 00068 std::string fFuncBaseName,fRDFuncBaseName; 00069 00071 double fEnergyStep; 00072 double fEnergyMax; 00073 00075 std::string fMultiplicityVarName; 00076 00079 int fMaxMult; 00080 00082 //double fNSigma; 00083 00085 std::string fOutputFile; 00086 00087 // Auxiliar 00088 int fIndex; 00089 int fIteration; 00090 }; 00091 00092 #endif 00093