CMS 3D CMS Logo

FWViewEnergyScaleEditor.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWViewEnergyScaleEditor_h
2 #define Fireworks_Core_FWViewEnergyScaleEditor_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWViewEnergyScaleEditor
7 //
16 //
17 // Original Author: Alja Mrak-Tadel
18 // Created: Fri Sep 24 18:52:28 CEST 2010
19 //
20 
21 // system include files
22 
23 // user include files
24 #ifndef __CINT__
25 #include <memory>
26 #endif
27 #include "TGFrame.h"
29 
30 class FWViewEnergyScale;
32 class FWParameterBase;
33 class TGCheckButton;
34 
35 // forward declarations
36 
37 class FWViewEnergyScaleEditor : public TGVerticalFrame, public FWParameterSetterEditorBase
38 {
39 public:
40  FWViewEnergyScaleEditor( FWViewEnergyScale* s, TGCompositeFrame* w, bool addAutoScaleControll = true);
41  virtual ~FWViewEnergyScaleEditor();
42 
43  // ---------- const member functions ---------------------
44 
45  // ---------- static member functions --------------------
46 
47  // ---------- member functions ---------------------------
48  void setEnabled(bool);
49 
51 
52 private:
53  FWViewEnergyScaleEditor(const FWViewEnergyScaleEditor&); // stop default
54  const FWViewEnergyScaleEditor& operator=(const FWViewEnergyScaleEditor&); // stop default
55 
56  void addParam(FWParameterBase*, const char* title = 0);
57 
58  // ---------- member data --------------------------------
59 
61  bool m_enabled;
62 
63 #ifndef __CINT__
64  std::vector<std::shared_ptr<FWParameterSetterBase> > m_setters;
65 #endif
66 };
67 
68 
69 #endif
const double w
Definition: UKUtility.cc:23
const FWViewEnergyScaleEditor & operator=(const FWViewEnergyScaleEditor &)
ClassDef(FWViewEnergyScaleEditor, 0)
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
FWViewEnergyScaleEditor(FWViewEnergyScale *s, TGCompositeFrame *w, bool addAutoScaleControll=true)
void addParam(FWParameterBase *, const char *title=0)