An interface to HEPEVT common block implemented in a traditional way. When possible this implementation should be avoided and the templated version should be used instead.
- Note
- This header file does not include HEPEVT definition, only declaration. Including this wrapper requires that HEPEVT is defined somewhere in the project (most likely as FORTRAN common block).
-
Make sure that HEPEVT definition in project matches this definition (NMXHEP, double precision, etc.) Change this definition if necessary.
Definition at line 85 of file HEPEVT_Wrapper.h.
|
| static void | print_hepevt (std::ostream &ostr=std::cout) |
| | Print information from HEPEVT common block. More...
|
| |
| static void | print_hepevt_particle (int index, std::ostream &ostr=std::cout) |
| | Print particle information. More...
|
| |
| static void | zero_everything () |
| | Set all entries in HEPEVT to zero. More...
|
| |
| static bool | GenEvent_to_HEPEVT (const GenEvent *evt) |
| | Convert GenEvent to HEPEVT. More...
|
| |
| static bool | HEPEVT_to_GenEvent (GenEvent *evt) |
| | Convert HEPEVT to GenEvent. More...
|
| |
| static bool | fix_daughters () |
| | Tries to fix list of daughters. More...
|
| |
| static void | set_max_number_entries (unsigned int size) |
| | Set block size. More...
|
| |
| static void | set_hepevt_address (char *c) |
| | Set Fortran block address. More...
|
| |
| static int | max_number_entries () |
| | Block size. More...
|
| |
| static int | event_number () |
| | Get event number. More...
|
| |
| static int | number_entries () |
| | Get number of entries. More...
|
| |
| static int | status (const int &index) |
| | Get status code. More...
|
| |
| static int | id (const int &index) |
| | Get PDG particle id. More...
|
| |
| static int | first_parent (const int &index) |
| | Get index of 1st mother. More...
|
| |
| static int | last_parent (const int &index) |
| | Get index of last mother. More...
|
| |
| static int | first_child (const int &index) |
| | Get index of 1st daughter. More...
|
| |
| static int | last_child (const int &index) |
| | Get index of last daughter. More...
|
| |
| static double | px (const int &index) |
| | Get X momentum. More...
|
| |
| static double | py (const int &index) |
| | Get Y momentum. More...
|
| |
| static double | pz (const int &index) |
| | Get Z momentum. More...
|
| |
| static double | e (const int &index) |
| | Get Energy. More...
|
| |
| static double | m (const int &index) |
| | Get generated mass. More...
|
| |
| static double | x (const int &index) |
| | Get X Production vertex. More...
|
| |
| static double | y (const int &index) |
| | Get Y Production vertex. More...
|
| |
| static double | z (const int &index) |
| | Get Z Production vertex. More...
|
| |
| static double | t (const int &index) |
| | Get production time. More...
|
| |
| static int | number_parents (const int &index) |
| | Get number of parents. More...
|
| |
| static int | number_children (const int &index) |
| | Get number of children from the range of daughters. More...
|
| |
| static int | number_children_exact (const int &index) |
| | Get number of children by counting. More...
|
| |
| static void | set_event_number (const int &evtno) |
| | Set event number. More...
|
| |
| static void | set_number_entries (const int &noentries) |
| | Set number of entries. More...
|
| |
| static void | set_status (const int &index, const int &status) |
| | Set status code. More...
|
| |
| static void | set_id (const int &index, const int &id) |
| | Set PDG particle id. More...
|
| |
| static void | set_parents (const int &index, const int &firstparent, const int &lastparent) |
| | Set parents. More...
|
| |
| static void | set_children (const int &index, const int &firstchild, const int &lastchild) |
| | Set children. More...
|
| |
| static void | set_momentum (const int &index, const double &px, const double &py, const double &pz, const double &e) |
| | Set 4-momentum. More...
|
| |
| static void | set_mass (const int &index, double mass) |
| | Set mass. More...
|
| |
| static void | set_position (const int &index, const double &x, const double &y, const double &z, const double &t) |
| | Set position in time-space. More...
|
| |