Public Member Functions | Private Attributes | Friends

GN_Data Class Reference

GN_Data class. More...

#include <GN_Data.h>

Inheritance diagram for GN_Data:
Inheritance graph
[legend]
Collaboration diagram for GN_Data:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

GN_Data class.

Definition at line 33 of file GN_Data.h.


Constructor & Destructor Documentation

GN_Data::GN_Data (  )

Constructor.

GN_Data::~GN_Data (  )

Destructor.

Definition at line 44 of file GN_Data.cc.


Member Function Documentation

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().

Here is the caller graph for this function:

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.


Friends And Related Function Documentation

friend class EventAction [friend]

Definition at line 65 of file GN_Data.h.


Member Data Documentation

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().


The documentation for this class was generated from the following files: