GENIEGenerator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MCTruthDisplay.h
Go to the documentation of this file.
1 //____________________________________________________________________________
2 /*!
3 
4 \class genie::masterclass::MCTruthDisplay
5 
6 \brief Display MC truth info
7 
8 \author Costas Andreopoulos <c.andreopoulos \at cern.ch>
9  University of Liverpool
10 
11 \created November 30, 2007
12 
13 \cpright Copyright (c) 2003-2024, The GENIE Collaboration
14  For the full text of the license visit http://copyright.genie-mc.org
15 */
16 //____________________________________________________________________________
17 
18 #ifndef _MC_TRUTH_DISPLAY_H_
19 #define _MC_TRUTH_DISPLAY_H_
20 
21 #include <TRootEmbeddedCanvas.h>
22 #include <TGTextEdit.h>
23 
25 
26 namespace genie {
27  namespace masterclass {
28 
30  public:
31  MCTruthDisplay(TRootEmbeddedCanvas * ec=0, TGTextEdit * gtx=0);
33  void DrawDiagram (EventRecord * event);
34  void PrintEventRecord (EventRecord * event);
35  private:
36  TRootEmbeddedCanvas * fEmbeddedCanvas;
37  TGTextEdit * fGTxt;
38  };
39 
40  } // masterclass namespace
41 } // genie namespace
42 
43 #endif // _MC_TRUTH_DISPLAY_H_
TRootEmbeddedCanvas * fEmbeddedCanvas
MCTruthDisplay(TRootEmbeddedCanvas *ec=0, TGTextEdit *gtx=0)
void PrintEventRecord(EventRecord *event)
Generated Event Record. It is a GHepRecord object that can accept / be visited by EventRecordVisitorI...
Definition: EventRecord.h:37
void DrawDiagram(EventRecord *event)