QwGeant4
QweakSimUserMainEvent.hh
Go to the documentation of this file.
1 /**
2  \class QweakSimUserMainEvent
3 
4  \brief Defines Top ROOT Tree structure of the ROOT file for each event.
5 
6  Primary.
7 
8  Region1.
9 
10  Region2.
11 
12  Region3.
13 
14  Cerenkov.
15 
16  */
17 
18 #ifndef QweakSimUserMainEvent_h
19 #define QweakSimUserMainEvent_h
20 
21 // root include
22 #include "TObject.h"
23 
24 // user includes
36 
37 
38 class QweakSimUserMainEvent: public TObject
39 {
40 
41 /** \page global_coordinate_system global coordinate system
42  *
43  * The global coordinate system of the MC simulation is defined as follows:
44  * \li X-axis is in the horizontal direction beam-left,
45  * \li Y-axis is in the vertical direction up,
46  * \li Z-axis is along the beam line in the downstream direction.
47  */
48 
49 /** \page local_coordinate_system local coordinate system
50  *
51  * The local coordinate system of the MC simulation is normally defined as follows:
52  * \li X-axis is along the longest detector edge in the non-dispersive direction beam-left for octant 3,
53  * \li Y-axis is along the shortest detector edge in the dispersive direction away from the beam line,
54  * \li Z-axis is perpendicular to the detector plane in the downstream direction.
55  */
56 
57 /** \page Lund_type Lund type
58  *
59  * A complete list of Lund particle type codes is summarized in the PDG: http://pdg.lbl.gov/2011/reviews/rpp2011-rev-monte-carlo-numbering.pdf
60  *
61  * The most important particle codes are:
62  * \li electron: 11
63  * \li photon: 22
64  * \li pion-: -211
65  * \li kaon-: -321
66  * \li proton: 2212
67  * \li neutron: 2112
68  *
69  */
70 
71 /** \page geant3_type geant3 type
72  *
73  * The only geant3 particle types that were used in the Qweak Monte Carlo are
74  * \li electron: 1
75  * \li positron: 2
76  * \li gamma: 3
77  */
78 
79 /** \defgroup root Variables include in the ROOT file
80  *
81  * This group contains all variables that are included in the ROOT file.
82  */
83 
84 public:
85 
86  QweakSimUserPrimaryEvent Primary; ///< object containing primary particle info
87 
88  QweakSimUserTarget_MainEvent Target; ///< object containing target hits
89 
90  QweakSimUserGEM_MainEvent Region1; ///< object containing HDC info
91  QweakSimUserHDC_MainEvent Region2; ///< object containing HDC info
92  QweakSimUserVDC_MainEvent Region3; ///< object containing VDC info
93 
94  QweakSimUserTriggerScintillator_MainEvent TriggerScintillator; ///< object containing TriggerScintilliator info
95 
96  QweakSimUserLeadGlass_MainEvent LeadGlass; ///< tree containing LeadGlass info
97 
98  QweakSimUserPMTOnly_MainEvent PMTOnly; ///< tree containing PMTOnly info
99 
100  QweakSimUserLumi_MainEvent Lumi; ///< tree containing Lumi detector info
101 
102  QweakSimUserTungstenPlug_MainEvent TungstenPlug; ///< tree containing TungstenPlug info
103 
104  QweakSimUserCerenkov_MainEvent Cerenkov; ///< object containing Cerenkov detector info
105 
106 public:
107 
108  // Constructor
110  // Destructor
111  virtual ~QweakSimUserMainEvent() { };
112 
113  // define a new Class known to ROOT
114  ClassDef(QweakSimUserMainEvent,1)
115 
116 }; // end class QweakSimMainEvent
117 
118 #endif
QweakSimUserVDC_MainEvent Region3
object containing VDC info
QweakSimUserTarget_MainEvent Target
object containing target hits
QweakSimUserTungstenPlug_MainEvent TungstenPlug
tree containing TungstenPlug info
QweakSimUserTriggerScintillator_MainEvent TriggerScintillator
object containing TriggerScintilliator info
ROOT Subtree structure for HDC MainEvent.
QweakSimUserLumi_MainEvent Lumi
tree containing Lumi detector info
Stores the PrimaryEvent information into the ROOT file for each event.
QweakSimUserPrimaryEvent Primary
object containing primary particle info
ROOT Subtree structure for Trigger Scintillator MainEvent.
QweakSimUserHDC_MainEvent Region2
object containing HDC info
ROOT Subtree structure for Cerenkov main event.
QweakSimUserGEM_MainEvent Region1
object containing HDC info
QweakSimUserCerenkov_MainEvent Cerenkov
object containing Cerenkov detector info
QweakSimUserPMTOnly_MainEvent PMTOnly
tree containing PMTOnly info
Defines Top ROOT Tree structure of the ROOT file for each event.
ROOT Subtree structure for GEM MainEvent.
QweakSimUserLeadGlass_MainEvent LeadGlass
tree containing LeadGlass info
ROOT Subtree structure for HDC MainEvent.