Logo ROOT   6.14/05
Reference Guide
TEveJetConeEditor.cxx
Go to the documentation of this file.
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel, Jochen Thaeder 2009
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2007, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #include "TEveJetConeEditor.h"
13 #include "TEveJetCone.h"
14 
15 #include "TVirtualPad.h"
16 #include "TColor.h"
17 
18 // Cleanup these includes:
19 #include "TGLabel.h"
20 #include "TGButton.h"
21 #include "TGNumberEntry.h"
22 #include "TGColorSelect.h"
23 #include "TGDoubleSlider.h"
24 
25 /** \class TEveJetConeEditor
26 \ingroup TEve
27 GUI editor for TEveJetCone.
28 */
29 
31 
32 ////////////////////////////////////////////////////////////////////////////////
33 /// Constructor.
34 
36  UInt_t options, Pixel_t back) :
37  TGedFrame(p, width, height, options | kVerticalFrame, back),
38  fM(0)
39  // Initialize widget pointers to 0
40 {
41  MakeTitle("TEveJetCone");
42 
43  // Create widgets
44  // fXYZZ = new TGSomeWidget(this, ...);
45  // AddFrame(fXYZZ, new TGLayoutHints(...));
46  // fXYZZ->Connect("SignalName()", "Reve::TEveJetConeEditor", this, "DoXYZZ()");
47 }
48 
49 ////////////////////////////////////////////////////////////////////////////////
50 /// Set model object.
51 
53 {
54  fM = dynamic_cast<TEveJetCone*>(obj);
55 
56  // Set values of widgets
57  // fXYZZ->SetValue(fM->GetXYZZ());
58 }
59 
GUI editor for TEveJetCone.
image html pict1_TGaxis_012 png width
Define new text attributes for the label number "labNum".
Definition: TGaxis.cxx:2551
Draws a jet cone with leading particle is specified in (eta,phi) and cone radius is given...
Definition: TEveJetCone.h:23
int Int_t
Definition: RtypesCore.h:41
ULong_t Pixel_t
Definition: GuiTypes.h:39
unsigned int UInt_t
Definition: RtypesCore.h:42
TEveJetConeEditor(const TEveJetConeEditor &)
#define ClassImp(name)
Definition: Rtypes.h:359
Mother of all ROOT objects.
Definition: TObject.h:37
virtual void SetModel(TObject *obj)
Set model object.
virtual void MakeTitle(const char *title)
Create attribute frame title.
Definition: TGedFrame.cxx:96