Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef GN_DATA_H
00017 #define GN_DATA_H
00018
00019
00020
00021 #include <vector>
00022
00023
00024
00025 #include "TObject.h"
00026
00027
00028
00029 using namespace std;
00030
00031
00032
00033 class GN_Data : public TObject {
00034
00035 public:
00036
00037
00038
00039 GN_Data();
00040
00041
00042
00043 ~GN_Data();
00044
00045
00046
00047
00048
00049 void Reset();
00050
00051
00052
00053 double P( int i );
00054
00055
00056
00057 double Theta( int i );
00058
00059
00060
00061 double Phi( int i );
00062
00063 private:
00064
00065 friend class EventAction;
00066
00067 int nGN;
00068
00069 vector<int> id;
00070 vector<int> q;
00071 vector<int> tr;
00072
00073 vector<double> x;
00074 vector<double> y;
00075 vector<double> z;
00076
00077 vector<double> px;
00078 vector<double> py;
00079 vector<double> pz;
00080
00081 ClassDef( GN_Data, 1 )
00082 };
00083
00084 #endif