| Report problems to ATLAS LXR Team (with time and IP address indicated) |
|
[ source navigation ] [ diff markup ] [ identifier search ] [ general search ] |
||||
|
||||||
| Links to LXR source navigation pages for stable releases | [ 12.*.* ] [ 13.*.* ] [ 14.*.* ] [ 15.*.* ] | |||||
001 #ifndef ABSTRACTDISPLAYFRAME_H 002 #define ABSTRACTDISPLAYFRAME_H 003 004 #include <TGFrame.h> 005 #include "TQObject.h" 006 #include "TTree.h" 007 #include <TGStatusBar.h> 008 009 #include "IDisplayFrame.h" 010 #include "INtupleReader.h" 011 #include "FMEventSelector.h" 012 #include "FMDetectorSelector.h" 013 #include "FMDataSelector.h" 014 #include "FMScaleSelector.h" 015 #include "FMExitButton.h" 016 #include "FMExportButton.h" 017 #include "FMDisplayControl.h" 018 #include "IDetectorView.h" 019 #include "TriggerTowerContainer.h" 020 021 class TTPosition; 022 023 class AbstractDisplayFrame : public IDisplayFrame 024 { 025 public: 026 virtual ~AbstractDisplayFrame(void); 027 028 virtual std::vector<TTPosition::eDetectorType> getSelectedDetectors(); // get list of detectors to be displayed 029 virtual TriggerTowerContainer* getTriggerTowerContainer(); // return container of TT to be processed by the tt display 030 virtual std::map<TTPosition::eDetectorType, Scale> getDataScale(); // return a vector of the current scale to be used 031 virtual bool getGridState(); // request the grid state from the control panel 032 virtual bool getBackgroundState(); // request the background state from the control panel 033 034 virtual TGStatusBar* statusBar(); // return a pointer to the status bar 035 036 virtual void Draw(); // called for the first display 037 038 virtual void onDetectorChangeDraw(); // forward message from FMDetectorSelector 039 virtual void onDataChangeDraw(); // forward message from FMDataSelector 040 virtual void onEventChangeDraw(); // forward message from FMEventSelector 041 virtual void onScaleValueChange(void); // forward message from FMScaleSelector - scale is changed manually or autoscale is set on 042 043 virtual void onDisplayBackground(EButtonState state); // forward message fomr FMDisplayControl - background checkbox ticked 044 virtual void onDisplayGrid(EButtonState state); // forward message fomr FMDisplayControl - grid checkbox ticked 045 046 virtual void onTTDumpPanel(int ttIndex); 047 048 virtual void mapFrames(std::string strName); 049 050 051 void detectorView(IDetectorView* detectorView) { m_pDetectorView = detectorView; }; 052 void ntupleReader(INtupleReader* ntupleReader) { m_pTTreeReader = ntupleReader; }; 053 054 inline void eventSelector (FMEventSelector* eventSelector) { m_pEventSelector = eventSelector; }; 055 inline void detectorSelector(FMDetectorSelector* detectorSelector) { m_pDetectorSelector = detectorSelector; }; 056 inline void displayControl (FMDisplayControl* displayControl) { m_pDisplayControl = displayControl; }; 057 inline void dataSelector (FMDataSelector* dataSelector) { m_pDataSelector = dataSelector; }; 058 inline void scaleSelector (FMScaleSelector* scaleSelector) { m_pScaleSelector = scaleSelector; }; 059 060 inline FMEventSelector* eventSelector() { return m_pEventSelector; }; 061 inline FMDetectorSelector* detectorSelector() { return m_pDetectorSelector; }; 062 inline FMDisplayControl* displayControl() { return m_pDisplayControl; }; 063 inline FMDataSelector* dataSelector() { return m_pDataSelector; }; 064 inline FMScaleSelector* scaleSelector() { return m_pScaleSelector; }; 065 066 inline INtupleReader* ntupleReader() { return m_pTTreeReader; }; 067 inline IDetectorView* detectorView() { return m_pDetectorView; }; 068 069 virtual TGVerticalFrame* displayFrame() { return m_fDisplayFrame; }; 070 virtual TGVerticalFrame* modulesFrame() { return m_fModulesFrame; }; 071 virtual TGTransientFrame* mainFrame() { return m_fMain; }; 072 073 protected: 074 AbstractDisplayFrame(const TGWindow *p, const TGWindow *main, UInt_t w, UInt_t h, UInt_t options = kVerticalFrame); 075 076 private: 077 078 // main frames 079 TGTransientFrame* m_fMain; 080 TGHorizontalFrame* m_fMainArea; 081 TGVerticalFrame* m_fModulesFrame; 082 TGVerticalFrame* m_fDisplayFrame; 083 084 const TGWindow* m_fMainWindow; 085 086 // frame modules 087 FMEventSelector* m_pEventSelector; 088 FMDetectorSelector* m_pDetectorSelector; 089 FMDisplayControl* m_pDisplayControl; 090 FMDataSelector* m_pDataSelector; 091 FMScaleSelector* m_pScaleSelector; 092 FMExportButton* m_pExportButton; 093 FMExitButton* m_pExitButton; 094 095 TGStatusBar* m_pStatusBar; 096 097 // graphical display of tt 098 IDetectorView* m_pDetectorView; 099 100 // ntuple reader 101 INtupleReader* m_pTTreeReader; 102 103 }; 104 105 #endif 106
| [ source navigation ] | [ diff markup ] | [ identifier search ] | [ general search ] |
| 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. |
|