BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
MpdEventManagerEditor.h
Go to the documentation of this file.
1// Specialization of TGedEditor for proper update propagation to TEveManager
2
3#ifndef MPDEVENTMANAGEREDITOR_H
4#define MPDEVENTMANAGEREDITOR_H
5
6#include "MpdEventManager.h"
7#include "TEveGValuators.h"
8#include "TGLabel.h"
9#include "TGNumberEntry.h"
10#include "TGedFrame.h"
11#include "string"
12
23
24// multithread functions
25void* RunOnlineDisplay(void* ptr);
26
28{
29 public:
31 Int_t width = 170,
32 Int_t height = 30,
33 UInt_t options = kChildFrame,
36
37 virtual void Init();
38 void SetModel(TObject* obj) { fObject = obj; }
39
40 virtual void SelectEvent();
41 virtual void UpdateEvent();
42 virtual void SelectPDG();
43 void DoVizPri();
44 virtual void SetMinEnergyCut();
45 virtual void SetMaxEnergyCut();
46 virtual void SwitchBackground(Bool_t is_on);
47 virtual void SwitchTransparency(Bool_t is_on);
48 virtual void ShowGeometry(Bool_t is_show);
49 virtual void ShowMagnet(Bool_t is_show);
50 virtual void ShowMCPoints(Bool_t is_show);
51 virtual void ShowMCTracks(Bool_t is_show);
52 virtual void ShowRecoPoints(Bool_t is_show);
53 virtual void ShowRecoTracks(Bool_t is_show);
54
55 bool RedrawZDC(bool isFull = false, bool isRedraw = true);
56 void UpdateEnergySlider();
57
59 void BlockUI();
60 void UnblockUI();
61
62 // event count
64 // true - using event data from DAQ stream; false - using event data from file
66
68 // save screenshot of the EVE display
69 virtual void SaveImage();
70
71 // 'Update' button
73 // 'Current Event Number' textbox with spin buttons
75 // 'Show Geometry' checkbox
78
79 protected:
82
90 // whether magnet volume was found to use the special checkbov for visibility
92
93 private:
96
98};
99
100#endif
kChildFrame
ULong_t Pixel_t
bool Bool_t
int Int_t
#define ClassDef(name, id)
MpdEventManager * fEventManager
void SetModel(TObject *obj)
virtual void ShowMCTracks(Bool_t is_show)
MpdEventManagerEditor(const MpdEventManagerEditor &)=delete
virtual void ShowRecoTracks(Bool_t is_show)
virtual void ShowMagnet(Bool_t is_show)
virtual void SwitchTransparency(Bool_t is_on)
virtual void ShowGeometry(Bool_t is_show)
virtual void SwitchBackground(Bool_t is_on)
MpdEventManagerEditor & operator=(const MpdEventManagerEditor &)=delete
bool RedrawZDC(bool isFull=false, bool isRedraw=true)
MpdEventManagerEditor(const TGWindow *p=0, Int_t width=170, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
virtual void ShowRecoPoints(Bool_t is_show)
virtual void ShowMCPoints(Bool_t is_show)
TGHorizontalFrame * fGeometryFrame
static Pixel_t GetDefaultFrameBackground()
TGedFrame(const TGWindow *p=nullptr, Int_t width=140, Int_t height=30, UInt_t options=kChildFrame, Pixel_t back=GetDefaultFrameBackground())
void * RunOnlineDisplay(void *ptr)
MpdEventManagerEditor * fManagerEditor