CREAM TEA -- ROOT MCP

WaveformGraph.h

00001 #ifndef WAVEFORMGRAPH_H
00002 #define WAVEFORMGRAPH_H
00003 #include "TGraph.h"
00004 
00005 
00006 
00007 class TObject;
00008 class TGaxis;
00009 
00010 class WaveformGraph : public TGraph
00011 {
00012 
00013  public:
00014   WaveformGraph();
00015   WaveformGraph(TGraph *gr);
00016   WaveformGraph(int n, const Int_t *x, const Int_t *y);
00017   WaveformGraph(int n, const Float_t *x, const Float_t *y);
00018   WaveformGraph(int n, const Double_t *x, const Double_t *y);
00019   virtual ~WaveformGraph();
00020   
00021   void DrawFFT(); // *MENU*
00022   TGraph *getFFT();
00023   void setChannel(int chan) {fChan=chan;}
00024 
00025  private:
00026   Int_t fChan;
00027 
00028 
00029   void ExecuteEvent(Int_t event, Int_t px, Int_t py);
00030   void ClearSelection(void);
00031   void ApplySelectionToButtons();
00032   void drawInNewCanvas();
00033 
00034   Int_t fNewCanvas;
00035   
00036   
00037   ClassDef(WaveformGraph,2)
00038 };                              // end of class WaveformGraph
00039 
00040 
00041 #endif  // WAVEFORMGRAPH_H

Generated on Tue Nov 24 19:05:00 2009 for CREAM TEA -- MCP/TARGET Readout by doxygen 1.3.9.1