00001 00004 #ifndef PULSEESTIMATE_H__ 00005 #define PULSEESTIMATE_H__ 00006 00007 class TH1; 00008 class TH2; 00009 00017 class PulseEstimate { 00018 00019 private: 00023 int fPedestal; 00030 int fPolarity; 00033 int fOffset; 00034 00035 public: 00037 PulseEstimate(); 00038 00043 void Estimate(TH2* pulses, TH1* timing); 00044 00046 00047 00048 int GetPedestal() const; 00050 int GetPolarity() const; 00052 int GetOffset() const; 00054 }; 00055 00056 #endif 00057