KaliVeda  1.12/06
Heavy-Ion Analysis Toolkit
KVPIDIntervalPainter.h
Go to the documentation of this file.
1 
4 #ifndef __KVPIDINTERVALPAINTER_H
5 #define __KVPIDINTERVALPAINTER_H
6 
7 
8 #include "RQ_OBJECT.h"
9 
10 #include "TH1.h"
11 #include "TLine.h"
12 #include "TMarker.h"
13 #include "TLatex.h"
14 #include "KVCanvas.h"
15 #include "KVList.h"
16 #include "KVIDZAFromZGrid.h"
17 
18 #include "TNamed.h"
19 
26 class KVPIDIntervalPainter : public TNamed {
27  RQ_OBJECT("KVPIDIntervalPainter")
28 
29 public:
34 
39 
40  double pid, min, max;
42 
44 
46 
47 
48 public:
50  KVPIDIntervalPainter(const char* name, const char* title);
51  KVPIDIntervalPainter(const TString& name, const TString& title);
52 
53  virtual void Draw(Option_t* option = "");
54  void HighLight(bool hi = true);
55  void IntMod()
56  {
57  Emit("IntMod()");
58  }
60  {
61  fCanvas = cc;
62  }
63 
64  void Update();
66  {
67  return fZ;
68  }
70  {
71  return fA;
72  }
73 
74  void SetDisplayLabel(bool dis = true);
76  {
77  return fDisplayLabel;
78  }
79 
80 
81  virtual void Paint(Option_t* chopt = "");
82 
83  virtual ~KVPIDIntervalPainter();
84 
86 };
87 
88 #endif
int Int_t
#define RQ_OBJECT(sender_class)
bool Bool_t
const char Option_t
#define ClassDef(name, id)
TCanvas with mouse-controlled dynamic zoom and pan & scan.
Definition: KVCanvas.h:53
Used for mass identification GUI.
virtual void Draw(Option_t *option="")
KVPIDIntervalPainter(interval *itv, TH1 *hh)
void SetDisplayLabel(bool dis=true)
void HighLight(bool hi=true)
void SetCanvas(KVCanvas *cc)
virtual void Paint(Option_t *chopt="")
virtual ~KVPIDIntervalPainter()
Destructor.
const long double cc
volumes
Definition: KVUnits.h:83