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 public:
39  FWViewEnergyScaleEditor(FWViewEnergyScale* s, TGCompositeFrame* w, bool addAutoScaleControll = true);
40  ~FWViewEnergyScaleEditor() override;
41 
42  // ---------- const member functions ---------------------
43 
44  // ---------- static member functions --------------------
45 
46  // ---------- member functions ---------------------------
47  void setEnabled(bool);
48 
50 
51 private:
52  FWViewEnergyScaleEditor(const FWViewEnergyScaleEditor&); // stop default
53  const FWViewEnergyScaleEditor& operator=(const FWViewEnergyScaleEditor&); // stop default
54 
55  void addParam(FWParameterBase*, const char* title = nullptr);
56 
57  // ---------- member data --------------------------------
58 
60  bool m_enabled;
61 
62 #ifndef __CINT__
63  std::vector<std::shared_ptr<FWParameterSetterBase> > m_setters;
64 #endif
65 };
66 
67 #endif
FWParameterSetterEditorBase
Definition: FWParameterSetterEditorBase.h:27
runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
FWViewEnergyScaleEditor::m_scale
FWViewEnergyScale * m_scale
Definition: FWViewEnergyScaleEditor.h:59
FWParameterSetterBase
Definition: FWParameterSetterBase.h:31
FWViewEnergyScaleEditor::addParam
void addParam(FWParameterBase *, const char *title=nullptr)
Definition: FWViewEnergyScaleEditor.cc:56
FWParameterBase
Definition: FWParameterBase.h:31
FWViewEnergyScaleEditor::ClassDefOverride
ClassDefOverride(FWViewEnergyScaleEditor, 0)
FWParameterSetterEditorBase.h
FWViewEnergyScaleEditor::setEnabled
void setEnabled(bool)
Definition: FWViewEnergyScaleEditor.cc:48
FWViewEnergyScaleEditor::operator=
const FWViewEnergyScaleEditor & operator=(const FWViewEnergyScaleEditor &)
FWViewEnergyScaleEditor
Definition: FWViewEnergyScaleEditor.h:37
alignCSCRings.s
s
Definition: alignCSCRings.py:92
FWViewEnergyScaleEditor::m_enabled
bool m_enabled
Definition: FWViewEnergyScaleEditor.h:60
w
const double w
Definition: UKUtility.cc:23
FWViewEnergyScaleEditor::FWViewEnergyScaleEditor
FWViewEnergyScaleEditor(FWViewEnergyScale *s, TGCompositeFrame *w, bool addAutoScaleControll=true)
Definition: FWViewEnergyScaleEditor.cc:34
FWViewEnergyScaleEditor::m_setters
std::vector< std::shared_ptr< FWParameterSetterBase > > m_setters
Definition: FWViewEnergyScaleEditor.h:63
FWViewEnergyScaleEditor::~FWViewEnergyScaleEditor
~FWViewEnergyScaleEditor() override
Definition: FWViewEnergyScaleEditor.cc:43
FWViewEnergyScale
Definition: FWViewEnergyScale.h:34