KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVIDContour.h
Go to the documentation of this file.
1 /*
2 $Id: KVIDContour.h,v 1.2 2009/03/03 13:36:00 franklan Exp $
3 $Revision: 1.2 $
4 $Date: 2009/03/03 13:36:00 $
5 */
6 
9 
10 #ifndef __KVIDCONTOUR_H
11 #define __KVIDCONTOUR_H
12 
13 #include "KVIDentifier.h"
14 #include "TCutG.h"
15 
22 class KVIDContour : public KVIDentifier {
23 
24 public:
25  KVIDContour();
26  KVIDContour(const KVIDContour&);
27  KVIDContour(const TCutG&);
28  virtual ~KVIDContour();
29 
30  virtual Int_t InsertPoint()
31  {
32  if (GetEditable()) {
33  return TCutG::InsertPoint();
34  }
35  else {
36  return -2;
37  }
38  }; // *MENU*
39 
40  ClassDef(KVIDContour, 1) //Basic graphical contour class for use in particle identification
41 };
42 
43 #endif
int Int_t
#define ClassDef(name, id)
Basic graphical contour class for use in particle identification.
Definition: KVIDContour.h:22
virtual ~KVIDContour()
Destructor.
Definition: KVIDContour.cpp:51
virtual Int_t InsertPoint()
Insert a new point at the mouse position.
Definition: KVIDContour.h:30
KVIDContour()
Default constructor.
Definition: KVIDContour.cpp:19
Base class for graphical cuts used in particle identification.
Definition: KVIDentifier.h:27
Bool_t GetEditable() const
virtual Int_t InsertPoint()