001 #ifndef FMSCALESELECTOR_H
002 #define FMSCALESELECTOR_H
003
004 #include <TGFrame.h>
005 #include <TGButton.h>
006 #include <TGNumberEntry.h>
007
008 #include "IDisplayFrame.h"
009 #include "INtupleReader.h"
010 #include "Scale.h"
011
012 class FMScaleSelector
013 {
014 public:
015 FMScaleSelector(IDisplayFrame* parentFrame);
016 virtual ~FMScaleSelector(void);
017
018 void OnAutoScaleChange();
019 void OnCommonScaleChange();
020 void OnScaleValueChange();
021
022 void newData();
023 void updateFrames();
024 std::map<TTPosition::eDetectorType, Scale> dataScale(void) const;
025
026 private:
027 IDisplayFrame* m_parentFrame;
028 INtupleReader* m_pReader;
029
030 TGGroupFrame *fDataScaleGroupFrame;
031 TGCheckButton* fAutoScaleButton;
032 TGCheckButton* fCommonScaleButton;
033 TGTextButton* fUpdateScaleButton;
034 TGHorizontalFrame *fUpdateScaleButtonArea;
035
036 std::map<TTPosition::eDetectorType, TGHorizontalFrame*> m_mapSubFrame;
037 std::map<TTPosition::eDetectorType, TGNumberEntryField*> m_mapMinField;
038 std::map<TTPosition::eDetectorType, TGNumberEntryField*> m_mapMaxField;
039
040 std::map<TTPosition::eDetectorType, Scale> m_mapScale;
041
042 void autoScale(bool state);
043
044 void updateFields();
045 };
046
047 #endif
048
| Due to the LXR bug, the updates fail sometimes to remove references to deleted files. The Saturday's full rebuilds fix these problems |
|
This page was automatically generated by the
LXR engine.
|
|