Generic Wrapper for the fortran EPOS common block. More...
#include <EPOS_Wrapper.h>
Static Public Member Functions | |
static double | e (int index) |
Energy. More... | |
static int | event_number () |
event number More... | |
static int | first_child (int index) |
index of 1st daughter More... | |
static int | first_parent (int index) |
index of 1st mother More... | |
static int | id (int index) |
PDG particle id. More... | |
static int | last_child (int index) |
index of last daughter More... | |
static int | last_parent (int index) |
index of last mother More... | |
static double | m (int index) |
generated mass More... | |
static int | max_number_entries () |
size of common block More... | |
static int | number_children (int index) |
number of children More... | |
static int | number_entries () |
num entries in current evt More... | |
static int | number_parents (int index) |
number of parents More... | |
static void | print_hepcom (std::ostream &ostr=std::cout) |
write information from EPOS common block More... | |
static void | print_hepcom_particle (int index, std::ostream &ostr=std::cout) |
write particle information to ostr More... | |
static double | px (int index) |
X momentum. More... | |
static double | py (int index) |
Y momentum. More... | |
static double | pz (int index) |
Z momentum. More... | |
static void | set_children (int index, int firstchild, int lastchild) |
define children of a particle More... | |
static void | set_event_number (int evtno) |
set event number More... | |
static void | set_id (int index, int id) |
set particle ID More... | |
static void | set_mass (int index, double mass) |
set particle mass More... | |
static void | set_max_number_entries (unsigned int) |
define size of common block More... | |
static void | set_momentum (int index, double px, double py, double pz, double e) |
set particle momentum More... | |
static void | set_number_entries (int noentries) |
set number of entries in EPOS More... | |
static void | set_parents (int index, int firstparent, int lastparent) |
define parents of a particle More... | |
static void | set_position (int index, double x, double y, double z, double t) |
set particle production vertex More... | |
static void | set_sizeof_int (unsigned int) |
define size of integer More... | |
static void | set_sizeof_real (unsigned int) |
define size of real More... | |
static void | set_status (int index, int status) |
set particle status More... | |
static unsigned int | sizeof_int () |
size of integer in bytes More... | |
static unsigned int | sizeof_real () |
size of real in bytes More... | |
static int | status (int index) |
status code More... | |
static double | t (int index) |
production time More... | |
static double | x (int index) |
X Production vertex. More... | |
static double | y (int index) |
Y Production vertex. More... | |
static double | z (int index) |
Z Production vertex. More... | |
static void | zero_everything () |
set all entries in EPOS to zero More... | |
Static Protected Member Functions | |
static double | byte_num_to_double (unsigned int) |
navigate a byte array More... | |
static int | byte_num_to_int (unsigned int) |
navigate a byte array More... | |
static void | print_legend (std::ostream &ostr=std::cout) |
print output legend More... | |
static void | write_byte_num (double, unsigned int) |
pretend common block is an array of bytes More... | |
static void | write_byte_num (int, unsigned int) |
pretend common block is an array of bytes More... | |
Static Private Attributes | |
static unsigned int | s_max_number_entries = 99900 |
static unsigned int | s_sizeof_int = 4 |
static unsigned int | s_sizeof_real = sizeof(double) |
Generic Wrapper for the fortran EPOS common block.
This class is intended for static use only - it makes no sense to instantiate it.
Definition at line 131 of file EPOS_Wrapper.h.
|
inlinestaticprotected |
navigate a byte array
Definition at line 251 of file EPOS_Wrapper.h.
References MessageLogger_cfi::cerr, epos_bytes_allocation, hepcom, and mathSSE::return().
|
inlinestaticprotected |
navigate a byte array
Definition at line 269 of file EPOS_Wrapper.h.
References MessageLogger_cfi::cerr, epos_bytes_allocation, hepcom, and mathSSE::return().
|
inlinestatic |
Energy.
Definition at line 436 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
event number
Definition at line 333 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_end_vertex(), EPOS::IO_EPOS::build_production_vertex(), and EPOS::IO_EPOS::fill_next_event().
|
inlinestatic |
index of 1st daughter
Definition at line 384 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_end_vertex().
|
inlinestatic |
index of 1st mother
Definition at line 352 of file EPOS_Wrapper.h.
References class-composition::parent.
Referenced by EPOS::IO_EPOS::build_production_vertex().
|
inlinestatic |
PDG particle id.
Definition at line 346 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
index of last daughter
Definition at line 392 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_end_vertex().
|
inlinestatic |
index of last mother
Definition at line 360 of file EPOS_Wrapper.h.
References class-composition::parent.
Referenced by EPOS::IO_EPOS::build_production_vertex().
|
inlinestatic |
generated mass
Definition at line 442 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
size of common block
Definition at line 225 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
number of children
Definition at line 410 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_end_vertex().
|
inlinestatic |
num entries in current evt
Definition at line 336 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::fill_next_event().
|
inlinestatic |
number of parents
Definition at line 378 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_production_vertex().
|
inlinestatic |
write information from EPOS common block
Definition at line 568 of file EPOS_Wrapper.h.
References mps_fire::i.
|
inlinestatic |
write particle information to ostr
Definition at line 590 of file EPOS_Wrapper.h.
References MillePedeFileConverter_cfg::e, funct::m, mps_update::status, lumiQTWidget::t, x, y, and z.
|
inlinestaticprotected |
|
inlinestatic |
X momentum.
Definition at line 417 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
Y momentum.
Definition at line 423 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
Z momentum.
Definition at line 430 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
define children of a particle
Definition at line 504 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
set event number
Definition at line 476 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
set particle ID
Definition at line 488 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
set particle mass
Definition at line 528 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
define size of common block
Definition at line 247 of file EPOS_Wrapper.h.
References findQualityFiles::size.
|
inlinestatic |
set particle momentum
Definition at line 514 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
set number of entries in EPOS
Definition at line 479 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
define parents of a particle
Definition at line 494 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
set particle production vertex
Definition at line 535 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
define size of integer
Definition at line 228 of file EPOS_Wrapper.h.
References MessageLogger_cfi::cerr, and findQualityFiles::size.
|
inlinestatic |
define size of real
Definition at line 238 of file EPOS_Wrapper.h.
References MessageLogger_cfi::cerr, and findQualityFiles::size.
|
inlinestatic |
set particle status
Definition at line 482 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::write_event().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
status code
Definition at line 343 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_particle().
|
inlinestatic |
production time
Definition at line 469 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_end_vertex(), and EPOS::IO_EPOS::build_production_vertex().
|
inlinestaticprotected |
pretend common block is an array of bytes
Definition at line 291 of file EPOS_Wrapper.h.
References MessageLogger_cfi::cerr, epos_bytes_allocation, objects.autophobj::float, and hepcom.
|
inlinestaticprotected |
pretend common block is an array of bytes
Definition at line 308 of file EPOS_Wrapper.h.
References MessageLogger_cfi::cerr, epos_bytes_allocation, hepcom, and createfilelist::int.
|
inlinestatic |
X Production vertex.
Definition at line 448 of file EPOS_Wrapper.h.
Referenced by svgfig.Curve.Sample::__repr__(), svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), EPOS::IO_EPOS::build_end_vertex(), EPOS::IO_EPOS::build_production_vertex(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inlinestatic |
Y Production vertex.
Definition at line 455 of file EPOS_Wrapper.h.
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), EPOS::IO_EPOS::build_end_vertex(), EPOS::IO_EPOS::build_production_vertex(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
inlinestatic |
Z Production vertex.
Definition at line 462 of file EPOS_Wrapper.h.
Referenced by EPOS::IO_EPOS::build_end_vertex(), EPOS::IO_EPOS::build_production_vertex(), geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().
|
inlinestatic |
set all entries in EPOS to zero
Definition at line 553 of file EPOS_Wrapper.h.
References mps_fire::i.
|
staticprivate |
Definition at line 214 of file EPOS_Wrapper.h.
|
staticprivate |
Definition at line 212 of file EPOS_Wrapper.h.
|
staticprivate |
Definition at line 213 of file EPOS_Wrapper.h.