#include <GN_Data.h>
Public Member Functions | |
GN_Data () | |
Constructor. | |
~GN_Data () | |
Destructor. | |
double | P (int i) |
Function to calculate the total momentum for a given vertex. | |
double | Phi (int i) |
Function to calculate the azimuthal angle for a given vertex. | |
void | Reset () |
Clear the event vectors. | |
double | Theta (int i) |
Function to calculate the polar angle for a given vertex. | |
Private Attributes | |
vector< int > | id |
int | nGN |
vector< double > | px |
vector< double > | py |
vector< double > | pz |
vector< int > | q |
vector< int > | tr |
vector< double > | x |
vector< double > | y |
vector< double > | z |
Friends | |
class | EventAction |
GN_Data class.
Definition at line 33 of file GN_Data.h.
GN_Data::GN_Data | ( | ) |
Constructor.
GN_Data::~GN_Data | ( | ) |
Destructor.
Definition at line 44 of file GN_Data.cc.
double GN_Data::P | ( | int | i ) |
Function to calculate the total momentum for a given vertex.
Definition at line 70 of file GN_Data.cc.
double GN_Data::Phi | ( | int | i ) |
Function to calculate the azimuthal angle for a given vertex.
Definition at line 82 of file GN_Data.cc.
void GN_Data::Reset | ( | ) |
Clear the event vectors.
Definition at line 50 of file GN_Data.cc.
Referenced by EventAction::EndOfEventAction().
double GN_Data::Theta | ( | int | i ) |
Function to calculate the polar angle for a given vertex.
Definition at line 76 of file GN_Data.cc.
friend class EventAction [friend] |
vector<int> GN_Data::id [private] |
Definition at line 69 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
int GN_Data::nGN [private] |
Definition at line 67 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<double> GN_Data::px [private] |
Definition at line 77 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<double> GN_Data::py [private] |
Definition at line 78 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<double> GN_Data::pz [private] |
Definition at line 79 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<int> GN_Data::q [private] |
Definition at line 70 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<int> GN_Data::tr [private] |
Definition at line 71 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<double> GN_Data::x [private] |
Definition at line 73 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<double> GN_Data::y [private] |
Definition at line 74 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().
vector<double> GN_Data::z [private] |
Definition at line 75 of file GN_Data.h.
Referenced by EventAction::EndOfEventAction().