GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AgataTrackDisplayEditor.h
Go to the documentation of this file.
1 
2 #ifndef Gw_AgataTrackDisplayEditor
3 #define Gw_AgataTrackDisplayEditor
4 
5 #ifndef ROOT_TGedFrame
6 #include "TGedFrame.h"
7 #endif
8 
9 #include "GwLogMessage.h"
10 
11 class TGWindow;
12 namespace Gw {
13 
18 class AgataTrackDisplay;
19 
20 class AgataTrackDisplayEditor : public TGedFrame
21 {
22 
23 public:
24  AgataTrackDisplayEditor(const TGWindow* p=0, Int_t width=170, Int_t height=30,
25  UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground());
26  virtual ~AgataTrackDisplayEditor();
27 
29  virtual void SetModel(TObject* obj);
30 
32  virtual void DoHisto();
33 
35  virtual void DoRangeHisto();
36 
38  virtual void PlotHisto(Int_t min, Int_t max);
39 
40 protected:
41 
42  AgataTrackDisplay* fM; // pointer to set model
43 
44  mutable LogMessage fLog;
45 
47 };
48 
49 } // end namespace
50 
51 #endif
virtual void SetModel(TObject *obj)
Set model (->AgataTrackDisplay)
void AgataTrackDisplay(Int_t nEvents=100)
Macro that generates gamma rays from a given level scheme and generated randomly associated positions...
AgataTrackDisplay a class to display tracks on event.
Base class for a Log message.
Definition: GwLogMessage.h:94
header file for GwLogMessage.cpp
ClassDef(AgataTrackDisplayEditor, 0)
log message
virtual void DoRangeHisto()
Do histo for total energy of the track (for a given range)
virtual void PlotHisto(Int_t min, Int_t max)
Plot histo.
AgataTrackDisplayEditor(const TGWindow *p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual void DoHisto()
Do histo for total energy of the track.