DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
HepMC EventStream class used internally by the Geant4EventReaderHepMC plugin. More...
Public Types | |
typedef std::map< int, Geant4Vertex * > | Vertices |
typedef std::map< int, Geant4Particle * > | Particles |
Public Member Functions | |
EventStream (std::istream &in) | |
Default constructor. More... | |
bool | ok () const |
Check if data stream is in proper state and has data. More... | |
Geant4Vertex * | vertex (int i) |
Particles & | particles () |
Vertices & | vertices () |
void | set_io (int typ, const std::string &k) |
void | use_default_units () |
bool | read () |
void | clear () |
Public Attributes | |
std::istream & | instream |
std::string | key |
double | mom_unit |
double | pos_unit |
int | io_type |
float | xsection |
float | xsection_err |
EventHeader | header |
Vertices | m_vertices |
Particles | m_particles |
HepMC EventStream class used internally by the Geant4EventReaderHepMC plugin.
Definition at line 147 of file Geant4EventReaderHepMC.cpp.
typedef std::map<int,Geant4Particle*> dd4hep::sim::HepMC::EventStream::Particles |
Definition at line 150 of file Geant4EventReaderHepMC.cpp.
typedef std::map<int,Geant4Vertex*> dd4hep::sim::HepMC::EventStream::Vertices |
Definition at line 149 of file Geant4EventReaderHepMC.cpp.
|
inline |
Default constructor.
Definition at line 165 of file Geant4EventReaderHepMC.cpp.
void HepMC::EventStream::clear | ( | ) |
Definition at line 723 of file Geant4EventReaderHepMC.cpp.
bool HepMC::EventStream::ok | ( | ) | const |
Check if data stream is in proper state and has data.
Definition at line 714 of file Geant4EventReaderHepMC.cpp.
|
inline |
Definition at line 171 of file Geant4EventReaderHepMC.cpp.
bool HepMC::EventStream::read | ( | ) |
Definition at line 728 of file Geant4EventReaderHepMC.cpp.
|
inline |
Definition at line 173 of file Geant4EventReaderHepMC.cpp.
|
inline |
Definition at line 175 of file Geant4EventReaderHepMC.cpp.
Geant4Vertex* dd4hep::sim::HepMC::EventStream::vertex | ( | int | i | ) |
|
inline |
Definition at line 172 of file Geant4EventReaderHepMC.cpp.
EventHeader dd4hep::sim::HepMC::EventStream::header |
Definition at line 160 of file Geant4EventReaderHepMC.cpp.
std::istream& dd4hep::sim::HepMC::EventStream::instream |
Definition at line 152 of file Geant4EventReaderHepMC.cpp.
int dd4hep::sim::HepMC::EventStream::io_type |
Definition at line 157 of file Geant4EventReaderHepMC.cpp.
std::string dd4hep::sim::HepMC::EventStream::key |
Definition at line 155 of file Geant4EventReaderHepMC.cpp.
Particles dd4hep::sim::HepMC::EventStream::m_particles |
Definition at line 162 of file Geant4EventReaderHepMC.cpp.
Vertices dd4hep::sim::HepMC::EventStream::m_vertices |
Definition at line 161 of file Geant4EventReaderHepMC.cpp.
double dd4hep::sim::HepMC::EventStream::mom_unit |
Definition at line 156 of file Geant4EventReaderHepMC.cpp.
double dd4hep::sim::HepMC::EventStream::pos_unit |
Definition at line 156 of file Geant4EventReaderHepMC.cpp.
float dd4hep::sim::HepMC::EventStream::xsection |
Definition at line 159 of file Geant4EventReaderHepMC.cpp.
float dd4hep::sim::HepMC::EventStream::xsection_err |
Definition at line 159 of file Geant4EventReaderHepMC.cpp.