00001 00002 #ifndef TSpadicControl_H 00003 #define TSpadicControl_H 00004 00005 #include "TGo4Parameter.h" 00006 #include "TGo4Fitter.h" 00007 #include "TSpadicEvent.h" 00008 00009 00010 00011 00012 class TSpadicControl : public TGo4Parameter { 00013 public: 00014 TSpadicControl(const char* name = 0); 00015 virtual ~TSpadicControl(); 00016 00017 /* calibrate to energy from calib factors*/ 00018 Double_t Calibrate(Int_t ch, Double_t raw); 00019 virtual Bool_t UpdateFrom(TGo4Parameter *source); 00020 Bool_t fEnableFit; // switch fitting of shape on/off 00021 Bool_t fEnableDebug; // switch event debug output on/off 00022 Double_t fCalibFactor[N_CHA][CALIB_ORDER]; // calibration factor for pulse energy 00023 00024 00025 00026 ClassDef(TSpadicControl,1) 00027 }; 00028 00029 #endif // TSpadicControl_H