Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
hdv_fulllistframe.h
Go to the documentation of this file.
1 
2 #ifndef _HDV_FULLLISTFRAME_H_
3 #define _HDV_FULLLISTFRAME_H_
4 
5 // This class is made into a ROOT dictionary ala rootcint.
6 // Therefore, do NOT include anything Hall-D specific here.
7 // It is OK to do that in the .cc file, just not here in the
8 // header.
9 
10 #include <iostream>
11 #include <cmath>
12 #include <string>
13 #include <vector>
14 #include <map>
15 
16 #include <TGClient.h>
17 #include <TGButton.h>
18 #include <TCanvas.h>
19 #include <TText.h>
20 #include <TRootEmbeddedCanvas.h>
21 #include <TTUBE.h>
22 #include <TNode.h>
23 #include <TGComboBox.h>
24 #include <TPolyLine.h>
25 #include <TEllipse.h>
26 #include <TMarker.h>
27 #include <TVector3.h>
28 #include <TGLabel.h>
29 #include <TTimer.h>
30 
31 class hdv_mainframe;
32 class DMCThrown;
33 class DKinematicData;
34 #if !(defined(__CINT__) || defined(__CLING__))
35 #include "hdv_mainframe.h"
36 #endif
37 
38 class hdv_fulllistframe:public TGMainFrame {
39 
40  public:
41  hdv_fulllistframe(hdv_mainframe *hdvmf, const TGWindow *p, UInt_t w, UInt_t h);
42  virtual ~hdv_fulllistframe(){};
43 
44  void DoClose(void);
45  void UpdateTrackLabels(vector<const DMCThrown*> &throwns, vector<const DKinematicData*> &trks);
46 
47  private:
48 
50 
51  TGComboBox *reconfactory;
52  map<string, vector<TGLabel*> > thrownlabs;
53  map<string, vector<TGLabel*> > reconlabs;
54 
55  TGGroupFrame *throwninfo;
56  TGGroupFrame *reconinfo;
57 
58  map<string, TGVerticalFrame *> tf;
59  map<string, TGVerticalFrame *> rf;
60 
61  ClassDef(hdv_fulllistframe,1)
62 };
63 
64 // The following line is supposed to avoid the warning messages about:
65 // "dereferencing type-punned pointer will break strict-aliasing rules"
66 #if (defined(__CINT__) || defined(__CLING__))
67 
68 #pragma link C++ class hdv_fulllistframe+;
69 #endif
70 
71 
72 
73 #endif //_HDV_FULLLISTFRAME_H_
hdv_fulllistframe(hdv_mainframe *hdvmf, const TGWindow *p, UInt_t w, UInt_t h)
TGGroupFrame * reconinfo
map< string, TGVerticalFrame * > rf
map< string, vector< TGLabel * > > thrownlabs
void UpdateTrackLabels(vector< const DMCThrown * > &throwns, vector< const DKinematicData * > &trks)
TGComboBox * reconfactory
TGGroupFrame * throwninfo
map< string, TGVerticalFrame * > tf
hdv_mainframe * hdvmf
map< string, vector< TGLabel * > > reconlabs
virtual ~hdv_fulllistframe()