12 #include "HepMC/GenEvent.h" 14 #include "HepMC/Data/GenEventData.h" 15 #include "HepMC/Data/GenRunInfoData.h" 27 void GenEvent::Streamer(TBuffer &b){
33 b.ReadClassBuffer(TClass::GetClass(
"HepMC::GenEventData"), &data);
43 b.WriteClassBuffer(TClass::GetClass(
"HepMC::GenEventData"), &data);
48 void GenRunInfo::Streamer(TBuffer &b){
54 b.ReadClassBuffer(TClass::GetClass(
"HepMC::GenRunInfoData"), &data);
64 b.WriteClassBuffer(TClass::GetClass(
"HepMC::GenRunInfoData"), &data);
void read_data(const GenRunInfoData &data)
Fill GenRunInfo based on GenRunInfoData.
void read_data(const GenEventData &data)
Fill GenEvent based on GenEventData.
void write_data(GenRunInfoData &data) const
Fill GenRunInfoData object.
Definition of template class SmartPointer.
void write_data(GenEventData &data) const
Fill GenEventData object.