Display3DView.h
Go to the documentation of this file.
1 ///
2 /// \file Display3DView.h
3 /// \brief A view showing a 3D rendering of the detector
4 /// \author messier@indiana.edu
5 /// \version $Id: Display3DView.h,v 1.1.1.1 2010/11/10 19:44:54 p-novaart Exp $
6 ///
7 #ifndef EVD_DISPLAY3DVIEW_H
8 #define EVD_DISPLAY3DVIEW_H
9 #include "RQ_OBJECT.h"
10 
11 #include "TGButton.h" // For TGCheckButton
12 
13 #include "nuevdb/EventDisplayBase/Canvas.h"
14 
17 
18 namespace gar {
19 namespace evd {
20  class Display3DPad;
21 
22  /// View of event shoing the XZ and YZ readout planes
23  class Display3DView : public evdb::Canvas {
24 
25  public:
26 
27  RQ_OBJECT("gar::evd::Display3DView")
28 
29  public:
30  Display3DView(TGMainFrame* mf);
32 
33  const char* Description() const { return "3D Detector Display"; }
34  const char* PrintTag() const { return "duneNDMPD3d"; }
35  void Draw(const char* opt="");
36  void CloseWindow();
37  void SetRawReco();
38  void SetMCInfo();
39 
40  private:
41 
42  Display3DPad* fDisplay3DPad; /// Pad showing 3D view of the detector
43  HeaderPad* fHeaderPad; ///< Show header information
44  MCBriefPad* fMC; ///< Short summary of MC event
45  TGCheckButton* fMCOn; ///< Display MC truth information
46  TGRadioButton* fRawDraw; ///< Draw Raw information only
47  TGRadioButton* fRecoDraw; ///< Draw Reconstructed information only
48 
49  };
50 }
51 }
52 #endif
53 ////////////////////////////////////////////////////////////////////////
const char * PrintTag() const
Definition: Display3DView.h:34
A drawing pad showing a 3D rendering of the detector.
Definition: Display3DPad.h:39
Display3DPad * fDisplay3DPad
Definition: Display3DView.h:42
opt
Definition: train.py:196
void Draw(const char *opt="")
LArSoft includes.
Definition: InfoTransfer.h:33
TGRadioButton * fRecoDraw
Draw Reconstructed information only.
Definition: Display3DView.h:47
HeaderPad * fHeaderPad
Pad showing 3D view of the detector.
Definition: Display3DView.h:43
General GArSoft Utilities.
View of event shoing the XZ and YZ readout planes.
Definition: Display3DView.h:23
TGRadioButton * fRawDraw
Draw Raw information only.
Definition: Display3DView.h:46
const char * Description() const
Definition: Display3DView.h:33
TGCheckButton * fMCOn
Display MC truth information.
Definition: Display3DView.h:45
Display3DView(TGMainFrame *mf)
MCBriefPad * fMC
Short summary of MC event.
Definition: Display3DView.h:44