![]() |
DD4hep
1.33.0
Detector Description Toolkit for High Energy Physics
|
HepMC namespace declaration. More...
Classes | |
| class | EventHeader |
| HepMC EventHeader class used internally by the Geant4EventReaderHepMC plugin. More... | |
| class | EventStream |
| HepMC EventStream class used internally by the Geant4EventReaderHepMC plugin. More... | |
Enumerations | |
| enum | known_io { gen =1, ascii, extascii, ascii_pdt, extascii_pdt } |
| The known_io enum is used to track which type of input is being read. More... | |
Functions | |
| char | get_input (std::istream &is, std::istringstream &iline) |
| int | read_until_event_end (std::istream &is) |
| int | read_weight_names (EventStream &, std::istringstream &iline) |
| int | read_particle (EventStream &info, std::istringstream &iline, Geant4Particle *p) |
| int | read_vertex (EventStream &info, std::istream &is, std::istringstream &iline) |
| int | read_event_header (EventStream &info, std::istringstream &input, EventHeader &header) |
| int | read_cross_section (EventStream &info, std::istringstream &input) |
| int | read_units (EventStream &info, std::istringstream &input) |
| int | read_heavy_ion (EventStream &, std::istringstream &input) |
| int | read_pdf (EventStream &, std::istringstream &input) |
| Geant4Vertex * | vertex (EventStream &info, int i) |
| void | fix_particles (EventStream &info) |
HepMC namespace declaration.
The known_io enum is used to track which type of input is being read.
| Enumerator | |
|---|---|
| gen | |
| ascii | |
| extascii | |
| ascii_pdt | |
| extascii_pdt | |
Definition at line 138 of file Geant4EventReaderHepMC.cpp.
| void dd4hep::sim::HepMC::fix_particles | ( | EventStream & | info | ) |
Particles originating from the beam (=no parents) must be be stripped off their parents and the status set to G4PARTICLE_GEN_DECAYED!
Definition at line 301 of file Geant4EventReaderHepMC.cpp.
| char dd4hep::sim::HepMC::get_input | ( | std::istream & | is, |
| std::istringstream & | iline | ||
| ) |
Definition at line 368 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_cross_section | ( | EventStream & | info, |
| std::istringstream & | input | ||
| ) |
Definition at line 628 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_event_header | ( | EventStream & | info, |
| std::istringstream & | input, | ||
| EventHeader & | header | ||
| ) |
Definition at line 576 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_heavy_ion | ( | EventStream & | , |
| std::istringstream & | input | ||
| ) |
Definition at line 651 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_particle | ( | EventStream & | info, |
| std::istringstream & | iline, | ||
| Geant4Particle * | p | ||
| ) |
If there is an end vertex, the particle already decayed
Keep a copy of the full generator status
Definition at line 434 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_pdf | ( | EventStream & | , |
| std::istringstream & | input | ||
| ) |
Definition at line 677 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_units | ( | EventStream & | info, |
| std::istringstream & | input | ||
| ) |
Definition at line 633 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_until_event_end | ( | std::istream & | is | ) |
Definition at line 388 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_vertex | ( | EventStream & | info, |
| std::istream & | is, | ||
| std::istringstream & | iline | ||
| ) |
Definition at line 493 of file Geant4EventReaderHepMC.cpp.
| int dd4hep::sim::HepMC::read_weight_names | ( | EventStream & | , |
| std::istringstream & | iline | ||
| ) |
Definition at line 401 of file Geant4EventReaderHepMC.cpp.
| Geant4Vertex * dd4hep::sim::HepMC::vertex | ( | EventStream & | info, |
| int | i | ||
| ) |
Definition at line 363 of file Geant4EventReaderHepMC.cpp.
1.8.18